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);
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:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
common::SubMesh * submesh
The submesh to use from within the parent mesh.
Definition: MeshShape.hh:90
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:87
#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