|
| Connectivity (GridPrimitive gridDimension) |
|
GridPrimitive | getDimension () const |
| Returns the maximal dimension of the grid.
|
|
virtual ind | getNumElements (GridPrimitive elementType) const |
| Return the number of elements of the given type. More...
|
|
virtual void | getConnections (std::vector< ind > &result, ind index, GridPrimitive from, GridPrimitive to, bool isPosition=false) const =0 |
| Get the map from one element to another E.g. cell to its vertices, vertex to its neighbors, vertex to connected faces. More...
|
|
ElementRange | all (GridPrimitive dim) const |
| Range of all elements to iterate over. More...
|
|
virtual CellType | getCellType (GridPrimitive dim, ind index) const |
| Get the cell type (i.e. triangle, quad...; tetrahedron, voxel...) More...
|
|
virtual CellType | getCellType (ElementIterator &element) const |
| Get the cell type (i.e. triangle, quad...; tetrahedron, voxel...) More...
|
|
Basis interface of all connectivity types.
The connectivity between coordinates creates a mesh, a graph, a cell complex, or some other structure. It joins coordinates to a larger entity and puts them in a neighborhood relation.
A connectivity can define several neighborhood relations. For example, a uniform grid would have 0D vertices, 1D grid edges, 2D grid faces, and 3D grid cells/voxels. The connectivity defines these neighborhood relations and allows iterating over them.
This refers to the 'topological space' in Vector-Bundle Classes Form Powerful Tool for Scientific Visualization, Butler and Bryson, 1992.
Connectivity and Coordinates jointly define the manifold in the above paper.
- Author
- Tino Weinkauf and Anke Friederici