#include <passivebox.h>
Inheritance diagram for PassiveBox:
Definition at line 46 of file passivebox.h.
Public Member Functions | |
PassiveBox (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const osg::Vec3 &dimension=osg::Vec3(1.0, 1.0, 1.0), double mass=1.0) | |
Constructor. | |
~PassiveBox () | |
virtual void | update () |
update position of box | |
virtual void | setTexture (const std::string &filename) |
virtual void | setPose (const osg::Matrix &pose) |
sets position of the obstacle and creates/recreates obstacle if necessary | |
virtual osg::Matrix | getPose () |
gives actual pose of the obstacle | |
virtual void | setPosition (const osg::Vec3 &pos) |
sets position of the box and creates/recreates it if necessary | |
virtual osg::Vec3 | getPosition () |
gives actual position of box | |
Protected Member Functions | |
virtual void | create () |
virtual void | destroy () |
|
Constructor.
Definition at line 64 of file passivebox.h. |
|
Definition at line 71 of file passivebox.h. |
|
Definition at line 118 of file passivebox.h. |
|
Definition at line 127 of file passivebox.h. |
|
gives actual pose of the obstacle
Implements AbstractObstacle. Definition at line 94 of file passivebox.h. |
|
gives actual position of box
Reimplemented from AbstractObstacle. Definition at line 113 of file passivebox.h. |
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle. Definition at line 86 of file passivebox.h. |
|
sets position of the box and creates/recreates it if necessary
Reimplemented from AbstractObstacle. Definition at line 101 of file passivebox.h. |
|
Definition at line 82 of file passivebox.h. |
|
update position of box
Implements AbstractObstacle. Definition at line 78 of file passivebox.h. |