OSGBoxTex Class Reference

Graphical box with Textures. More...

#include <osgprimitive.h>

Inherits lpzrobots::OSGPrimitive.

Collaboration diagram for OSGBoxTex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OSGBoxTex (float lengthX, float lengthY, float lengthZ)
 OSGBoxTex (osg::Vec3 dim)
virtual void init (const OsgHandle &osgHandle, Quality quality=Middle)
 Initialisation of the primitive.
virtual osg::Vec3 getDim () const
virtual void setDim (const osg::Vec3 &_dim)
virtual void setColor (const Color &color)
 sets the color for painting this primitive

Protected Member Functions

virtual void applyTextures ()
 this actually sets the textures, overwritten

Protected Attributes

osg::Vec3 dim
osg::ref_ptr< osg::Geode > faces [6]

Detailed Description

Graphical box with Textures.


Constructor & Destructor Documentation

OSGBoxTex ( float  lengthX,
float  lengthY,
float  lengthZ 
)
OSGBoxTex ( osg::Vec3  dim  ) 

Member Function Documentation

void applyTextures (  )  [protected, virtual]

this actually sets the textures, overwritten

Reimplemented from OSGPrimitive.

virtual osg::Vec3 getDim (  )  const [inline, virtual]
void init ( const OsgHandle osgHandle,
Quality  quality = Middle 
) [virtual]

Initialisation of the primitive.

Must in order to place the object into the scene. This function should be overloaded

Implements OSGPrimitive.

void setColor ( const Color color  )  [virtual]

sets the color for painting this primitive

Reimplemented from OSGPrimitive.

virtual void setDim ( const osg::Vec3 _dim  )  [inline, virtual]

Member Data Documentation

osg::Vec3 dim [protected]
osg::ref_ptr<osg::Geode> faces[6] [protected]

The documentation for this class was generated from the following files:
Generated on Thu Jun 28 14:48:49 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3