#include <osgprimitive.h>
Inherits OSGPrimitive.
Inheritance diagram for OSGDummy:
Public Member Functions | |
OSGDummy () | |
virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle) |
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; |
OSGDummy | ( | ) |
Group * getGroup | ( | ) | [virtual] |
returns the group object which is the root of all subcomponents of this primitive
Reimplemented from OSGPrimitive.
Transform * getTransform | ( | ) | [virtual] |
void setColor | ( | const Color & | color | ) | [virtual] |
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] |