OSGDummy Class Reference

A dummy graphical object, which has no representation in the graphical world. More...

#include <osgprimitive.h>

Inherits OSGPrimitive.

Inheritance diagram for OSGDummy:

Inheritance graph
[legend]
Collaboration diagram for OSGDummy:

Collaboration graph
[legend]
List of all members.

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;

Detailed Description

A dummy graphical object, which has no representation in the graphical world.


Constructor & Destructor Documentation

OSGDummy  ) 
 


Member Function Documentation

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.

void init const OsgHandle osgHandle,
Quality  quality = Middle
[virtual]
 

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.


The documentation for this class was generated from the following files:
Generated on Tue Jan 16 02:14:52 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8