22 #ifndef _ODECOLLISION_HH_
23 #define _ODECOLLISION_HH_
50 public:
virtual void Load(sdf::ElementPtr _sdf);
53 public:
virtual void Fini();
58 public:
void SetCollision(dGeomID _collisionId,
bool _placeable);
62 public: dGeomID GetCollisionId()
const;
66 public:
int GetCollisionClass()
const;
69 public:
virtual void OnPoseChange();
72 public:
virtual void SetCategoryBits(
unsigned int bits);
75 public:
virtual void SetCollideBits(
unsigned int bits);
78 public:
virtual ignition::math::Box BoundingBox()
const;
82 public: dSpaceID GetSpaceId()
const;
86 public:
void SetSpaceId(dSpaceID _spaceid);
94 private:
void OnPoseChangeGlobal();
97 private:
void OnPoseChangeRelative();
100 private:
void OnPoseChangeNull();
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:109
Base class for all collision entities.
Definition: Collision.hh:38
Base class for all ODE collisions.
Definition: ODECollision.hh:40
dSpaceID spaceId
Collision space for this.
Definition: ODECollision.hh:103
default namespace for gazebo
ODE wrapper forward declarations and typedefs.
boost::shared_ptr< ODESurfaceParams > ODESurfaceParamsPtr
Definition: ODETypes.hh:55
dGeomID collisionId
ID for the collision.
Definition: ODECollision.hh:106