dart
|
Public Member Functions | |
btCollisionObject * | getBulletCollisionObject () |
Return Bullet collision object. | |
const btCollisionObject * | getBulletCollisionObject () const |
Return Bullet collision object. | |
![]() | |
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 | |
BulletCollisionObject (CollisionDetector *collisionDetector, const dynamics::ShapeFrame *shapeFrame, const std::shared_ptr< BulletCollisionShape > &bulletCollisionShape) | |
Constructor. | |
void | updateEngineData () override |
Update the collision object of the collision detection engine. More... | |
![]() | |
CollisionObject (CollisionDetector *collisionDetector, const dynamics::ShapeFrame *shapeFrame) | |
Contructor. | |
Protected Attributes | |
std::shared_ptr< BulletCollisionShape > | mBulletCollisionShape |
Bullet collision object. | |
std::unique_ptr< btCollisionObject > | mBulletCollisionObject |
![]() | |
CollisionDetector * | mCollisionDetector |
Collision detector. | |
const dynamics::ShapeFrame * | mShapeFrame |
ShapeFrame. | |
Friends | |
class | BulletCollisionDetector |
|
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.