go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineInterpolator.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 __elxBSplineInterpolator_h
16 #define __elxBSplineInterpolator_h
17 
18 #include "itkBSplineInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
48  template < class TElastix >
50  public
52  ITK_TYPENAME InterpolatorBase<TElastix>::InputImageType,
53  ITK_TYPENAME InterpolatorBase<TElastix>::CoordRepType,
54  double > , //CoefficientType
55  public
56  InterpolatorBase<TElastix>
57  {
58  public:
59 
65  double > Superclass1;
67  typedef SmartPointer<Self> Pointer;
68  typedef SmartPointer<const Self> ConstPointer;
69 
71  itkNewMacro( Self );
72 
75 
80  elxClassNameMacro( "BSplineInterpolator" );
81 
83  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
84 
86  typedef typename Superclass1::OutputType OutputType;
87  typedef typename Superclass1::InputImageType InputImageType;
88  typedef typename Superclass1::IndexType IndexType;
89  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
90  typedef typename Superclass1::PointType PointType;
91  typedef typename Superclass1::Iterator Iterator;
92  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
93  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
94  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
95  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
96  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
97 
106 
110  virtual void BeforeEachResolution( void );
111 
112  protected:
113 
117  virtual ~BSplineInterpolator() {}
118 
119  private:
120 
122  BSplineInterpolator( const Self& ); // purposely not implemented
124  void operator=( const Self& ); // purposely not implemented
125 
126  }; // end class BSplineInterpolator
127 
128 
129 } // end namespace elastix
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "elxBSplineInterpolator.hxx"
133 #endif
134 
135 #endif // end #ifndef __elxBSplineInterpolator_h
136 


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo