Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType > Class Template Reference
[Mesh Representation Objects]

#include <itkDefaultStaticMeshTraits.h>

List of all members.

Public Types

typedef DefaultStaticMeshTraits Self
typedef TPixelType PixelType
typedef TCellPixelType CellPixelType
typedef TCoordRep CoordRepType
typedef TInterpolationWeight InterpolationWeightType
typedef unsigned long PointIdentifier
typedef unsigned long CellIdentifier
typedef unsigned long BoundaryIdentifier
typedef unsigned long CellFeatureIdentifier
typedef Point< CoordRepType,
VPointDimension > 
PointType
typedef VectorContainer< PointIdentifier,
PointType
PointsContainer
typedef std::set< CellIdentifierUsingCellsContainer
typedef itkMakeCellTraitsMacro CellTraits
typedef CellInterface< CellPixelType,
CellTraits
CellType
typedef CellType::CellRawPointer CellRawPointer
typedef CellType::CellAutoPointer CellAutoPointer
typedef VectorContainer< CellIdentifier,
CellType * > 
CellsContainer
typedef std::set< CellIdentifierPointCellLinksContainer
typedef VectorContainer< PointIdentifier,
PointCellLinksContainer
CellLinksContainer
typedef VectorContainer< PointIdentifier,
PixelType
PointDataContainer
typedef VectorContainer< CellIdentifier,
CellPixelType
CellDataContainer
typedef VectorContainer< BoundaryIdentifier,
CellType * > 
BoundariesContainer
typedef VectorContainer< BoundaryIdentifier,
CellPixelType
BoundaryDataContainer

Public Methods

 itkStaticConstMacro (PointDimension, unsigned int, VPointDimension)
 itkStaticConstMacro (MaxTopologicalDimension, unsigned int, VMaxTopologicalDimension)


Detailed Description

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

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 61 of file itkDefaultStaticMeshTraits.h.


Member Typedef Documentation

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< BoundaryIdentifier , CellType * > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::BoundariesContainer
 

The container type for use in storing explicitly created boundaries. It must conform to the IndexedContainer interface.

Definition at line 145 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< BoundaryIdentifier , CellPixelType > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::BoundaryDataContainer
 

The container type for use in storing data for explicitly created boundaries. It must conform to the IndexedContainer interface.

Definition at line 150 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef unsigned long itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::BoundaryIdentifier
 

The type to be used to identify a boundary. This should be the index type to the BoundariesContainer.

Definition at line 89 of file itkDefaultStaticMeshTraits.h.

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

Definition at line 116 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< CellIdentifier , CellPixelType > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellDataContainer
 

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

Definition at line 140 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef unsigned long itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellFeatureIdentifier
 

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 94 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef unsigned long itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellIdentifier
 

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.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< PointIdentifier , PointCellLinksContainer > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellLinksContainer
 

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

Definition at line 130 of file itkDefaultStaticMeshTraits.h.

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

Definition at line 69 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef CellType::CellRawPointer itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellRawPointer
 

Definition at line 115 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< CellIdentifier , CellType * > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellsContainer
 

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

Definition at line 121 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef itkMakeCellTraitsMacro itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellTraits
 

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 110 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef CellInterface< CellPixelType , CellTraits > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::CellType
 

The interface to cells to be used by the mesh. This should not be changed.

Definition at line 114 of file itkDefaultStaticMeshTraits.h.

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

Definition at line 70 of file itkDefaultStaticMeshTraits.h.

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

Definition at line 71 of file itkDefaultStaticMeshTraits.h.

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

Just save all the template parameters.

Definition at line 68 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef std::set< CellIdentifier > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointCellLinksContainer
 

The CellLinks container should be a container of PointCellLinksContainer, which should be a container conforming to the STL "set" interface.

Definition at line 125 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< PointIdentifier , PixelType > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointDataContainer
 

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

Definition at line 135 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef unsigned long itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointIdentifier
 

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.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef VectorContainer< PointIdentifier , PointType > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::PointsContainer
 

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

Definition at line 102 of file itkDefaultStaticMeshTraits.h.

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

The type of point used by the mesh. This should never change from this setting, regardless of the mesh type.

Definition at line 98 of file itkDefaultStaticMeshTraits.h.

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

Standard class typedefs.

Definition at line 65 of file itkDefaultStaticMeshTraits.h.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
typedef std::set< CellIdentifier > itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::UsingCellsContainer
 

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 106 of file itkDefaultStaticMeshTraits.h.


Member Function Documentation

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::itkStaticConstMacro MaxTopologicalDimension   ,
unsigned    int,
VMaxTopologicalDimension   
 

Just save all the template parameters.

template<typename TPixelType, unsigned int VPointDimension = 3, unsigned int VMaxTopologicalDimension = VPointDimension, typename TCoordRep = float, typename TInterpolationWeight = float, typename TCellPixelType = TPixelType>
itk::DefaultStaticMeshTraits< TPixelType, VPointDimension, VMaxTopologicalDimension, TCoordRep, TInterpolationWeight, TCellPixelType >::itkStaticConstMacro PointDimension   ,
unsigned    int,
VPointDimension   
 

Just save all the template parameters.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:24:32 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000