17 #ifndef _GAZEBO_POLYLINESHAPE_HH_
18 #define _GAZEBO_POLYLINESHAPE_HH_
42 public:
virtual void Init();
46 public: std::vector<math::Vector2d> GetVertices()
const;
50 public:
double GetHeight()
const;
54 public:
void FillMsg(msgs::Geometry &_msg);
58 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
67 private:
virtual void SetVertices(
68 const std::vector<math::Vector2d> &_vertices);
72 private:
virtual void SetVertices(
const msgs::Geometry &_msg);
78 private:
void SetPolylineShape(
const double &_height,
79 const std::vector<math::Vector2d> &_vertices);
83 private:
virtual void SetHeight(
const double &_height);
A 3D mesh.
Definition: Mesh.hh:40
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Base class for all shapes.
Definition: Shape.hh:40
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:94
const common::Mesh * mesh
Pointer to the mesh data.
Definition: PolylineShape.hh:86
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Polyline geometry primitive.
Definition: PolylineShape.hh:32
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48