go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborInterpolator.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxNearestNeighborInterpolator_h
16 #define __elxNearestNeighborInterpolator_h
17 
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
40  template < class TElastix >
42  public
44  ITK_TYPENAME InterpolatorBase<TElastix>::InputImageType,
45  ITK_TYPENAME InterpolatorBase<TElastix>::CoordRepType >,
46  public
47  InterpolatorBase<TElastix>
48  {
49  public:
50 
57  typedef SmartPointer<Self> Pointer;
58  typedef SmartPointer<const Self> ConstPointer;
59 
61  itkNewMacro(Self);
62 
65 
70  elxClassNameMacro( "NearestNeighborInterpolator" );
71 
73  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
74 
76  typedef typename Superclass1::OutputType OutputType;
77  typedef typename Superclass1::InputImageType InputImageType;
78  typedef typename Superclass1::IndexType IndexType;
79  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
80  typedef typename Superclass1::PointType PointType;
81 
90 
91  protected:
92 
97 
98  private:
99 
101  NearestNeighborInterpolator( const Self& ); // purposely not implemented
103  void operator=( const Self& ); // purposely not implemented
104 
105  }; // end class NearestNeighborInterpolator
106 
107 
108 } // end namespace elastix
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "elxNearestNeighborInterpolator.hxx"
112 #endif
113 
114 #endif // end #ifndef __elxNearestNeighborInterpolator_h
115 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo