Class IndexedTetMesh
Defined in File IndexedTetMesh.h
Nested Relationships
Class Documentation
-
class IndexedTetMesh
Public Types
-
typedef std::vector<unsigned int> Tets
-
typedef std::vector<unsigned int> Faces
-
typedef std::vector<std::vector<unsigned int>> VerticesTets
-
typedef std::vector<std::vector<unsigned int>> VerticesFaces
-
typedef std::vector<std::vector<unsigned int>> VerticesEdges
Public Functions
-
IndexedTetMesh()
-
~IndexedTetMesh()
-
void release()
-
void initMesh(const unsigned int nPoints, const unsigned int nEdges, const unsigned int nFaces, const unsigned int nTets)
-
void addTet(const unsigned int *const indices)
Add a new tet. Indices must be an array of size 4.
-
void addTet(const int *const indices)
Add a new tet. Indices must be an array of size 4.
-
inline const VerticesTets &getVertexTets() const
-
inline const VerticesFaces &getVertexFaces() const
-
inline const VerticesEdges &getVertexEdges() const
-
inline unsigned int numVertices() const
-
inline unsigned int numFaces() const
-
inline unsigned int numTets() const
-
inline unsigned int numEdges() const
-
void buildNeighbors()
Protected Attributes
-
unsigned int m_numPoints
-
VerticesTets m_verticesTets
-
VerticesFaces m_verticesFaces
-
VerticesEdges m_verticesEdges
-
struct Face
-
struct Tet
-
typedef std::vector<unsigned int> Tets