PassiveBox Class Reference

(Passive) box as obstacle More...

#include <passivebox.h>

Inherits AbstractObstacle.

Inheritance diagram for PassiveBox:

Inheritance graph
[legend]
Collaboration diagram for PassiveBox:

Collaboration graph
[legend]
List of all members.

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

Protected Member Functions

virtual void create ()
virtual void destroy ()

Detailed Description

(Passive) box as obstacle


Constructor & Destructor Documentation

PassiveBox ( const OdeHandle odeHandle,
const OsgHandle osgHandle,
const osg::Vec3 dimension = osg::Vec3(1.0, 1.0, 1.0),
double  mass = 1.0 
) [inline]

Constructor.

~PassiveBox (  )  [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 setTexture ( const std::string &  filename  )  [inline, virtual]

virtual void update (  )  [inline, virtual]

update position of box

Implements AbstractObstacle.


The documentation for this class was generated from the following file:
Generated on Mon Aug 7 16:52:40 2006 for Robotsystem of the Robot Group Leipzig by  doxygen 1.4.7