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.
osg::Vec3 getDim ()
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 (  ) 
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  ) 

Member Data Documentation

osg::Box* box [protected]
osg::Vec3 dim [protected]

The documentation for this class was generated from the following files:
Generated on Fri Nov 4 10:59:40 2011 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3