go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborResampleInterpolator.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 __elxNearestNeighborResampleInterpolator_h
16 #define __elxNearestNeighborResampleInterpolator_h
17 
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23  using namespace itk;
24 
41  template < class TElastix >
43  public
45  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType,
46  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType >,
47  public ResampleInterpolatorBase<TElastix>
48  {
49  public:
50 
57  typedef SmartPointer<Self> Pointer;
58  typedef SmartPointer<const Self> ConstPointer;
59 
61  itkNewMacro( Self );
62 
65 
70  elxClassNameMacro( "FinalNearestNeighborInterpolator" );
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 
89 
90  protected:
91 
96 
97  private:
98 
100  NearestNeighborResampleInterpolator( const Self& ); // purposely not implemented
102  void operator=( const Self& ); // purposely not implemented
103 
104  }; // end class NearestNeighborResampleInterpolator
105 
106 
107 } // end namespace elastix
108 
109 #ifndef ITK_MANUAL_INSTANTIATION
110 #include "elxNearestNeighborResampleInterpolator.hxx"
111 #endif
112 
113 #endif // end __elxNearestNeighborResampleInterpolator_h
114 


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