OpenTissue::t4mesh::T4Mesh< M, N, T > Class Template Reference

#include <t4mesh.h>

Inheritance diagram for OpenTissue::t4mesh::T4Mesh< M, N, T >:
OpenTissue::t4mesh::detail::T4Mesh< M, N, T >

List of all members.


Detailed Description

template<typename M = OpenTissue::math::BasicMathTypes<double, size_t>, typename N = t4mesh::DefaultNodeTraits< M >, typename T = t4mesh::DefaultTetrahedronTraits>
class OpenTissue::t4mesh::T4Mesh< M, N, T >

Basic (Simple) Tetrahedra Mesh.

This tetrahedra mesh data structure is designed specially for two purposes: It should maintain a valid topology of the mesh at all times, that is the connectivity of nodes and tetrahedra are always valid.

The other purpose is to make sure that the global indexing of nodes (0..N-1) and tetrahedra (0..T-1) always is a compact range starting from zero to the maximum number minus one.

Obviously removing entities (nodes or tetrahedra) alters the global index ranges, thus end users can not trust previously stored indices of entities in their own apps.

The mesh takes three template arguments. The first specifies the math_types used in the mesh. The following two arguments are node traits and tetrahedron traits respectively. Currently these template arguments are set to meaningfull defaults.


The documentation for this class was generated from the following file: