#include <passivemesh.h>
Inherits AbstractObstacle.
Inheritance diagram for PassiveMesh:


Public Member Functions | |
| PassiveMesh (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const std::string &filename, GlobalData &globalData, double scale=1.0, double mass=1.0) | |
| Constructor. | |
| ~PassiveMesh () | |
| virtual void | update () |
| update position of mesh | |
| 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 () |
Protected Attributes | |
| bool | drawBoundings |
Private Attributes | |
| std::string | filename |
| float | scale |
| double | mass |
| Mesh * | mesh |
| GlobalData | globalData |
|
||||||||||||||||||||||||||||
|
Constructor.
|
|
|
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
Implements AbstractObstacle.
|
|
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
|
|
|
update position of mesh
Implements AbstractObstacle.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8