24 #ifndef __BOUNDINGSHAPE_H
25 #define __BOUNDINGSHAPE_H
76 double scale,
char mode);
87 bool readBBoxFile(std::string& filename,
const OdeHandle& odeHandle,
const OsgHandle& osgHandle,
88 double scale,
char mode);
Data structure for accessing the ODE.
Definition: odehandle.h:44
virtual ~BoundingShape()
Definition: boundingshape.cpp:52
Matrixd Matrix
Definition: osgforwarddecl.h:47
virtual bool isActive()
Definition: boundingshape.cpp:129
Primitive * parent
Definition: boundingshape.h:93
std::string filename
Definition: boundingshape.h:91
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
bool attachedToParentBody
Definition: boundingshape.h:94
std::vector< Primitive * > boundingPrimitiveList
Definition: boundingshape.h:95
class for reading bounding shape description files (.bbox) and to create appropriate geoms ...
Definition: boundingshape.h:63
virtual void setPose(const osg::Matrix &pose)
updates all Primitives of the BoundingShape if only in geom mode (no Body)
Definition: boundingshape.cpp:56
dSpaceID parentSpace
Definition: boundingshape.h:98
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
std::vector< osg::Matrix > boundingPrimitivePoseList
Definition: boundingshape.h:96
Mesh primitive.
Definition: primitive.h:374
BoundingShape(const std::string &filename, Mesh *parent)
class for reading bounding shape description files (.bbox) and to create appropriate geoms File Forma...
Definition: boundingshape.cpp:47
OdeHandle odeHandle
Definition: boundingshape.h:97
bool active
Definition: boundingshape.h:92
virtual bool init(const OdeHandle &odeHandle, const OsgHandle &osgHandle, double scale, char mode)
tries to open the bbox file and greates all geoms
Definition: boundingshape.cpp:123