- gazebo
- physics
- ODECollision
Base class for all ODE collisions. More...
#include <ODECollision.hh>

Public Member Functions | |
| ODECollision (LinkPtr link) | |
| Constructor. | |
| virtual | ~ODECollision () |
| Destructor. | |
| virtual void | Load (sdf::ElementPtr &_sdf) |
| Load the collision. | |
| void | Fini () |
| Finalize the collision. | |
| void | SetCollision (dGeomID collisionId, bool placeable) |
| Set the encapsulated geometry object. | |
| dGeomID | GetCollisionId () const |
| Return the collision id. | |
| int | GetCollisionClass () const |
| Get the ODE collision class. | |
| virtual void | OnPoseChange () |
| This function is called when the entity's (or one of its parents) pose of the parent has changed. | |
| virtual void | SetCategoryBits (unsigned int bits) |
| Set the category bits, used during collision detection. | |
| virtual void | SetCollideBits (unsigned int bits) |
| Set the collide bits, used during collision detection. | |
| virtual math::Box | GetBoundingBox () const |
| Get the bounding box, defined by the physics engine. | |
| dSpaceID | GetSpaceId () const |
| Get the collision's space ID. | |
| void | SetSpaceId (dSpaceID spaceid) |
| Set the collision's space ID. | |
Protected Attributes | |
| dSpaceID | spaceId |
| dGeomID | collisionId |
| ID for the sub-collision. | |
Base class for all ODE collisions.
| dGeomID GetCollisionId | ( | ) | const |
Return the collision id.
| virtual void SetCategoryBits | ( | unsigned int | bits | ) | [virtual] |
Set the category bits, used during collision detection.
| bits | The bits |
Implements Collision.
| virtual void SetCollideBits | ( | unsigned int | bits | ) | [virtual] |
Set the collide bits, used during collision detection.
| bits | The bits |
Implements Collision.
1.7.5.1