|
void | print () const |
| Print data for demonstration purposes.
|
|
bool | writeObj (const char *filename) const |
| Write an *.obj file (supported by virtually any 3D viewer)
|
|
void | extractTriangleNeighborships (std::vector< std::pair< int, int > > &vNeigs) const |
| Determine index-pairs of adjacent triangles.
|
|
void | getCornerIndices (int triIdx, int &vtxIdx0, int &vtxIdx1, int &vtxIdx2) const |
| Get the corner indices of a certain triangle. More...
|
|
void | getCoordinates (int vtxIdx, double &x, double &y, double &z) const |
| Get the coorinates for a certain vertex index. More...
|
|
FadeExport is a simple struct to export triangulation data.
This data structure is there to get data out of Fade easily and memory efficiently. The source code of this class is deliberately included in the header file so that users can take over the code to their individual project.
Have a look at the Examples.