17#ifndef GAZEBO_PHYSICS_CYLINDERSHAPE_HH_
18#define GAZEBO_PHYSICS_CYLINDERSHAPE_HH_
63 public:
virtual void SetSize(
double _radius,
double _length);
67 public:
virtual void SetScale(
const ignition::math::Vector3d &_scale);
71 public:
void FillMsg(msgs::Geometry &_msg);
75 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
Cylinder collision.
Definition CylinderShape.hh:33
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set scale of cylinder.
void Init()
Initialize the cylinder.
virtual ~CylinderShape()
Destructor.
virtual double ComputeVolume() const
Documentation inherited.
virtual void SetSize(double _radius, double _length)
Set the size of the cylinder.
void SetRadius(double _radius)
Set radius.
double GetRadius() const
Get radius.
void SetLength(double _length)
Set length.
CylinderShape(CollisionPtr _parent)
Constructor.
double GetLength() const
Get length.
virtual void ProcessMsg(const msgs::Geometry &_msg)
Update values based on a message.
void FillMsg(msgs::Geometry &_msg)
Fill in the values for a geomertry message.
Base class for all shapes.
Definition Shape.hh:40
boost::shared_ptr< Collision > CollisionPtr
Definition PhysicsTypes.hh:113
Forward declarations for the common classes.
Definition Animation.hh:27