22 #ifndef _CYLINDERSHAPE_HH_
23 #define _CYLINDERSHAPE_HH_
57 public:
void SetRadius(
double _radius);
61 public:
void SetLength(
double _length);
65 public:
double GetRadius()
const;
69 public:
double GetLength()
const;
74 public:
virtual void SetSize(
double _radius,
double _length);
82 public:
void FillMsg(msgs::Geometry &_msg);
86 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
89 public:
virtual double ComputeVolume()
const;
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
Cylinder collision.
Definition: CylinderShape.hh:43
Base class for all shapes.
Definition: Shape.hh:46
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.