Class TriangleMesh
Defined in File TriangleMesh.h
Class Documentation
-
class TriangleMesh
Data structure for a triangle mesh with normals and vertex normals.
Public Types
-
typedef std::vector<unsigned int> Faces
Public Functions
-
TriangleMesh()
-
~TriangleMesh()
-
void release()
-
void initMesh(const unsigned int nPoints, const unsigned int nFaces)
-
void addFace(const unsigned int *const indices)
Add a new face.
-
void addFace(const int *const indices)
Add a new face.
-
inline unsigned int numVertices() const
-
inline unsigned int numFaces() const
-
void updateNormals()
-
void updateVertexNormals()
-
typedef std::vector<unsigned int> Faces