17#ifndef GAZEBO_PHYSICS_SPHERESHAPE_HH_
18#define GAZEBO_PHYSICS_SPHERESHAPE_HH_
43 public:
virtual void Init();
54 public:
virtual void SetScale(
const ignition::math::Vector3d &_scale);
58 public:
virtual void FillMsg(msgs::Geometry &_msg);
62 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
default namespace for gazebo
Base class for all shapes.
Definition Shape.hh:40
Sphere collision shape.
Definition SphereShape.hh:34
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set the scale of the shape.
virtual double ComputeVolume() const
Documentation inherited.
virtual void Init()
Initialize the sphere.
virtual ~SphereShape()
Destructor.
virtual void FillMsg(msgs::Geometry &_msg)
Fill in the values for a geomertry message.
virtual void SetRadius(double _radius)
Set the size.
double GetRadius() const
Get the sphere's radius.
SphereShape(CollisionPtr _parent)
Constructor.
virtual void ProcessMsg(const msgs::Geometry &_msg)
Process a geometry message.
boost::shared_ptr< Collision > CollisionPtr
Definition PhysicsTypes.hh:113
Forward declarations for the common classes.
Definition Animation.hh:27