ITK  4.2.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
156