ITK  6.0.0
Insight Toolkit
itkDefaultStaticMeshTraits.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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 * https://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
27namespace itk
28{
55template <typename TPixelType,
56 unsigned int VPointDimension = 3,
57 unsigned int VMaxTopologicalDimension = VPointDimension,
58 typename TCoordRep = float,
59 typename TInterpolationWeight = float,
60 typename TCellPixelType = TPixelType>
61class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits
62{
63public:
66
68 using PixelType = TPixelType;
69 using CellPixelType = TCellPixelType;
70 using CoordRepType = TCoordRep;
71 using InterpolationWeightType = TInterpolationWeight;
72
74 static constexpr unsigned int PointDimension = VPointDimension;
75 static constexpr unsigned int MaxTopologicalDimension = VMaxTopologicalDimension;
76
80
84
89
92
96
100
103 using UsingCellsContainer = std::set<CellIdentifier>;
104
108
114
118
121 using PointCellLinksContainer = std::set<CellIdentifier>;
122
126
130
134};
135} // end namespace itk
136
137#endif
An abstract interface for cells.
SelfAutoPointer CellAutoPointer
TInterpolationWeight InterpolationWeightType
typename CellType::CellAutoPointer CellAutoPointer
typename CellType::CellRawPointer CellRawPointer
std::set< CellIdentifier > PointCellLinksContainer
std::set< CellIdentifier > UsingCellsContainer
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:54
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
#define itkMakeCellTraitsMacro
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
Definition: itkIntTypes.h:90