A dummy graphical object, which has no representation in the graphical world. More...
#include <osgprimitive.h>
Inherits lpzrobots::OSGPrimitive.

Public Member Functions | |
| OSGDummy () | |
| virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle) |
| Initialisation of the primitive. | |
| virtual void | setMatrix (const osg::Matrix &m4x4) |
| Sets the transformation matrix of this object (position and orientation). | |
| virtual osg::Group * | getGroup () |
| returns the group object which is the root of all subcomponents of this primitive | |
| virtual void | setTexture (const std::string &filename) |
| assigns a texture to the primitive | |
| virtual void | setColor (const Color &color) |
| sets the color for painting this primitive | |
| virtual osg::Transform * | getTransform () |
| returns a osg transformation object; | |
A dummy graphical object, which has no representation in the graphical world.
| OSGDummy | ( | ) |
| Group * getGroup | ( | ) | [virtual] |
returns the group object which is the root of all subcomponents of this primitive
Reimplemented from OSGPrimitive.
| Transform * getTransform | ( | ) | [virtual] |
returns a osg transformation object;
Reimplemented from OSGPrimitive.
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.
| void setMatrix | ( | const osg::Matrix & | m4x4 | ) | [virtual] |
Sets the transformation matrix of this object (position and orientation).
Reimplemented from OSGPrimitive.
| void setTexture | ( | const std::string & | filename | ) | [virtual] |
assigns a texture to the primitive
Reimplemented from OSGPrimitive.
1.6.3