PassiveMesh Class Reference

(Passive) mesh as obstacle More...

#include <passivemesh.h>

Inherits AbstractObstacle.

Inheritance diagram for PassiveMesh:

Inheritance graph
[legend]
Collaboration diagram for PassiveMesh:

Collaboration graph
[legend]
List of all members.

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 PrimitivegetMainPrimitive () const

Protected Member Functions

virtual void create ()
virtual void destroy ()

Protected Attributes

bool drawBoundings

Private Attributes

std::string filename
float scale
double mass
Meshmesh
GlobalData globalData

Detailed Description

(Passive) mesh as obstacle


Constructor & Destructor Documentation

PassiveMesh const OdeHandle odeHandle,
const OsgHandle osgHandle,
const std::string &  filename,
GlobalData globalData,
double  scale = 1.0,
double  mass = 1.0
[inline]
 

Constructor.

~PassiveMesh  )  [inline]
 


Member Function Documentation

virtual void create  )  [inline, protected, virtual]
 

Implements AbstractObstacle.

virtual void destroy  )  [inline, protected, virtual]
 

Implements AbstractObstacle.

virtual Primitive* getMainPrimitive  )  const [inline, 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]
 

update position of mesh

Implements AbstractObstacle.


Member Data Documentation

bool drawBoundings [protected]
 

std::string filename [private]
 

GlobalData globalData [private]
 

double mass [private]
 

Mesh* mesh [private]
 

float scale [private]
 


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