DART
6.10.1
|
#include <OdeMesh.hpp>
Public Member Functions | |
OdeMesh (const OdeCollisionObject *parent, const aiScene *scene, const Eigen::Vector3d &scale=Eigen::Vector3d::Ones()) | |
Constructor. More... | |
virtual | ~OdeMesh () |
Destructor. More... | |
void | updateEngineData () override |
const OdeCollisionObject * | getParentCollisionObject () const |
Returns the parent collision object. More... | |
dGeomID | getOdeGeomId () const |
Returns the ODE geom ID associated to this object. More... | |
virtual bool | isPlaceable () const |
Returns true if the ODE geom is placeable. More... | |
Protected Attributes | |
const OdeCollisionObject * | mParentCollisionObject |
Parent collision object. More... | |
dGeomID | mGeomId |
ODE geom ID associated with this object. More... | |
Private Member Functions | |
void | fillArrays (const aiScene *scene, const Eigen::Vector3d &scale=Eigen::Vector3d::Ones()) |
Private Attributes | |
std::vector< double > | mVertices |
Array of vertex values. More... | |
std::vector< double > | mNormals |
Array of normals values. More... | |
std::vector< int > | mIndices |
Array of index values. More... | |
dTriMeshDataID | mOdeTriMeshDataId |
ODE trimesh data. More... | |
dart::collision::detail::OdeMesh::OdeMesh | ( | const OdeCollisionObject * | parent, |
const aiScene * | scene, | ||
const Eigen::Vector3d & | scale = Eigen::Vector3d::Ones() |
||
) |
Constructor.
This will hold the vertex data of the triangle mesh
|
virtual |
Destructor.
|
private |
|
inherited |
Returns the ODE geom ID associated to this object.
|
inherited |
Returns the parent collision object.
|
virtualinherited |
Returns true if the ODE geom is placeable.
Reimplemented in dart::collision::detail::OdePlane.
|
overridevirtual |
Reimplemented from dart::collision::detail::OdeGeom.
|
protectedinherited |
|
private |
Array of index values.
|
private |
Array of normals values.
|
private |
ODE trimesh data.
|
protectedinherited |
Parent collision object.
|
private |
Array of vertex values.