ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkDefaultStaticMeshTraits.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __itkDefaultStaticMeshTraits_h
19 #define __itkDefaultStaticMeshTraits_h
20 
21 #include "itkCellInterface.h"
22 #include "itkVectorContainer.h"
23 #include "itkPoint.h"
24 #include "itkIntTypes.h"
25 #include <set>
26 
27 namespace itk
28 {
55 template<
56  typename TPixelType,
57  unsigned int VPointDimension = 3,
58  unsigned int VMaxTopologicalDimension = VPointDimension,
59  typename TCoordRep = float,
60  typename TInterpolationWeight = float,
61  typename TCellPixelType = TPixelType
62  >
64 {
65 public:
68 
70  typedef TPixelType PixelType;
71  typedef TCellPixelType CellPixelType;
72  typedef TCoordRep CoordRepType;
73  typedef TInterpolationWeight InterpolationWeightType;
74 
76  itkStaticConstMacro(PointDimension, unsigned int, VPointDimension);
77  itkStaticConstMacro(MaxTopologicalDimension, unsigned int,
78  VMaxTopologicalDimension);
80 
84 
88 
93 
96 
100 
104 
107  typedef std::set< CellIdentifier > UsingCellsContainer;
108 
112 
118 
122 
125  typedef std::set< CellIdentifier > PointCellLinksContainer;
126 
131 
135 
139 };
140 } // end namespace itk
141 
142 #endif
std::set< CellIdentifier > UsingCellsContainer
SelfAutoPointer CellAutoPointer
VectorContainer< PointIdentifier, PointType > PointsContainer
VectorContainer< PointIdentifier, PixelType > PointDataContainer
VectorContainer< CellIdentifier, CellPixelType > CellDataContainer
An abstract interface for cells.
Point< CoordRepType, VPointDimension > PointType
static const unsigned int MaxTopologicalDimension
static const unsigned int PointDimension
CellType::CellAutoPointer CellAutoPointer
SizeValueType IdentifierType
Definition: itkIntTypes.h:147
Point< CoordRepType, VPointDimension > PointHashType
VectorContainer< CellIdentifier, CellType * > CellsContainer
#define itkMakeCellTraitsMacro
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
CellType::CellRawPointer CellRawPointer
TInterpolationWeight InterpolationWeightType
CellInterface< CellPixelType, CellTraits > CellType
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:51
std::set< CellIdentifier > PointCellLinksContainer
VectorContainer< PointIdentifier, PointCellLinksContainer > CellLinksContainer