DART  6.10.1
dart::collision::detail::OdeHeightmap< S > Class Template Reference

#include <OdeHeightmap.hpp>

Inheritance diagram for dart::collision::detail::OdeHeightmap< S >:
dart::collision::detail::OdeGeom

Public Member Functions

 OdeHeightmap (const OdeCollisionObject *parent, const dynamics::HeightmapShape< S > *hs)
 Constructor. More...
 
 ~OdeHeightmap () override
 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...
 

Private Attributes

dHeightfieldDataID mOdeHeightfieldId
 

Constructor & Destructor Documentation

◆ OdeHeightmap()

template<typename S >
dart::collision::detail::OdeHeightmap< S >::OdeHeightmap ( const OdeCollisionObject parent,
const dynamics::HeightmapShape< S > *  hs 
)

Constructor.

◆ ~OdeHeightmap()

template<typename S >
dart::collision::detail::OdeHeightmap< S >::~OdeHeightmap
override

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.

◆ mOdeHeightfieldId

template<typename S >
dHeightfieldDataID dart::collision::detail::OdeHeightmap< S >::mOdeHeightfieldId
private

◆ mParentCollisionObject

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

Parent collision object.