ITK  4.8.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 {
61 template<
62  typename TPixelType = float,
63  unsigned int VPointDimension = 3,
64  unsigned int VMaxTopologicalDimension = VPointDimension,
65  typename TCoordRep = float,
66  typename TInterpolationWeightType = float,
67  typename TCellPixelType = TPixelType,
68  typename TPData = bool,
69  typename TDData = bool
70  >
72 {
73 public:
75 
77  typedef TCoordRep CoordRepType;
78  typedef TPixelType PixelType;
79  typedef TPData PrimalDataType;
80  typedef TDData DualDataType;
81  typedef TCellPixelType CellPixelType;
82 
84  itkStaticConstMacro(PointDimension, unsigned int, VPointDimension);
85  itkStaticConstMacro(MaxTopologicalDimension, unsigned int,
86  VPointDimension);
88 
89  typedef TInterpolationWeightType InterpolationWeightType;
90 
94 
98 
103 
106  typedef std::set< CellIdentifier > UsingCellsContainer;
107 
110  typedef std::set< CellIdentifier > PointCellLinksContainer;
111 
114  typedef typename QEPrimal::DualType QEDual;
117 
121  typedef QuadEdgeMeshPoint<
122  CoordRepType, VPointDimension, QEPrimal > PointType;
123 
125 
129 
131  typedef QuadEdgeMeshCellTraitsInfo<
132  VPointDimension, CoordRepType,
137 
141 
147 
150 };
151 } // enamespace
152 
153 #endif
154 
155 // 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:51
MapContainer< CellIdentifier, CellType * > CellsContainer
std::set< CellIdentifier > UsingCellsContainer
Point< CoordRepType, VPointDimension > PointHashType
QuadEdgeMeshPoint< CoordRepType, VPointDimension, QEPrimal > PointType
static const unsigned int MaxTopologicalDimension