17#ifndef GAZEBO_PHYSICS_POLYLINESHAPE_HH_
18#define GAZEBO_PHYSICS_POLYLINESHAPE_HH_
42 public:
virtual void Init();
49 public: std::vector<std::vector<ignition::math::Vector2d> >
58 public:
void FillMsg(msgs::Geometry &_msg);
62 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
66 private:
virtual void SetScale(
const ignition::math::Vector3d &_scale);
75 private:
virtual void SetVertices(
76 const std::vector<std::vector<ignition::math::Vector2d> >
81 private:
virtual void SetVertices(
const msgs::Geometry &_msg);
87 private:
void SetPolylineShape(
const double &_height,
88 const std::vector<std::vector<ignition::math::Vector2d> >
94 private:
virtual void SetHeight(
const double &_height);
A 3D mesh.
Definition Mesh.hh:43
Polyline geometry primitive.
Definition PolylineShape.hh:33
double GetHeight() const
Get the height of the polylines.
virtual ~PolylineShape()
Destructor.
const common::Mesh * mesh
Pointer to the mesh data.
Definition PolylineShape.hh:97
virtual void Init()
Initialize the polyLine.
std::vector< std::vector< ignition::math::Vector2d > > Vertices() const
Get the vertices of the polylines.
PolylineShape(CollisionPtr _parent)
Constructor.
virtual void ProcessMsg(const msgs::Geometry &_msg)
Process a geometry 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