ITK  5.4.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 TCoordRep = float,
64  typename TInterpolationWeightType = float,
65  typename TCellPixelType = TPixelType,
66  typename TPData = bool,
67  typename TDData = bool>
69 {
70 public:
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,
126  CoordRepType,
131  PointType,
135 
139 
145 
148 };
149 } // end namespace itk
150 
151 #endif
itk::QuadEdgeMeshExtendedTraits::PointDimension
static constexpr unsigned int PointDimension
Definition: itkQuadEdgeMeshExtendedTraits.h:81
itkQuadEdgeCellTraitsInfo.h
itk::QuadEdgeMeshExtendedTraits::QEDual
typename QEPrimal::DualType QEDual
Definition: itkQuadEdgeMeshExtendedTraits.h:109
itk::QuadEdgeMeshExtendedTraits::CellFeatureIdentifier
IdentifierType CellFeatureIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:97
itk::QuadEdgeMeshExtendedTraits::CellAutoPointer
typename CellType::CellAutoPointer CellAutoPointer
Definition: itkQuadEdgeMeshExtendedTraits.h:138
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::QuadEdgeMeshExtendedTraits::CoordRepType
TCoordRep CoordRepType
Definition: itkQuadEdgeMeshExtendedTraits.h:74
itk::QuadEdgeMeshExtendedTraits::CellIdentifier
IdentifierType CellIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:92
itk::QuadEdgeMeshExtendedTraits::PointCellLinksContainer
std::set< CellIdentifier > PointCellLinksContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:105
itk::GeometricalQuadEdge::OriginRefType
TVRef OriginRefType
Definition: itkGeometricalQuadEdge.h:78
itk::GeometricalQuadEdge::DualOriginRefType
TFRef DualOriginRefType
Definition: itkGeometricalQuadEdge.h:79
itk::Point::VectorType
Vector< ValueType, VPointDimension > VectorType
Definition: itkPoint.h:84
itk::QuadEdgeMeshExtendedTraits::PrimalDataType
TPData PrimalDataType
Definition: itkQuadEdgeMeshExtendedTraits.h:76
itk::QuadEdgeMeshExtendedTraits::PointType
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
Definition: itkQuadEdgeMeshExtendedTraits.h:116
itk::MapContainer
A wrapper of the STL "map" container.
Definition: itkMapContainer.h:45
itk::QuadEdgeMeshExtendedTraits::PointIdentifier
IdentifierType PointIdentifier
Definition: itkQuadEdgeMeshExtendedTraits.h:88
itk::QuadEdgeMeshExtendedTraits::PointsContainer
MapContainer< PointIdentifier, PointType > PointsContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:122
itk::QuadEdgeMeshExtendedTraits::PixelType
TPixelType PixelType
Definition: itkQuadEdgeMeshExtendedTraits.h:75
itk::QuadEdgeMeshExtendedTraits
Extended traits for a QuadEdgeMesh.
Definition: itkQuadEdgeMeshExtendedTraits.h:68
itk::QuadEdgeMeshExtendedTraits::FaceRefType
typename QEPrimal::DualOriginRefType FaceRefType
Definition: itkQuadEdgeMeshExtendedTraits.h:111
itk::CellInterface::CellAutoPointer
SelfAutoPointer CellAutoPointer
Definition: itkCellInterface.h:133
itk::QuadEdgeMeshExtendedTraits::MaxTopologicalDimension
static constexpr unsigned int MaxTopologicalDimension
Definition: itkQuadEdgeMeshExtendedTraits.h:82
itk::QuadEdgeMeshExtendedTraits::CellTraits
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordRepType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
Definition: itkQuadEdgeMeshExtendedTraits.h:134
itk::QuadEdgeMeshExtendedTraits::VectorType
typename PointType::VectorType VectorType
Definition: itkQuadEdgeMeshExtendedTraits.h:147
itk::QuadEdgeMeshExtendedTraits::VertexRefType
typename QEPrimal::OriginRefType VertexRefType
Definition: itkQuadEdgeMeshExtendedTraits.h:110
itk::CellInterface
An abstract interface for cells.
Definition: itkCellInterface.h:96
itk::QuadEdgeMeshExtendedTraits::UsingCellsContainer
std::set< CellIdentifier > UsingCellsContainer
Definition: itkQuadEdgeMeshExtendedTraits.h:101
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::QuadEdgeMeshExtendedTraits::InterpolationWeightType
TInterpolationWeightType InterpolationWeightType
Definition: itkQuadEdgeMeshExtendedTraits.h:84
itkCellInterface.h
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:53
itk::QuadEdgeMeshExtendedTraits::DualDataType
TDData DualDataType
Definition: itkQuadEdgeMeshExtendedTraits.h:77
itk::QuadEdgeMeshExtendedTraits::CellPixelType
TCellPixelType CellPixelType
Definition: itkQuadEdgeMeshExtendedTraits.h:78
itk::IdentifierType
SizeValueType IdentifierType
Definition: itkIntTypes.h:87
itk::QuadEdgeMeshPoint
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
Definition: itkQuadEdgeMeshPoint.h:37