ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkDefaultStaticMeshTraits.h>
DefaultStaticMeshTraits is a simple structure that holds type information for a mesh and its cells. It is used to avoid the passing of many template parameters while still enjoying the benefits of generic programming.
Template parameters for DefaultStaticMeshTraits:
TPixelType = The type stored as data for an entity (cell, point, or boundary).
VPointDimension = Geometric dimension of space.
VMaxTopologicalDimension = Max topological dimension of a cell that can be inserted into this mesh.
TCoordRep = Numerical type with which to represent each coordinate value.
TInterpolationWeight = Numerical type to store interpolation weights.
Definition at line 63 of file itkDefaultStaticMeshTraits.h.
Static Public Attributes | |
static constexpr unsigned int | MaxTopologicalDimension = VMaxTopologicalDimension |
static constexpr unsigned int | PointDimension = VPointDimension |
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellAutoPointer = typename CellType::CellAutoPointer |
Definition at line 115 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellDataContainer = VectorContainer< CellIdentifier, CellPixelType > |
The container type for use in storing cell data. It must conform to the IndexedContainer interface.
Definition at line 135 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellFeatureIdentifier = IdentifierType |
A type that can be used to identifiy individual boundary features on the cells. Since this will probably be an index into a static array, this will probably never change from an integer setting.
Definition at line 90 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellIdentifier = IdentifierType |
The type to be used to identify a cell. This should be the index type to the CellsContainer.
Definition at line 85 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellLinksContainer = VectorContainer< PointIdentifier, PointCellLinksContainer > |
The container type for use in storing point links back to cells. It must conform to the IndexedContainer interface.
Definition at line 127 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellPixelType = TCellPixelType |
Definition at line 71 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellRawPointer = typename CellType::CellRawPointer |
Definition at line 114 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellsContainer = VectorContainer< CellIdentifier, CellType * > |
The container type for use in storing cells. It must conform to the IndexedContainer interface.
Definition at line 119 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellTraits = itkMakeCellTraitsMacro |
The information needed for a cell type is now defined, so we can define the cell type. We use a macro defined in itkCellInterface.
Definition at line 109 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellType = CellInterface< CellPixelType, CellTraits > |
The interface to cells to be used by the mesh. This should not be changed.
Definition at line 113 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CoordRepType = TCoordRep |
Definition at line 72 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::InterpolationWeightType = TInterpolationWeight |
Definition at line 73 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PixelType = TPixelType |
Just save all the template parameters.
Definition at line 70 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointCellLinksContainer = std::set< CellIdentifier > |
The CellLinks container should be a container of PointCellLinksContainer, which should be a container conforming to the STL "set" interface.
Definition at line 123 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointDataContainer = VectorContainer< PointIdentifier, PixelType > |
The container type for use in storing point data. It must conform to the IndexedContainer interface.
Definition at line 131 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointHashType = Point< CoordRepType, VPointDimension > |
The type of point used for hashing. This should never change from this setting, regardless of the mesh type.
Definition at line 97 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointIdentifier = IdentifierType |
The type to be used to identify a point. This should be the index type to the PointsContainer.
Definition at line 81 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointsContainer = VectorContainer< PointIdentifier, PointType > |
The container type for use in storing points. It must conform to the IndexedContainer interface.
Definition at line 101 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointType = Point< CoordRepType, VPointDimension > |
The type of point used by the mesh.
Definition at line 93 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::Self = DefaultStaticMeshTraits |
Standard class type aliases.
Definition at line 67 of file itkDefaultStaticMeshTraits.h.
using itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::UsingCellsContainer = std::set< CellIdentifier > |
The container type that will be used to store boundary links back to cells. This must conform to the STL "set" interface.
Definition at line 105 of file itkDefaultStaticMeshTraits.h.
|
static |
Definition at line 77 of file itkDefaultStaticMeshTraits.h.
|
static |
Just save all the template parameters.
Definition at line 76 of file itkDefaultStaticMeshTraits.h.