#include <primitivecomponent.h>
Inherits Component.
Inheritance diagram for PrimitiveComponent:


Public Member Functions | |
| PrimitiveComponent (Primitive *p, const OdeHandle &odeHandle, const OsgHandle &osgHandle, const ComponentConf &conf) | |
| ~PrimitiveComponent () | |
| virtual void | update () |
| update the OSG notes here | |
| virtual void | place (const Pos &pos) |
| sets the vehicle to position pos | |
| virtual void | place (const osg:Matrix &) |
| virtual Position | getPosition () const |
| returns position of the object | |
| virtual Primitive * | getMainPrimitive () const |
| return reference to the simple Primitive, or to the main Primitive of the robot assigend to the component. | |
Protected Attributes | |
| Primitive * | primitive |
| PrimitiveComponent | ( | Primitive * | p, | |
| const OdeHandle & | odeHandle, | |||
| const OsgHandle & | osgHandle, | |||
| const ComponentConf & | conf | |||
| ) |
| ~PrimitiveComponent | ( | ) |
| virtual Primitive* getMainPrimitive | ( | ) | const [virtual] |
| virtual Position getPosition | ( | ) | const [virtual] |
| virtual void place | ( | const osg:Matrix & | ) | [virtual] |
| virtual void place | ( | const Pos & | pos | ) | [virtual] |
sets the vehicle to position pos
| pos | desired position of the robot |
Implements Component.
| virtual void update | ( | ) | [virtual] |
1.4.7