MeshObstacle Class Reference

#include <meshobstacle.h>

Inherits AbstractObstacle.

Inheritance diagram for MeshObstacle:

Inheritance graph
[legend]
Collaboration diagram for MeshObstacle:

Collaboration graph
[legend]
List of all members.

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
OSGMeshmesh
Spherebound
BoundingShapeboundshape

Constructor & Destructor Documentation

MeshObstacle const OdeHandle odeHandle,
const OsgHandle osgHandle,
std::string  filename,
double  scale = 1
[inline]
 


Member Function Documentation

virtual void create  )  [inline, protected, virtual]
 

Implements AbstractObstacle.

virtual void destroy  )  [inline, protected, virtual]
 

Implements AbstractObstacle.

virtual void setPose const osg::Matrix pose  )  [inline, virtual]
 

sets position of the obstacle and creates/recreates obstacle if necessary

Implements AbstractObstacle.

virtual void update  )  [inline, virtual]
 

updates the position of the geoms ( not nessary for static objects)

Implements AbstractObstacle.


Member Data Documentation

Sphere* bound [protected]
 

BoundingShape* boundshape [protected]
 

std::string filename [protected]
 

OSGMesh* mesh [protected]
 

float scale [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 16 02:14:50 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8