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:40
common::SubMesh * submesh
The submesh to use from within the parent mesh.
Definition: MeshShape.hh:91
virtual void Update()
Update the tri mesh.
Definition: MeshShape.hh:51
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
A child mesh.
Definition: Mesh.hh:209
Base class for all shapes.
Definition: Shape.hh:40
default namespace for gazebo
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:94
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
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48