openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Friends | List of all members
OpenRAVE::TriMesh Class Reference

User data for trimesh geometries. Vertices are defined in counter-clockwise order for outward pointing faces. More...

#include <openrave.h>

Collaboration diagram for OpenRAVE::TriMesh:
Collaboration graph
[legend]

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< Vectorvertices
 
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)
 

Detailed Description

User data for trimesh geometries. Vertices are defined in counter-clockwise order for outward pointing faces.

Definition at line 2323 of file openrave.h.

Member Function Documentation

void OpenRAVE::TriMesh::Append ( const TriMesh mesh)

append another TRIMESH to this tri mesh

Definition at line 1667 of file libopenrave.cpp.

void OpenRAVE::TriMesh::Append ( const TriMesh mesh,
const Transform trans 
)

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.

Friends And Related Function Documentation

OPENRAVE_API std::ostream& operator<< ( std::ostream &  O,
const TriMesh trimesh 
)
friend
OPENRAVE_API std::istream& operator>> ( std::istream &  I,
TriMesh trimesh 
)
friend

Member Data Documentation

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.


The documentation for this class was generated from the following files: