ITK  4.2.0
Insight Segmentation and Registration Toolkit
itkQuadEdgeCellTraitsInfo.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 __itkQuadEdgeCellTraitsInfo_h
19 #define __itkQuadEdgeCellTraitsInfo_h
20 
21 #include "itkQuadEdgeMeshPoint.h"
22 #include "itkMapContainer.h"
23 #include "itkIntTypes.h"
24 #include <set>
25 
26 namespace itk
27 {
38 template< int VPointDimension,
39  typename TCoordRep = float,
40  typename TInterpolationWeight = float,
41  typename TPointIdentifier = IdentifierType,
42  typename TCellIdentifier = IdentifierType,
43  typename TCellFeatureIdentifier = unsigned char,
44  typename TPoint = QuadEdgeMeshPoint< TCoordRep, VPointDimension >,
45  typename TPointsContainer = MapContainer< TPointIdentifier, TPoint >,
46  typename TUsingCellsContainer = std::set< TPointIdentifier >,
47  typename TQE = GeometricalQuadEdge< unsigned long, unsigned long, bool, bool, true > >
48 class QuadEdgeMeshCellTraitsInfo
49 {
50 public:
51  itkStaticConstMacro(PointDimension, unsigned int, VPointDimension);
52  typedef TCoordRep CoordRepType;
53  typedef TInterpolationWeight InterpolationWeightType;
54  typedef TPointIdentifier PointIdentifier;
55  typedef TCellIdentifier CellIdentifier;
56  typedef TCellFeatureIdentifier CellFeatureIdentifier;
57  typedef TPoint PointType;
58  typedef TPointsContainer PointsContainer;
59  typedef TUsingCellsContainer UsingCellsContainer;
60 
61