17 #ifndef _ODEBOXSHAPE_HH_
18 #define _ODEBOXSHAPE_HH_
55 this->collisionParent);
57 if (oParent->GetCollisionId() ==
NULL)
60 dGeomBoxSetLengths(oParent->GetCollisionId(),
61 _size.
x, _size.
y, _size.
z);
double x
X location.
Definition: Vector3.hh:311
double y
Y location.
Definition: Vector3.hh:314
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
ODE Box shape.
Definition: ODEBoxShape.hh:38
Base class for all ODE collisions.
Definition: ODECollision.hh:41
void SetCollision(dGeomID _collisionId, bool _placeable)
Set the encapsulated collsion object.
boost::shared_ptr< ODECollision > ODECollisionPtr
Definition: ODETypes.hh:39
virtual void SetSize(const math::Vector3 &_size)
Set the size of the box.
Definition: ODEBoxShape.hh:49
default namespace for gazebo
double z
Z location.
Definition: Vector3.hh:317
Box geometry primitive.
Definition: BoxShape.hh:37
#define NULL
Definition: CommonTypes.hh:31
ODE wrapper forward declarations and typedefs.
virtual ~ODEBoxShape()
Destructor.
Definition: ODEBoxShape.hh:46
ODEBoxShape(ODECollisionPtr _parent)
Constructor.
Definition: ODEBoxShape.hh:42
virtual void SetSize(const math::Vector3 &_size)
Set the size of the box.