Go to the documentation of this file.
17 #ifndef GAZEBO_PHYSICS_SPHERESHAPE_HH_
18 #define GAZEBO_PHYSICS_SPHERESHAPE_HH_
43 public:
virtual void Init();
47 public:
virtual void SetRadius(
double _radius);
51 public:
double GetRadius()
const;
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);
65 public:
virtual double ComputeVolume()
const;
virtual void Init()
Initialize the sphere.
Forward declarations for the common classes.
Definition: Animation.hh:26
virtual void SetRadius(double _radius)
Set the size.
virtual ~SphereShape()
Destructor.
Sphere collision shape.
Definition: SphereShape.hh:33
default namespace for gazebo
virtual double ComputeVolume() const
Documentation inherited.
SphereShape(CollisionPtr _parent)
Constructor.
double GetRadius() const
Get the sphere's radius.
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set the scale of the shape.
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113
virtual void ProcessMsg(const msgs::Geometry &_msg)
Process a geometry message.
virtual void FillMsg(msgs::Geometry &_msg)
Fill in the values for a geomertry message.
Base class for all shapes.
Definition: Shape.hh:39