#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. | |
| osg::Vec3 | getDim () |
| void | setDim (osg::Vec3) |
Protected Attributes | |
| osg::Vec3 | dim |
| osg::Box * | box |
| OSGBox | ( | float | lengthX, | |
| float | lengthY, | |||
| float | lengthZ | |||
| ) |
| Vec3 getDim | ( | ) |
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 | ) |
osg::Box* box [protected] |
1.5.8