|
DART 6.12.2
|
#include <CollisionObject.hpp>
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. | |
Protected Attributes | |
| CollisionDetector * | mCollisionDetector |
| Collision detector. | |
| const dynamics::ShapeFrame * | mShapeFrame |
| ShapeFrame. | |
Friends | |
| class | CollisionGroup |
|
virtualdefault |
Destructor.
|
protected |
Contructor.
| CollisionDetector * dart::collision::CollisionObject::getCollisionDetector | ( | ) |
Return collision detection engine associated with this CollisionObject.
| const CollisionDetector * dart::collision::CollisionObject::getCollisionDetector | ( | ) | const |
Return collision detection engine associated with this CollisionObject.
| dynamics::ConstShapePtr dart::collision::CollisionObject::getShape | ( | ) | const |
Return the associated Shape.
| const dynamics::ShapeFrame * dart::collision::CollisionObject::getShapeFrame | ( | ) | const |
Return the associated ShapeFrame.
| const Eigen::Isometry3d & dart::collision::CollisionObject::getTransform | ( | ) | const |
Return the transformation of this CollisionObject in world coordinates.
|
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::DARTCollisionObject, dart::collision::FCLCollisionObject, and dart::collision::OdeCollisionObject.
|
friend |
|
protected |
Collision detector.
|
protected |
ShapeFrame.