OpenGL Volumizer 2.7 Reference Pages


NAME
vzUnstructuredTetraMesh - Volumetric geometry representing an unstructured tetrahedral mesh.

INHERITS FROM
vzUnstructuredMesh

HEADER FILE
#include <Volumizer2/UnstructuredTetraMesh.h>

PUBLIC METHOD SUMMARY
vzUnstructuredTetraMesh ( vzVertexArray* vertices, vzIndexArray* indices);
virtual vzUnstructuredTetraMesh* tessellate (  ) const;

PROTECTED METHOD SUMMARY
virtual ~vzUnstructuredTetraMesh (  );

CLASS DESCRIPTION
vzUnstructuredTetraMesh represents indexed sets of tetrahedra. Each tetrahedron is represented by 4 indices that point to a list of vertex coordinates.

METHOD DESCRIPTIONS

   vzUnstructuredTetraMesh()
vzUnstructuredTetraMesh ( vzVertexArray* vertices, vzIndexArray* indices);

Constructor for indexed sets of tetrahedra. Does not perform any memory allocation. Each consecutive set of four indices provides a single tetrahedron. Use vzUnstructuredMesh::setIndexArray() and vzUnstructuredMesh::setVertexArray() to change the index and vertex array pointers after initialization.

   ~vzUnstructuredTetraMesh()
virtual ~vzUnstructuredTetraMesh (  );

Destructor for indexed tetra sets.

   tessellate()
virtual vzUnstructuredTetraMesh* tessellate (  ) const;

Method to tessellate the volumetric geometry into a vzUnstructuredTetraMesh. In this case, creates a new vzUnstructuredTetraMesh with the same vzVertexArray and vzIndexArray as the original one.

SEE ALSO
vzIndexArray, vzUnstructuredMesh, vzUnstructuredTetraMesh, vzVertexArray

Back to Index