18 #ifndef GAZEBO_PHYSICS_ODE_ODEMESH_HH_
19 #define GAZEBO_PHYSICS_ODE_ODEMESH_HH_
21 #include <ignition/math/Vector3.hh>
59 const ignition::math::Vector3d &_scale);
76 const ignition::math::Vector3d &_scale);
79 public:
virtual void Update();
85 private:
void CreateMesh(
unsigned int _numVertices,
87 const ignition::math::Vector3d &_scale);
90 private: dReal transform[16*2];
93 private:
int transformIndex;
96 private:
float *vertices;
99 private:
int *indices;
102 private: dTriMeshDataID odeData;
105 private: dGeomID collisionId;
A 3D mesh.
Definition: Mesh.hh:42
Triangle mesh helper class.
Definition: ODEMesh.hh:36
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
A child mesh.
Definition: Mesh.hh:214
boost::shared_ptr< ODECollision > ODECollisionPtr
Definition: ODETypes.hh:39
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
ODE wrapper forward declarations and typedefs.
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.