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> >
54 public:
double GetHeight()
const;
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:42
Forward declarations for the common classes.
Definition: Animation.hh:26
Base class for all shapes.
Definition: Shape.hh:39
const common::Mesh * mesh
Pointer to the mesh data.
Definition: PolylineShape.hh:97
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Polyline geometry primitive.
Definition: PolylineShape.hh:32
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:114