Graphical box. More...
#include <osgprimitive.h>
Inherits lpzrobots::OSGPrimitive.
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 |
Graphical box.
OSGBox | ( | float | lengthX, | |
float | lengthY, | |||
float | lengthZ | |||
) |
Vec3 getDim | ( | ) | [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] |
osg::Box* box [protected] |