17 #ifndef _ODEBOXSHAPE_HH_
18 #define _ODEBOXSHAPE_HH_
47 public:
virtual void SetSize(
const ignition::math::Vector3d &_size)
53 this->collisionParent);
55 if (oParent->GetCollisionId() ==
nullptr)
58 dCreateBox(0, _size.X(), _size.Y(), _size.Z()),
true);
62 dGeomBoxSetLengths(oParent->GetCollisionId(),
63 _size.X(), _size.Y(), _size.Z());
ODE Box shape.
Definition: ODEBoxShape.hh:36
Base class for all ODE collisions.
Definition: ODECollision.hh:40
void SetCollision(dGeomID _collisionId, bool _placeable)
Set the encapsulated collision object.
boost::shared_ptr< ODECollision > ODECollisionPtr
Definition: ODETypes.hh:39
default namespace for gazebo
Box geometry primitive.
Definition: BoxShape.hh:34
ODE wrapper forward declarations and typedefs.
virtual void SetSize(const ignition::math::Vector3d &_size)
Set the size of the box.
virtual ~ODEBoxShape()
Destructor.
Definition: ODEBoxShape.hh:44
ODEBoxShape(ODECollisionPtr _parent)
Constructor.
Definition: ODEBoxShape.hh:40
virtual void SetSize(const ignition::math::Vector3d &_size)
Set the size of the box.
Definition: ODEBoxShape.hh:47