#include <meshobstacle.h>
Inherits AbstractObstacle.
Inheritance diagram for MeshObstacle:
Public Member Functions | |
MeshObstacle (const OdeHandle &odeHandle, const OsgHandle &osgHandle, std::string filename, double scale=1) | |
virtual void | update () |
updates the position of the geoms ( not nessary for static objects) | |
virtual void | setPose (const osg::Matrix &pose) |
sets position of the obstacle and creates/recreates obstacle if necessary | |
Protected Member Functions | |
virtual void | create () |
virtual void | destroy () |
Protected Attributes | |
std::string | filename |
float | scale |
OSGMesh * | mesh |
Sphere * | bound |
BoundingShape * | boundshape |
|
|
|
Implements AbstractObstacle.
|
|
Implements AbstractObstacle.
|
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
|
|
updates the position of the geoms ( not nessary for static objects)
Implements AbstractObstacle.
|
|
|
|
|
|
|
|
|
|
|