go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolator.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 __elxBSplineResampleInterpolator_h
16 #define __elxBSplineResampleInterpolator_h
17 
18 #include "itkBSplineInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23  using namespace itk;
24 
52  template < class TElastix >
54  public
56  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType,
57  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType,
58  double >, //CoefficientType
59  public ResampleInterpolatorBase<TElastix>
60  {
61  public:
62 
68  double > Superclass1;
70  typedef SmartPointer<Self> Pointer;
71  typedef SmartPointer<const Self> ConstPointer;
72 
74  itkNewMacro( Self );
75 
78 
83  elxClassNameMacro( "FinalBSplineInterpolator" );
84 
86  itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension );
87 
89  typedef typename Superclass1::OutputType OutputType;
90  typedef typename Superclass1::InputImageType InputImageType;
91  typedef typename Superclass1::IndexType IndexType;
92  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
93  typedef typename Superclass1::PointType PointType;
94  typedef typename Superclass1::Iterator Iterator;
95  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
96  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
97  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
98  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
99  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
100 
109 
113  virtual void BeforeRegistration( void );
114 
116  virtual void ReadFromFile( void );
117 
119  virtual void WriteToFile( void ) const;
120 
121  protected:
122 
127 
128  private:
129 
131  BSplineResampleInterpolator( const Self& ); // purposely not implemented
133  void operator=( const Self& ); // purposely not implemented
134 
135  }; // end class BSplineResampleInterpolator
136 
137 
138 } // end namespace elastix
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "elxBSplineResampleInterpolator.hxx"
142 #endif
143 
144 #endif // end __elxBSplineResampleInterpolator_h
145 


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