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

#include <OdeCapsule.hpp>

Inheritance diagram for dart::collision::detail::OdeCapsule:
dart::collision::detail::OdeGeom

Public Member Functions

 OdeCapsule (const OdeCollisionObject *parent, double radius, double height)
 Constructor. More...
 
virtual ~OdeCapsule ()
 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

◆ OdeCapsule()

dart::collision::detail::OdeCapsule::OdeCapsule ( const OdeCollisionObject parent,
double  radius,
double  height 
)

Constructor.

◆ ~OdeCapsule()

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

Destructor.

Member Function Documentation

◆ getOdeGeomId()

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

Returns the ODE geom ID associated to this object.

◆ getParentCollisionObject()

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

Returns the parent collision object.

◆ isPlaceable()

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

Returns true if the ODE geom is placeable.

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

◆ updateEngineData()

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

Member Data Documentation

◆ mGeomId

dGeomID dart::collision::detail::OdeGeom::mGeomId
protectedinherited

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
protectedinherited

Parent collision object.