ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkDefaultDynamicMeshTraits.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 itkDefaultDynamicMeshTraits_h
19 #define itkDefaultDynamicMeshTraits_h
20 
21 #include "itkCellInterface.h"
22 #include "itkMapContainer.h"
23 #include "itkPoint.h"
24 #include "itkIntTypes.h"
25 #include <set>
26 
27 namespace itk
28 {
57 template<
58  typename TPixelType,
59  unsigned int VPointDimension = 3,
60  unsigned int VMaxTopologicalDimension = VPointDimension,
61  typename TCoordRep = float,
62  typename TInterpolationWeight = float,
63  typename TCellPixelType = TPixelType
64  >
66 {
67 public:
70 
72  using PixelType = TPixelType;
73  using CellPixelType = TCellPixelType;
74  using CoordRepType = TCoordRep;
75  using InterpolationWeightType = TInterpolationWeight;
76 
78  static constexpr unsigned int PointDimension = VPointDimension;
79  static constexpr unsigned int MaxTopologicalDimension = VMaxTopologicalDimension;
80 
84 
88 
93 
96 
100 
104 
107  using UsingCellsContainer = std::set< CellIdentifier >;
108 
112 
117 
121 
124  using PointCellLinksContainer = std::set< CellIdentifier >;
125 
130 
134 
139 };
140 } // end namespace itk
141 
142 #endif
typename CellType::CellAutoPointer CellAutoPointer
static constexpr unsigned int PointDimension
A wrapper of the STL &quot;map&quot; container.
SelfAutoPointer CellAutoPointer
An abstract interface for cells.
std::set< CellIdentifier > UsingCellsContainer
std::set< CellIdentifier > PointCellLinksContainer
SizeValueType IdentifierType
Definition: itkIntTypes.h:87
#define itkMakeCellTraitsMacro
static constexpr unsigned int MaxTopologicalDimension
A simple structure that holds type information for a mesh and its cells.
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:52