OSGBox Class Reference

Graphical box. More...

#include <osgprimitive.h>

Inherits lpzrobots::OSGPrimitive.

Collaboration diagram for OSGBox:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OSGBox (float lengthX, float lengthY, float lengthZ)
 OSGBox (osg::Vec3 dim)
virtual void init (const OsgHandle &osgHandle, Quality quality=Middle)
 Initialisation of the primitive.
virtual osg::Vec3 getDim ()
virtual void setDim (osg::Vec3)

Protected Attributes

osg::Vec3 dim
osg::Box * box

Detailed Description

Graphical box.


Constructor & Destructor Documentation

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

Member Function Documentation

Vec3 getDim (  )  [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 setDim ( osg::Vec3  d  )  [virtual]

Member Data Documentation

osg::Box* box [protected]
osg::Vec3 dim [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