ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Attributes | List of all members
itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType > Class Template Reference

#include <itkDefaultDynamicMeshTraits.h>

Detailed Description

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
class itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >

A simple structure that holds type information for a mesh and its cells.

DefaultDynamicMeshTraits 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.

Unlike DefaultStaticMeshTraits, this version of the MeshTraits structure is designed to create Mesh instances that will have many insert and delete operations done on them.

Template Parameters
TPixelTypeThe type stored as data for an entity (cell, point, or boundary).
VPointDimensionGeometric dimension of space.
VMaxTopologicalDimensionMax topological dimension of a cell that can be inserted into this mesh.
TCoordRepNumerical type to store each coordinate value.
TInterpolationWeightNumerical type to store interpolation weights.
Examples:
Examples/SpatialObjects/MeshSpatialObject.cxx.

Definition at line 65 of file itkDefaultDynamicMeshTraits.h.

Public Types

using CellAutoPointer = typename CellType::CellAutoPointer
 
using CellDataContainer = MapContainer< CellIdentifier, CellPixelType >
 
using CellFeatureIdentifier = IdentifierType
 
using CellIdentifier = IdentifierType
 
using CellLinksContainer = MapContainer< PointIdentifier, PointCellLinksContainer >
 
using CellPixelType = TCellPixelType
 
using CellsContainer = MapContainer< CellIdentifier, CellType * >
 
using CellTraits = itkMakeCellTraitsMacro
 
using CellType = CellInterface< CellPixelType, CellTraits >
 
using CoordRepType = TCoordRep
 
using InterpolationWeightType = TInterpolationWeight
 
using PixelType = TPixelType
 
using PointCellLinksContainer = std::set< CellIdentifier >
 
using PointDataContainer = MapContainer< PointIdentifier, PixelType >
 
using PointHashType = Point< CoordRepType, VPointDimension >
 
using PointIdentifier = IdentifierType
 
using PointsContainer = MapContainer< PointIdentifier, PointType >
 
using PointType = Point< CoordRepType, VPointDimension >
 
using Self = DefaultDynamicMeshTraits
 
using UsingCellsContainer = std::set< CellIdentifier >
 

Static Public Attributes

static constexpr unsigned int MaxTopologicalDimension = VMaxTopologicalDimension
 
static constexpr unsigned int PointDimension = VPointDimension
 

Member Typedef Documentation

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellAutoPointer = typename CellType::CellAutoPointer

Definition at line 116 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellDataContainer = MapContainer< CellIdentifier, CellPixelType >

The container type for use in storing cell data. It must conform to the IndexedContainerInterface.

Definition at line 138 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 92 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 87 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellLinksContainer = MapContainer< PointIdentifier, PointCellLinksContainer >

The container type for use in storing point links back to cells.] It must conform to the IndexedContainerInterface.

Definition at line 129 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellPixelType = TCellPixelType

Definition at line 73 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellsContainer = MapContainer< CellIdentifier, CellType * >

The container type for use in storing cells. It must conform to the IndexedContainerInterface.

Definition at line 120 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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.

Definition at line 111 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 115 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CoordRepType = TCoordRep

Definition at line 74 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::InterpolationWeightType = TInterpolationWeight

Definition at line 75 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PixelType = TPixelType

Just save all the template parameters.

Definition at line 72 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 124 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointDataContainer = MapContainer< PointIdentifier, PixelType >

The container type for use in storing point data. It must conform to the IndexedContainerInterface.

Definition at line 133 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 99 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 83 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointsContainer = MapContainer< PointIdentifier, PointType >

The container type for use in storing points. It must conform to the IndexedContainerInterface.

Definition at line 103 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointType = Point< CoordRepType, VPointDimension >

The type of point used by the mesh.

Definition at line 95 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::Self = DefaultDynamicMeshTraits

Standard class type aliases.

Definition at line 69 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
using itk::DefaultDynamicMeshTraits< 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 107 of file itkDefaultDynamicMeshTraits.h.

Member Data Documentation

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
constexpr unsigned int itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::MaxTopologicalDimension = VMaxTopologicalDimension
static

Definition at line 79 of file itkDefaultDynamicMeshTraits.h.

template<typename TPixelType , unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
constexpr unsigned int itk::DefaultDynamicMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointDimension = VPointDimension
static

Just save all the template parameters.

Definition at line 78 of file itkDefaultDynamicMeshTraits.h.


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