dart
|
Public Member Functions | |
virtual | ~OdeCollisionObject () |
Destructor. | |
![]() | |
virtual | ~CollisionObject ()=default |
Destructor. | |
CollisionDetector * | getCollisionDetector () |
Return collision detection engine associated with this CollisionObject. | |
const CollisionDetector * | getCollisionDetector () const |
Return collision detection engine associated with this CollisionObject. | |
const dynamics::ShapeFrame * | getShapeFrame () const |
Return the associated ShapeFrame. | |
dynamics::ConstShapePtr | getShape () const |
Return the associated Shape. | |
const Eigen::Isometry3d & | getTransform () const |
Return the transformation of this CollisionObject in world coordinates. | |
Protected Member Functions | |
OdeCollisionObject (OdeCollisionDetector *collisionDetector, const dynamics::ShapeFrame *shapeFrame) | |
Constructor. | |
OdeCollisionObject & | operator= (OdeCollisionObject &&other) |
Move assignment operator. More... | |
void | updateEngineData () override |
Update the collision object of the collision detection engine. More... | |
dBodyID | getOdeBodyId () const |
Returns the ODE body id associated to this object. | |
dGeomID | getOdeGeomId () const |
Returns the ODE body id associated to this object. | |
![]() | |
CollisionObject (CollisionDetector *collisionDetector, const dynamics::ShapeFrame *shapeFrame) | |
Contructor. | |
Protected Attributes | |
std::unique_ptr< detail::OdeGeom > | mOdeGeom |
ODE geom. | |
dBodyID | mBodyId |
ODE body id associated with this object. More... | |
![]() | |
CollisionDetector * | mCollisionDetector |
Collision detector. | |
const dynamics::ShapeFrame * | mShapeFrame |
ShapeFrame. | |
Friends | |
class | OdeCollisionDetector |
class | OdeCollisionGroup |
|
protected |
Move assignment operator.
This is used to refresh OdeCollisionObjects when their underlying shape information needs to be updated.
|
overrideprotectedvirtual |
Update the collision object of the collision detection engine.
This function will be called ahead of every collision checking by CollisionGroup.
Implements dart::collision::CollisionObject.
|
protected |
ODE body id associated with this object.
If the ODE geom type is immobile, this is nullptr.