17 #ifndef GAZEBO_PHYSICS_MESHSHAPE_HH_ 18 #define GAZEBO_PHYSICS_MESHSHAPE_HH_ 49 public:
virtual void Init();
53 public:
virtual ignition::math::Vector3d Size()
const;
57 public: std::string GetMeshURI()
const;
64 public:
void SetMesh(
const std::string &_uri,
65 const std::string &_submesh =
"",
66 bool _center =
false);
70 public:
void SetScale(
const ignition::math::Vector3d &_scale);
75 public:
void FillMsg(msgs::Geometry &_msg);
79 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
A 3D mesh.
Definition: Mesh.hh:42
virtual void Update()
Update the tri mesh.
Definition: MeshShape.hh:46
Forward declarations for the common classes.
Definition: Animation.hh:26
common::SubMesh * submesh
The submesh to use from within the parent mesh.
Definition: MeshShape.hh:85
A child mesh.
Definition: Mesh.hh:214
Base class for all shapes.
Definition: Shape.hh:45
default namespace for gazebo
const common::Mesh * mesh
Pointer to the mesh data.
Definition: MeshShape.hh:82
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