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