22 #ifndef _ODECOLLISION_HH_ 23 #define _ODECOLLISION_HH_ 52 public:
virtual void Load(sdf::ElementPtr _sdf);
55 public:
virtual void Fini();
60 public:
void SetCollision(dGeomID _collisionId,
bool _placeable);
64 public: dGeomID GetCollisionId()
const;
68 public:
int GetCollisionClass()
const;
71 public:
virtual void OnPoseChange();
74 public:
virtual void SetCategoryBits(
unsigned int bits);
77 public:
virtual void SetCollideBits(
unsigned int bits);
80 public:
virtual math::Box GetBoundingBox()
const;
84 public: dSpaceID GetSpaceId()
const;
88 public:
void SetSpaceId(dSpaceID _spaceid);
96 private:
void OnPoseChangeGlobal();
99 private:
void OnPoseChangeRelative();
102 private:
void OnPoseChangeNull();
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
Forward declarations for the common classes.
Definition: Animation.hh:33
Base class for all collision entities.
Definition: Collision.hh:44
Base class for all ODE collisions.
Definition: ODECollision.hh:42
Mathematical representation of a box and related functions.
Definition: Box.hh:35
dSpaceID spaceId
Collision space for this.
Definition: ODECollision.hh:105
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:108