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 
25 namespace itk
26 {
60 template <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 {
70 public:
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,
139 
143 
149 
152 };
153 } // end namespace itk
154 
155 #endif
itk::QuadEdgeMeshExtendedTraits::VertexRefType
typename QEPrimal::OriginRefType VertexRefType
Definition: itkQuadEdgeMeshExtendedTraits.h:114
itk::QuadEdgeMeshExtendedTraits::PixelType
TPixelType PixelType
Definition: itkQuadEdgeMeshExtendedTraits.h:79
itk::QuadEdgeMeshExtendedTraits::CellAutoPointer
typename CellType::CellAutoPointer CellAutoPointer
Definition: itkQuadEdgeMeshExtendedTraits.h:142
itkQuadEdgeCellTraitsInfo.h
itk::QuadEdgeMeshExtendedTraits::MaxTopologicalDimension
static constexpr unsigned int MaxTopologicalDimension
Definition: itkQuadEdgeMeshExtendedTraits.h:86
itk::QuadEdgeMeshExtendedTraits::QEDual
typename QEPrimal::DualType QEDual
Definition: itkQuadEdgeMeshExtendedTraits.h:113
itk::QuadEdgeMeshExtendedTraits::CellIdentifier
IdentifierType CellIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:96
itk::GeometricalQuadEdge
This class extends the QuadEdge by adding a reference to the Origin.
Definition: itkGeometricalQuadEdge.h:61
itk::GeometricalQuadEdge::DualType
GeometricalQuadEdge< TFRef, TVRef, TDualData, TPrimalData, !PrimalDual > DualType
Definition: itkGeometricalQuadEdge.h:75
itk::Point::VectorType
Vector< ValueType, VPointDimension > VectorType
Definition: itkPoint.h:88
itk::QuadEdgeMeshExtendedTraits::PointDimension
static constexpr unsigned int PointDimension
Definition: itkQuadEdgeMeshExtendedTraits.h:85
itk::QuadEdgeMeshExtendedTraits::CoordinateType
TCoordinate CoordinateType
Definition: itkQuadEdgeMeshExtendedTraits.h:74
itk::QuadEdgeMeshExtendedTraits::InterpolationWeightType
TInterpolationWeightType InterpolationWeightType
Definition: itkQuadEdgeMeshExtendedTraits.h:88
itk::QuadEdgeMeshExtendedTraits::PointIdentifier
IdentifierType PointIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:92
itk::GeometricalQuadEdge::OriginRefType
TVRef OriginRefType
Definition: itkGeometricalQuadEdge.h:78
itk::GeometricalQuadEdge::DualOriginRefType
TFRef DualOriginRefType
Definition: itkGeometricalQuadEdge.h:79
itk::MapContainer
A wrapper of the STL "map" container.
Definition: itkMapContainer.h:45
itk::QuadEdgeMeshExtendedTraits::CellPixelType
TCellPixelType CellPixelType
Definition: itkQuadEdgeMeshExtendedTraits.h:82
itk::QuadEdgeMeshExtendedTraits::FaceRefType
typename QEPrimal::DualOriginRefType FaceRefType
Definition: itkQuadEdgeMeshExtendedTraits.h:115
itk::QuadEdgeMeshExtendedTraits
Extended traits for a QuadEdgeMesh.
Definition: itkQuadEdgeMeshExtendedTraits.h:68
itk::QuadEdgeMeshExtendedTraits::PointCellLinksContainer
std::set< CellIdentifier > PointCellLinksContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:109
itk::CellInterface::CellAutoPointer
SelfAutoPointer CellAutoPointer
Definition: itkCellInterface.h:138
itk::QuadEdgeMeshExtendedTraits::CellTraits
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordinateType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
Definition: itkQuadEdgeMeshExtendedTraits.h:138
itk::QuadEdgeMeshExtendedTraits::PointType
QuadEdgeMeshPoint< CoordinateType, VPointDimension, QEPrimal > PointType
Definition: itkQuadEdgeMeshExtendedTraits.h:120
itk::QuadEdgeMeshExtendedTraits::PointsContainer
MapContainer< PointIdentifier, PointType > PointsContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:126
itk::QuadEdgeMeshExtendedTraits::DualDataType
TDData DualDataType
Definition: itkQuadEdgeMeshExtendedTraits.h:81
itk::CellInterface
An abstract interface for cells.
Definition: itkCellInterface.h:97
itk::QuadEdgeMeshExtendedTraits::PrimalDataType
TPData PrimalDataType
Definition: itkQuadEdgeMeshExtendedTraits.h:80
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::QuadEdgeMeshExtendedTraits::VectorType
typename PointType::VectorType VectorType
Definition: itkQuadEdgeMeshExtendedTraits.h:151
itk::QuadEdgeMeshExtendedTraits::UsingCellsContainer
std::set< CellIdentifier > UsingCellsContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:105
itkCellInterface.h
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:53
itk::QuadEdgeMeshExtendedTraits::CellFeatureIdentifier
IdentifierType CellFeatureIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:101
itk::IdentifierType
SizeValueType IdentifierType
Definition: itkIntTypes.h:90
itk::QuadEdgeMeshPoint
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
Definition: itkQuadEdgeMeshPoint.h:37