22 #ifndef _ODECOLLISION_HH_
23 #define _ODECOLLISION_HH_
49 public:
virtual void Load(sdf::ElementPtr _sdf);
52 public:
virtual void Fini();
57 public:
void SetCollision(dGeomID _collisionId,
bool _placeable);
61 public: dGeomID GetCollisionId()
const;
65 public:
int GetCollisionClass()
const;
68 public:
virtual void OnPoseChange();
71 public:
virtual void SetCategoryBits(
unsigned int bits);
74 public:
virtual void SetCollideBits(
unsigned int bits);
77 public:
virtual math::Box GetBoundingBox()
const;
81 public: dSpaceID GetSpaceId()
const;
85 public:
void SetSpaceId(dSpaceID _spaceid);
93 private:
void OnPoseChangeGlobal();
96 private:
void OnPoseChangeRelative();
99 private:
void OnPoseChangeNull();
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
Base class for all collision entities.
Definition: Collision.hh:44
Base class for all ODE collisions.
Definition: ODECollision.hh:39
Mathematical representation of a box and related functions.
Definition: Box.hh:35
boost::shared_ptr< ODESurfaceParams > ODESurfaceParamsPtr
Definition: ODETypes.hh:52
default namespace for gazebo
ODE wrapper forward declarations and typedefs.
dSpaceID spaceId
Collision space for this.
Definition: ODECollision.hh:102
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
dGeomID collisionId
ID for the collision.
Definition: ODECollision.hh:105