DART  6.6.2
dart::collision::detail::OdeSphere Class Reference

#include <OdeSphere.hpp>

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

Public Member Functions

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

◆ OdeSphere()

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

Constructor.

◆ ~OdeSphere()

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