17 #ifndef _ODEBOXSHAPE_HH_
18 #define _ODEBOXSHAPE_HH_
49 public:
virtual void SetSize(
const ignition::math::Vector3d &_size)
55 this->collisionParent);
57 if (oParent->GetCollisionId() ==
nullptr)
60 dCreateBox(0, _size.X(), _size.Y(), _size.Z()),
true);
64 dGeomBoxSetLengths(oParent->GetCollisionId(),
65 _size.X(), _size.Y(), _size.Z());
ODE Box shape.
Definition: ODEBoxShape.hh:38
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
virtual void SetSize(const math::Vector3 &_size) GAZEBO_DEPRECATED(8.0)
Set the size of the box.
Box geometry primitive.
Definition: BoxShape.hh:34
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 ignition::math::Vector3d &_size)
Set the size of the box.
Definition: ODEBoxShape.hh:49