DART  6.7.3
dart::collision::detail::OdeCylinder Class Reference

#include <OdeCylinder.hpp>

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

Public Member Functions

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

◆ OdeCylinder()

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

Constructor.

◆ ~OdeCylinder()

dart::collision::detail::OdeCylinder::~OdeCylinder ( )
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.