17 #ifndef _ODESPHERESHAPE_HH_
18 #define _ODESPHERESHAPE_HH_
47 boost::dynamic_pointer_cast<
ODECollision>(this->collisionParent);
50 if (oParent->GetCollisionId() ==
NULL)
53 dGeomSphereSetRadius(oParent->GetCollisionId(), _radius);
Base class for all ODE collisions.
Definition: ODECollision.hh:39
ODESphereShape(ODECollisionPtr _parent)
Constructor.
Definition: ODESphereShape.hh:35
default namespace for gazebo
virtual void SetRadius(double _radius)
Set the size.
Definition: ODESphereShape.hh:42
void SetCollision(dGeomID _collisionId, bool _placeable)
Set the encapsulated collsion object.
#define NULL
Definition: CommonTypes.hh:30
boost::shared_ptr< ODECollision > ODECollisionPtr
Definition: ODETypes.hh:36
A ODE sphere shape.
Definition: ODESphereShape.hh:31
virtual void SetRadius(double _radius)
Set the size.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
virtual ~ODESphereShape()
Destructor.
Definition: ODESphereShape.hh:39
Sphere collision shape.
Definition: SphereShape.hh:38