22 #ifndef _ODECOLLISION_HH_
23 #define _ODECOLLISION_HH_
51 public:
virtual void Load(sdf::ElementPtr _sdf);
54 public:
virtual void Fini();
59 public:
void SetCollision(dGeomID _collisionId,
bool _placeable);
63 public: dGeomID GetCollisionId()
const;
67 public:
int GetCollisionClass()
const;
70 public:
virtual void OnPoseChange();
73 public:
virtual void SetCategoryBits(
unsigned int bits);
76 public:
virtual void SetCollideBits(
unsigned int bits);
79 public:
virtual math::Box GetBoundingBox()
const;
83 public: dSpaceID GetSpaceId()
const;
87 public:
void SetSpaceId(dSpaceID _spaceid);
95 private:
void OnPoseChangeGlobal();
98 private:
void OnPoseChangeRelative();
101 private:
void OnPoseChangeNull();
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:109
Base class for all collision entities.
Definition: Collision.hh:44
Base class for all ODE collisions.
Definition: ODECollision.hh:41
Mathematical representation of a box and related functions.
Definition: Box.hh:35
dSpaceID spaceId
Collision space for this.
Definition: ODECollision.hh:104
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:107