User data for trimesh geometries. Vertices are defined in counter-clockwise order for outward pointing faces. More...
#include <openrave.h>
Public Member Functions | |
void | ApplyTransform (const Transform &t) |
void | ApplyTransform (const TransformMatrix &t) |
void | Append (const TriMesh &mesh) |
append another TRIMESH to this tri mesh | |
void | Append (const TriMesh &mesh, const Transform &trans) |
AABB | ComputeAABB () const |
void | serialize (std::ostream &o, int options=0) const |
Public Attributes | |
std::vector< Vector > | vertices |
std::vector< int > | indices |
Friends | |
OPENRAVE_API std::ostream & | operator<< (std::ostream &O, const TriMesh &trimesh) |
OPENRAVE_API std::istream & | operator>> (std::istream &I, TriMesh &trimesh) |
User data for trimesh geometries. Vertices are defined in counter-clockwise order for outward pointing faces.
Definition at line 2323 of file openrave.h.
void OpenRAVE::TriMesh::Append | ( | const TriMesh & | mesh | ) |
append another TRIMESH to this tri mesh
Definition at line 1667 of file libopenrave.cpp.
Definition at line 1679 of file libopenrave.cpp.
void OpenRAVE::TriMesh::ApplyTransform | ( | const Transform & | t | ) |
Definition at line 1653 of file libopenrave.cpp.
void OpenRAVE::TriMesh::ApplyTransform | ( | const TransformMatrix & | t | ) |
Definition at line 1660 of file libopenrave.cpp.
AABB OpenRAVE::TriMesh::ComputeAABB | ( | ) | const |
Definition at line 1694 of file libopenrave.cpp.
void OpenRAVE::TriMesh::serialize | ( | std::ostream & | o, |
int | options = 0 |
||
) | const |
Definition at line 1729 of file libopenrave.cpp.
|
friend |
|
friend |
std::vector<int> OpenRAVE::TriMesh::indices |
Definition at line 2327 of file openrave.h.
std::vector<Vector> OpenRAVE::TriMesh::vertices |
Definition at line 2326 of file openrave.h.