ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkQuadEdgeMeshExtendedTraits.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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<
61  typename TPixelType = float,
62  unsigned int VPointDimension = 3,
63  unsigned int VMaxTopologicalDimension = VPointDimension,
64  typename TCoordRep = float,
65  typename TInterpolationWeightType = float,
66  typename TCellPixelType = TPixelType,
67  typename TPData = bool,
68  typename TDData = bool
69  >
71 {
72 public:
74 
76  using CoordRepType = TCoordRep;
77  using PixelType = TPixelType;
78  using PrimalDataType = TPData;
79  using DualDataType = TDData;
80  using CellPixelType = TCellPixelType;
81 
83  static constexpr unsigned int PointDimension = VPointDimension;
84  static constexpr unsigned int MaxTopologicalDimension = VPointDimension;
85 
86  using InterpolationWeightType = TInterpolationWeightType;
87 
91 
95 
100 
103  using UsingCellsContainer = std::set< CellIdentifier >;
104 
107  using PointCellLinksContainer = std::set< CellIdentifier >;
108 
111  using QEDual = typename QEPrimal::DualType;
114 
119  CoordRepType, VPointDimension, QEPrimal >;
120 
122 
126 
128  using CellTraits = QuadEdgeMeshCellTraitsInfo<
129  VPointDimension, CoordRepType,
134 
138 
144 
147 };
148 } // end namespace itk
149 
150 #endif
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
A wrapper of the STL &quot;map&quot; container.
SelfAutoPointer CellAutoPointer
typename QEPrimal::OriginRefType VertexRefType
An abstract interface for cells.
typename PointType::VectorType VectorType
static constexpr unsigned int PointDimension
std::set< CellIdentifier > PointCellLinksContainer
SizeValueType IdentifierType
Definition: itkIntTypes.h:87
MapContainer< PointIdentifier, PointType > PointsContainer
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordRepType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
GeometricalQuadEdge< TFRef, TVRef, TDualData, TPrimalData,!PrimalDual > DualType
typename QEPrimal::DualOriginRefType FaceRefType
typename CellType::CellAutoPointer CellAutoPointer
typename Superclass::VectorType VectorType
This class extends the QuadEdge by adding a reference to the Origin.
Extended traits for a QuadEdgeMesh.
std::set< CellIdentifier > UsingCellsContainer
static constexpr unsigned int MaxTopologicalDimension
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:52
TInterpolationWeightType InterpolationWeightType