ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
00001 /*========================================================================= 00002 * 00003 * Copyright Insight Software Consortium 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0.txt 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 * 00017 *=========================================================================*/ 00018 #ifndef __itkQuadEdgeCellTraitsInfo_h 00019 #define __itkQuadEdgeCellTraitsInfo_h 00020 00021 #include "itkQuadEdgeMeshPoint.h" 00022 #include "itkMapContainer.h" 00023 #include "itkIntTypes.h" 00024 #include <set> 00025 00026 namespace itk 00027 { 00038 template< int VPointDimension, 00039 typename TCoordRep = float, 00040 typename TInterpolationWeight = float, 00041 typename TPointIdentifier = IdentifierType, 00042 typename TCellIdentifier = IdentifierType, 00043 typename TCellFeatureIdentifier = unsigned char, 00044 typename TPoint = QuadEdgeMeshPoint< TCoordRep, VPointDimension >, 00045 typename TPointsContainer = MapContainer< TPointIdentifier, TPoint >, 00046 typename TUsingCellsContainer = std::set< TPointIdentifier >, 00047 typename TQE = GeometricalQuadEdge< unsigned long, unsigned long, bool, bool, true > > 00048 class QuadEdgeMeshCellTraitsInfo 00049 { 00050 public: 00051 itkStaticConstMacro(PointDimension, unsigned int, VPointDimension); 00052 typedef TCoordRep CoordRepType; 00053 typedef TInterpolationWeight InterpolationWeightType; 00054 typedef TPointIdentifier PointIdentifier; 00055 typedef TCellIdentifier CellIdentifier; 00056 typedef TCellFeatureIdentifier CellFeatureIdentifier; 00057 typedef TPoint PointType; 00058 typedef TPointsContainer PointsContainer; 00059 typedef TUsingCellsContainer UsingCellsContainer; 00060 00061