22 #ifndef _MESHSHAPE_HH_
23 #define _MESHSHAPE_HH_
54 public:
virtual void Init();
62 public: std::string GetMeshURI()
const;
69 public:
void SetMesh(
const std::string &_uri,
70 const std::string &_submesh =
"",
71 bool _center =
false);
81 public:
void FillMsg(msgs::Geometry &_msg);
85 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
A 3D mesh.
Definition: Mesh.hh:44
virtual void Update()
Update the tri mesh.
Definition: MeshShape.hh:51
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
common::SubMesh * submesh
The submesh to use from within the parent mesh.
Definition: MeshShape.hh:91
A child mesh.
Definition: Mesh.hh:216
Base class for all shapes.
Definition: Shape.hh:46
default namespace for gazebo
const common::Mesh * mesh
Pointer to the mesh data.
Definition: MeshShape.hh:88
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Triangle mesh collision shape.
Definition: MeshShape.hh:41
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113