PrimitiveComponent Class Reference

Component consisting of one Primitive. More...

#include <primitivecomponent.h>

Collaboration diagram for PrimitiveComponent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PrimitiveComponent (Primitive *p, const OdeHandle &odeHandle, const OsgHandle &osgHandle, const ComponentConf &conf)
 ~PrimitiveComponent ()
virtual void update ()
virtual void place (const Pos &pos)
virtual void place (const osg:Matrix &)
virtual Position getPosition () const
virtual PrimitivegetMainPrimitive () const
 return reference to the simple Primitive, or to the main Primitive of the robot assigend to the component.

Protected Attributes

Primitiveprimitive

Detailed Description

Component consisting of one Primitive.


Constructor & Destructor Documentation

PrimitiveComponent ( Primitive p,
const OdeHandle odeHandle,
const OsgHandle osgHandle,
const ComponentConf &  conf 
)

Member Function Documentation

virtual Primitive* getMainPrimitive (  )  const [virtual]

return reference to the simple Primitive, or to the main Primitive of the robot assigend to the component.

If nothimng is assigned, NULL is returned.

virtual Position getPosition (  )  const [virtual]
virtual void place ( const osg:Matrix &   )  [virtual]
virtual void place ( const Pos pos  )  [virtual]
virtual void update (  )  [virtual]

Member Data Documentation

Primitive* primitive [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 28 14:48:57 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3