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:

Public Member Functions | |
| Geometry () | |
| virtual | ~Geometry () |
| virtual Geometry * | clone ()=0 |
| virtual RigidBody * | getOwner () |
| 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 |
| RigidBody * | owner |
| 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] |
Implemented in oops::Box, oops::Sphere, oops::Plane, oops::Capsule, oops::CompositeGeometry, and oops::TriangleMesh.
| virtual Geometry* oops::Geometry::clone | ( | ) | [pure virtual] |
Implemented in oops::Box, oops::Sphere, oops::Plane, oops::Capsule, oops::CompositeGeometry, and oops::TriangleMesh.
| 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] |
Implemented in oops::Box, oops::Sphere, oops::Plane, oops::Capsule, oops::CompositeGeometry, and oops::TriangleMesh.
| 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] |
bool oops::Geometry::isPartOfComposite [protected] |
materials::MATERIAL oops::Geometry::material [protected] |
RigidBody* oops::Geometry::owner [protected] |
The documentation for this class was generated from the following files:
- tools/libraries/oops/include/oops/Geometries.h
- tools/libraries/oops/src/oops/Geometries.cpp
Generated on Wed Oct 20 16:12:03 2010 for inVRs by
1.5.8