oops::Geometry Class Reference

#include <Geometries.h>

Inherited by oops::Box, oops::Capsule, oops::CompositeGeometry, oops::Plane, oops::Sphere, and oops::TriangleMesh.

Collaboration diagram for oops::Geometry:

List of all members.


Public Member Functions

 Geometry ()
virtual ~Geometry ()
virtual Geometryclone ()=0
virtual RigidBodygetOwner ()
dGeomID getODEGeometry ()
void setId (unsigned int id)
unsigned int getId ()
void setMaterial (materials::MATERIAL mat)
materials::MATERIAL getMaterial ()
virtual bool setContactParam (dContact &contact, Geometry *geom2, bool firstGeometry)
virtual void build (dSpaceID space)=0
virtual void attachGeom (dBodyID body)
virtual void positionGeometry (gmtl::Vec3f pos, gmtl::Quatf ori)
virtual void destroy ()
virtual dMass & setMass (float mass, dMass &m)=0

Protected Member Functions

virtual void cloneData (Geometry *dst)
virtual void finalizeInitialization ()

Protected Attributes

unsigned int id
dGeomID geom
materials::MATERIAL material
RigidBodyowner
bool isPartOfComposite

Friends

class RigidBody

Constructor & Destructor Documentation

oops::Geometry::Geometry (  ) 

oops::Geometry::~Geometry (  )  [virtual]


Member Function Documentation

void oops::Geometry::attachGeom ( dBodyID  body  )  [virtual]

Reimplemented in oops::CompositeGeometry.

virtual void oops::Geometry::build ( dSpaceID  space  )  [pure virtual]

virtual Geometry* oops::Geometry::clone (  )  [pure virtual]

void oops::Geometry::cloneData ( Geometry dst  )  [protected, virtual]

void oops::Geometry::destroy (  )  [virtual]

Reimplemented in oops::CompositeGeometry.

void oops::Geometry::finalizeInitialization (  )  [protected, virtual]

Reimplemented in oops::CompositeGeometry.

unsigned int oops::Geometry::getId (  ) 

materials::MATERIAL oops::Geometry::getMaterial (  ) 

dGeomID oops::Geometry::getODEGeometry (  ) 

RigidBody * oops::Geometry::getOwner (  )  [virtual]

void oops::Geometry::positionGeometry ( gmtl::Vec3f  pos,
gmtl::Quatf  ori 
) [virtual]

Reimplemented in oops::CompositeGeometry.

bool oops::Geometry::setContactParam ( dContact &  contact,
Geometry geom2,
bool  firstGeometry 
) [virtual]

void oops::Geometry::setId ( unsigned int  id  ) 

virtual dMass& oops::Geometry::setMass ( float  mass,
dMass &  m 
) [pure virtual]

void oops::Geometry::setMaterial ( materials::MATERIAL  mat  ) 


Friends And Related Function Documentation

friend class RigidBody [friend]


Member Data Documentation

dGeomID oops::Geometry::geom [protected]

unsigned int oops::Geometry::id [protected]


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:12:03 2010 for inVRs by doxygen 1.5.8