#include <passivebox.h>
Inherits AbstractObstacle.
Inheritance diagram for PassiveBox:


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 Primitive * | getMainPrimitive () const |
Protected Member Functions | |
| virtual void | create () |
| virtual void | destroy () |
Private Attributes | |
| osg::Vec3 | dimension |
| double | mass |
| int | texture |
| Box * | box |
|
||||||||||||||||||||
|
Constructor.
|
|
|
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
|
|
|
|
|
|
update position of box
Implements AbstractObstacle.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8