#include <osgprimitive.h>
Inherits OSGPrimitive.
Inheritance diagram for OSGDummy:
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; |
|
|
|
returns the group object which is the root of all subcomponents of this primitive
Reimplemented from OSGPrimitive.
|
|
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.
|
|
sets the color for painting this primitive
Reimplemented from OSGPrimitive.
|
|
Sets the transformation matrix of this object (position and orientation).
Reimplemented from OSGPrimitive.
|
|
assigns a texture to the primitive
Reimplemented from OSGPrimitive.
|