ITK  6.0.0
Insight Toolkit
itkQuadEdgeMeshExtendedTraits.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 itkQuadEdgeMeshExtendedTraits_h
19#define itkQuadEdgeMeshExtendedTraits_h
20
21#include "itkCellInterface.h"
23#include <set>
24
25namespace itk
26{
60template <typename TPixelType = float,
61 unsigned int VPointDimension = 3,
62 unsigned int VMaxTopologicalDimension = VPointDimension,
63 typename TCoordinate = float,
64 typename TInterpolationWeightType = float,
65 typename TCellPixelType = TPixelType,
66 typename TPData = bool,
67 typename TDData = bool>
69{
70public:
72
74 using CoordinateType = TCoordinate;
75#ifndef ITK_FUTURE_LEGACY_REMOVE
76 using CoordRepType ITK_FUTURE_DEPRECATED(
77 "ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
78#endif
79 using PixelType = TPixelType;
80 using PrimalDataType = TPData;
81 using DualDataType = TDData;
82 using CellPixelType = TCellPixelType;
83
85 static constexpr unsigned int PointDimension = VPointDimension;
86 static constexpr unsigned int MaxTopologicalDimension = VPointDimension;
87
88 using InterpolationWeightType = TInterpolationWeightType;
89
93
97
102
105 using UsingCellsContainer = std::set<CellIdentifier>;
106
109 using PointCellLinksContainer = std::set<CellIdentifier>;
110
113 using QEDual = typename QEPrimal::DualType;
116
121
123
127
129 using CellTraits = QuadEdgeMeshCellTraitsInfo<VPointDimension,
135 PointType,
138 QEPrimal>;
139
143
149
152};
153} // end namespace itk
154
155#endif
An abstract interface for cells.
SelfAutoPointer CellAutoPointer
This class extends the QuadEdge by adding a reference to the Origin.
GeometricalQuadEdge< TFRef, TVRef, TDualData, TPrimalData, !PrimalDual > DualType
A wrapper of the STL "map" container.
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:54
Vector< ValueType, VPointDimension > VectorType
Definition: itkPoint.h:88
Extended traits for a QuadEdgeMesh.
static constexpr unsigned int PointDimension
TInterpolationWeightType InterpolationWeightType
MapContainer< PointIdentifier, PointType > PointsContainer
typename QEPrimal::OriginRefType VertexRefType
typename QEPrimal::DualOriginRefType FaceRefType
std::set< CellIdentifier > PointCellLinksContainer
typename PointType::VectorType VectorType
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordinateType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
typename CellType::CellAutoPointer CellAutoPointer
std::set< CellIdentifier > UsingCellsContainer
static constexpr unsigned int MaxTopologicalDimension
QuadEdgeMeshPoint< CoordinateType, VPointDimension, QEPrimal > PointType
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
Definition: itkIntTypes.h:90