ITK  6.0.0
Insight Toolkit
itkQuadEdgeMeshTraits.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 itkQuadEdgeMeshTraits_h
19#define itkQuadEdgeMeshTraits_h
20
21#include <set>
22#include "itkCellInterface.h"
24
25namespace itk
26{
43template <typename TPixel,
44 unsigned int VPointDimension,
45 typename TPData,
46 typename TDData,
47 typename TCoordRep = float,
48 typename TInterpolationWeight = float>
50{
51public:
52
55 using PixelType = TPixel;
56 using CellPixelType = TPixel;
57 using CoordRepType = TCoordRep;
58 using InterpolationWeightType = TInterpolationWeight;
59
60 static constexpr unsigned int PointDimension = VPointDimension;
61 static constexpr unsigned int MaxTopologicalDimension = VPointDimension;
62
65
66 using CellFeatureIdentifier = unsigned char; // made small in purpose
67
68 using UsingCellsContainer = std::set<CellIdentifier>;
69 using PointCellLinksContainer = std::set<CellIdentifier>;
70
72 using PrimalDataType = TPData;
73 using DualDataType = TDData;
75 // using QEType = QEPrimal;
76 using QEDual = typename QEPrimal::DualType;
77 // FOR LEO using QEType = typename QEPrimal::Superclass;
78 // FOR LEO using QEDual = typename QEPrimal::Dual;
81
85
89
91 using CellTraits = QuadEdgeMeshCellTraitsInfo<VPointDimension,
100 QEPrimal>;
101
104
110
113};
114} // namespace itk
115
116#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
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
Class holding the traits of the QuadEdgeMesh.
static constexpr unsigned int PointDimension
itk::IdentifierType CellIdentifier
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
typename PointType::VectorType VectorType
MapContainer< PointIdentifier, PointType > PointsContainer
std::set< CellIdentifier > UsingCellsContainer
typename QEPrimal::DualOriginRefType FaceRefType
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordRepType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
typename QEPrimal::OriginRefType VertexRefType
std::set< CellIdentifier > PointCellLinksContainer
typename CellType::CellAutoPointer CellAutoPointer
TInterpolationWeight InterpolationWeightType
itk::IdentifierType PointIdentifier
typename QEPrimal::DualType QEDual
static constexpr unsigned int MaxTopologicalDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
Definition: itkIntTypes.h:90