ITK  4.13.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  typedef TCoordRep CoordRepType;
77  typedef TPixelType PixelType;
78  typedef TPData PrimalDataType;
79  typedef TDData DualDataType;
80  typedef TCellPixelType CellPixelType;
81 
83  itkStaticConstMacro(PointDimension, unsigned int, VPointDimension);
84  itkStaticConstMacro(MaxTopologicalDimension, unsigned int,
85  VPointDimension);
87 
88  typedef TInterpolationWeightType InterpolationWeightType;
89 
93 
97 
102 
105  typedef std::set< CellIdentifier > UsingCellsContainer;
106 
109  typedef std::set< CellIdentifier > PointCellLinksContainer;
110 
113  typedef typename QEPrimal::DualType QEDual;
116 
120  typedef QuadEdgeMeshPoint<
121  CoordRepType, VPointDimension, QEPrimal > PointType;
122 
124 
128 
130  typedef QuadEdgeMeshCellTraitsInfo<
131  VPointDimension, CoordRepType,
136 
140 
146 
149 };
150 } // enamespace
151 
152 #endif
153 
154 // eof - itkQuadEdgeMeshExtendedTraits.h
TInterpolationWeightType InterpolationWeightType
CellInterface< CellPixelType, CellTraits > CellType
Wrapper around a itk::Point in order to add a reference to an entry in the edge ring.
SelfAutoPointer CellAutoPointer
MapContainer< CellIdentifier, CellPixelType > CellDataContainer
A wrapper of the STL &quot;map&quot; container.
An abstract interface for cells.
MapContainer< PointIdentifier, PixelType > PointDataContainer
MapContainer< PointIdentifier, PointType > PointsContainer
SizeValueType IdentifierType
Definition: itkIntTypes.h:147
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:62
MapContainer< PointIdentifier, PointCellLinksContainer > CellLinksContainer
QuadEdgeMeshCellTraitsInfo< VPointDimension, CoordRepType, InterpolationWeightType, PointIdentifier, CellIdentifier, CellFeatureIdentifier, PointType, PointsContainer, UsingCellsContainer, QEPrimal > CellTraits
std::set< CellIdentifier > PointCellLinksContainer
This class extends the QuadEdge by adding a reference to the Origin.
Extended traits for a QuadEdgeMesh.
GeometricalQuadEdge< PointIdentifier, CellIdentifier, PrimalDataType, DualDataType > QEPrimal
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:52
MapContainer< CellIdentifier, CellType * > CellsContainer
std::set< CellIdentifier > UsingCellsContainer
Point< CoordRepType, VPointDimension > PointHashType
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
static const unsigned int MaxTopologicalDimension