22#ifndef GAZEBO_PHYSICS_BULLET_BULLETCOLLISION_HH_
23#define GAZEBO_PHYSICS_BULLET_BULLETCOLLISION_HH_
32class btCollisionShape;
52 public:
virtual void Load(sdf::ElementPtr _ptr);
80 bool _placeable =
true);
96 private:
unsigned int categoryBits;
99 private:
unsigned int collideBits;
Bullet wrapper forward declarations and typedefs.
default namespace for gazebo
Bullet collisions.
Definition BulletCollision.hh:44
virtual void Load(sdf::ElementPtr _ptr)
Load the collision.
BulletCollision(LinkPtr _parent)
Constructor.
virtual ignition::math::Box BoundingBox() const
Get the bounding box for this collision.
BulletSurfaceParamsPtr GetBulletSurface() const
Similar to Collision::GetSurface, but provides dynamically casted pointer to BulletSurfaceParams.
void SetCompoundShapeIndex(int _index)
Set the index of the compound shape.
void SetCollisionShape(btCollisionShape *_shape, bool _placeable=true)
Set the collision shape.
virtual void SetCollideBits(unsigned int _bits)
Set the collide bits, used during collision detection.
virtual ~BulletCollision()
Destructor.
virtual unsigned int GetCollideBits() const
Get the collide bits, used during collision detection.
virtual void SetCategoryBits(unsigned int _bits)
Set the category bits, used during collision detection.
virtual unsigned int GetCategoryBits() const
Get the category bits, used during collision detection.
virtual void OnPoseChange()
On pose change.
btCollisionShape * collisionShape
Definition BulletCollision.hh:93
btCollisionShape * GetCollisionShape() const
Get the bullet collision shape.
Base class for all collision entities.
Definition Collision.hh:39
boost::shared_ptr< Link > LinkPtr
Definition PhysicsTypes.hh:109
boost::shared_ptr< BulletSurfaceParams > BulletSurfaceParamsPtr
Definition BulletTypes.hh:46
Forward declarations for the common classes.
Definition Animation.hh:27