17 #ifndef GAZEBO_PHYSICS_MESHSHAPE_HH_
18 #define GAZEBO_PHYSICS_MESHSHAPE_HH_
49 public:
virtual void Init();
58 public: virtual ignition::math::Vector3d Size() const;
62 public: std::
string GetMeshURI() const;
69 public:
void SetMesh(const std::
string &_uri,
70 const std::
string &_submesh = "",
71 bool _center = false);
75 public:
void SetScale(const ignition::math::Vector3d &_scale);
80 public:
void FillMsg(msgs::Geometry &_msg);
84 public: virtual
void ProcessMsg(const msgs::Geometry &_msg);
87 protected: const common::Mesh *mesh;
90 protected: common::SubMesh *submesh;
virtual void Update()
Update the tri mesh.
Definition: MeshShape.hh:46
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
Base class for all shapes.
Definition: Shape.hh:45
default namespace for gazebo
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Triangle mesh collision shape.
Definition: MeshShape.hh:36
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113