dart
|
Public Member Functions | |
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 | |
CollisionObject (CollisionDetector *collisionDetector, const dynamics::ShapeFrame *shapeFrame) | |
Contructor. | |
virtual void | updateEngineData ()=0 |
Update the collision object of the collision detection engine. More... | |
Protected Attributes | |
CollisionDetector * | mCollisionDetector |
Collision detector. | |
const dynamics::ShapeFrame * | mShapeFrame |
ShapeFrame. | |
Friends | |
class | CollisionGroup |
|
protectedpure virtual |
Update the collision object of the collision detection engine.
This function will be called ahead of every collision checking by CollisionGroup.
Implemented in dart::collision::BulletCollisionObject, dart::collision::OdeCollisionObject, dart::collision::FCLCollisionObject, and dart::collision::DARTCollisionObject.