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
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
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:318
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
A child mesh.
Definition: Mesh.hh:265
Base class for all shapes.
Definition: Shape.hh:46
default namespace for gazebo
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:96
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