DART  6.10.1
dart::collision::detail::OdeGeom Class Reference

#include <OdeGeom.hpp>

Inheritance diagram for dart::collision::detail::OdeGeom:
dart::collision::detail::OdeBox dart::collision::detail::OdeCapsule dart::collision::detail::OdeCylinder dart::collision::detail::OdeHeightmap< S > dart::collision::detail::OdeMesh dart::collision::detail::OdePlane dart::collision::detail::OdeSphere

Public Member Functions

 OdeGeom (const OdeCollisionObject *collObj)
 Constructor. More...
 
virtual ~OdeGeom ()
 Destructor. More...
 
const OdeCollisionObjectgetParentCollisionObject () const
 Returns the parent collision object. More...
 
virtual void updateEngineData ()
 
dGeomID getOdeGeomId () const
 Returns the ODE geom ID associated to this object. More...
 
virtual bool isPlaceable () const
 Returns true if the ODE geom is placeable. More...
 

Protected Attributes

const OdeCollisionObjectmParentCollisionObject
 Parent collision object. More...
 
dGeomID mGeomId
 ODE geom ID associated with this object. More...
 

Constructor & Destructor Documentation

◆ OdeGeom()

dart::collision::detail::OdeGeom::OdeGeom ( const OdeCollisionObject collObj)

Constructor.

◆ ~OdeGeom()

dart::collision::detail::OdeGeom::~OdeGeom ( )
virtual

Destructor.

Member Function Documentation

◆ getOdeGeomId()

dGeomID dart::collision::detail::OdeGeom::getOdeGeomId ( ) const

Returns the ODE geom ID associated to this object.

◆ getParentCollisionObject()

const OdeCollisionObject * dart::collision::detail::OdeGeom::getParentCollisionObject ( ) const

Returns the parent collision object.

◆ isPlaceable()

bool dart::collision::detail::OdeGeom::isPlaceable ( ) const
virtual

Returns true if the ODE geom is placeable.

Reimplemented in dart::collision::detail::OdePlane.

◆ updateEngineData()

void dart::collision::detail::OdeGeom::updateEngineData ( )
virtual

Member Data Documentation

◆ mGeomId

dGeomID dart::collision::detail::OdeGeom::mGeomId
protected

ODE geom ID associated with this object.

This geom ID should be set by the concrete classes such as OdeBox and OdeSphere.

◆ mParentCollisionObject

const OdeCollisionObject* dart::collision::detail::OdeGeom::mParentCollisionObject
protected

Parent collision object.