Lagrange
|
Generic surface meshes. More...
Modules | |
Attributes | |
Manipulating mesh attributes. | |
Mesh utilities | |
Various attribute processing utilities. | |
Attributes iterators | |
Iterating over mesh attributes. | |
Attributes utilities | |
Various attribute processing utilities. | |
Eigen views | |
View mesh attributes as Eigen matrices. | |
Classes | |
class | SurfaceMesh< Scalar_, Index_ > |
A general purpose polygonal mesh class. More... | |
Macros | |
#define | LA_SURFACE_MESH_X(mode, data) |
X Macro arguments for the SurfaceMesh<> class. More... | |
#define | LA_SURFACE_MESH_INDEX_X(mode, data) |
X Macro arguments to iterate over index types available for the SurfaceMesh<> class. More... | |
#define | LA_SURFACE_MESH_SCALAR_X(mode, data) |
X Macro arguments to iterate over scalar types available for the SurfaceMesh<> class. More... | |
Typedefs | |
using | SurfaceMesh32f = SurfaceMesh< float, uint32_t > |
using | SurfaceMesh32d = SurfaceMesh< double, uint32_t > |
using | SurfaceMesh64f = SurfaceMesh< float, uint64_t > |
using | SurfaceMesh64d = SurfaceMesh< double, uint64_t > |
Generic surface meshes.
#define LA_SURFACE_MESH_X | ( | mode, | |
data | |||
) |
#include <lagrange/SurfaceMeshTypes.h>
X Macro arguments for the SurfaceMesh<> class.
Since other modules might need to explicitly instantiate their own functions, this file is a public header.
Use in a .cpp as follows:
The optional data
argument can forwarded to other macros, in order to implement cartesian products when instantiating nested types.
mode | Suffix to apply to the LA_X_* macro. |
data | Data to be passed around as the first argument of the X macro. |
#define LA_SURFACE_MESH_INDEX_X | ( | mode, | |
data | |||
) |
#include <lagrange/SurfaceMeshTypes.h>
X Macro arguments to iterate over index types available for the SurfaceMesh<> class.
Usage is similar to LA_SURFACE_MESH_X, but it will only iterate over each index type once:
mode | Suffix to apply to the LA_X_* macro. |
data | Data to be passed around as the first argument of the X macro. |
#define LA_SURFACE_MESH_SCALAR_X | ( | mode, | |
data | |||
) |
#include <lagrange/SurfaceMeshTypes.h>
X Macro arguments to iterate over scalar types available for the SurfaceMesh<> class.
Usage is similar to LA_SURFACE_MESH_X, but it will only iterate over each scalar type once:
mode | Suffix to apply to the LA_X_* macro. |
data | Data to be passed around as the first argument of the X macro. |