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 TCoordRep = float,
64 typename TInterpolationWeightType = float,
65 typename TCellPixelType = TPixelType,
66 typename TPData = bool,
67 typename TDData = bool>
69{
70public:
72
74 using CoordRepType = TCoordRep;
75 using PixelType = TPixelType;
76 using PrimalDataType = TPData;
77 using DualDataType = TDData;
78 using CellPixelType = TCellPixelType;
79
81 static constexpr unsigned int PointDimension = VPointDimension;
82 static constexpr unsigned int MaxTopologicalDimension = VPointDimension;
83
84 using InterpolationWeightType = TInterpolationWeightType;
85
89
93
98
101 using UsingCellsContainer = std::set<CellIdentifier>;
102
105 using PointCellLinksContainer = std::set<CellIdentifier>;
106
109 using QEDual = typename QEPrimal::DualType;
112
117
119
123
125 using CellTraits = QuadEdgeMeshCellTraitsInfo<VPointDimension,
131 PointType,
134 QEPrimal>;
135
139
145
148};
149} // end namespace itk
150
151#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:84
Extended traits for a QuadEdgeMesh.
std::set< CellIdentifier > PointCellLinksContainer
typename QEPrimal::DualOriginRefType FaceRefType
std::set< CellIdentifier > UsingCellsContainer
typename PointType::VectorType VectorType
typename QEPrimal::OriginRefType VertexRefType
typename CellType::CellAutoPointer CellAutoPointer
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
static constexpr unsigned int MaxTopologicalDimension
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordRepType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
TInterpolationWeightType InterpolationWeightType
MapContainer< PointIdentifier, PointType > PointsContainer
static constexpr unsigned int PointDimension
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