Classes | Functions

Triangle Mesh Routines
[Geometry Libraries]


Simple library for reading triangle mesh data. More...

Collaboration diagram for Triangle Mesh Routines:

Classes

class  trimesh::Trimesh

Functions

virtual int trimesh::Trimesh::getVertexCount (void) const =0 throw ()
virtual int trimesh::Trimesh::getTriangleCount (void) const =0 throw ()
virtual const point3d_ttrimesh::Trimesh::getVertexArray (void) const =0 throw ()
virtual const int * trimesh::Trimesh::getTriangleArray (void) const =0 throw ()
 there will be 3 * getTriangleCount() integers in the array
virtual void trimesh::Trimesh::dump (IN const char *title) const =0 throw ()
 debugging only



static smart_ptr< Trimesh > trimesh::Trimesh::load (IN const char *filename)
virtual trimesh::Trimesh::~Trimesh (void) throw ()

Detailed Description


Simple library for reading triangle mesh data.

This library does not know how to render anything! That is up to other libraries.


Function Documentation

virtual int trimesh::Trimesh::getVertexCount ( void   )  const throw () [pure virtual, inherited]
virtual int trimesh::Trimesh::getTriangleCount ( void   )  const throw () [pure virtual, inherited]
virtual const point3d_t* trimesh::Trimesh::getVertexArray ( void   )  const throw () [pure virtual, inherited]
virtual const int* trimesh::Trimesh::getTriangleArray ( void   )  const throw () [pure virtual, inherited]

there will be 3 * getTriangleCount() integers in the array

virtual void trimesh::Trimesh::dump ( IN const char *  title  )  const throw () [pure virtual, inherited]

debugging only

smart_ptr< Trimesh > trimesh::Trimesh::load ( IN const char *  filename  )  [static, inherited]

Definition at line 196 of file trimesh.cpp.

trimesh::Trimesh::~Trimesh ( void   )  throw () [virtual, inherited]

Definition at line 42 of file trimesh.cpp.