18 #ifndef GAZEBO_PHYSICS_ODE_ODEMESH_HH_ 19 #define GAZEBO_PHYSICS_ODE_ODEMESH_HH_ 21 #include <ignition/math/Vector3.hh> 50 const ignition::math::Vector3d &_scale);
58 const ignition::math::Vector3d &_scale);
61 public:
virtual void Update();
67 private:
void CreateMesh(
unsigned int _numVertices,
69 const ignition::math::Vector3d &_scale);
72 private: dReal transform[16*2];
75 private:
int transformIndex;
78 private:
float *vertices;
81 private:
int *indices;
84 private: dTriMeshDataID odeData;
87 private: dGeomID collisionId;
A 3D mesh.
Definition: Mesh.hh:42
Triangle mesh helper class.
Definition: ODEMesh.hh:36
Forward declarations for the common classes.
Definition: Animation.hh:26
A child mesh.
Definition: Mesh.hh:214
boost::shared_ptr< ODECollision > ODECollisionPtr
Definition: ODETypes.hh:39
ODE wrapper forward declarations and typedefs.
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.