go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolatorFloat.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 __elxBSplineResampleInterpolatorFloat_h
16 #define __elxBSplineResampleInterpolatorFloat_h
17 
18 #include "itkBSplineInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23  using namespace itk;
24 
51  template < class TElastix >
53  public
55  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType,
56  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType,
57  float >, //CoefficientType
58  public ResampleInterpolatorBase<TElastix>
59  {
60  public:
61 
67  float > Superclass1;
69  typedef SmartPointer<Self> Pointer;
70  typedef SmartPointer<const Self> ConstPointer;
71 
73  itkNewMacro( Self );
74 
77 
82  elxClassNameMacro( "FinalBSplineInterpolatorFloat" );
83 
85  itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension );
86 
88  typedef typename Superclass1::OutputType OutputType;
89  typedef typename Superclass1::InputImageType InputImageType;
90  typedef typename Superclass1::IndexType IndexType;
91  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
92  typedef typename Superclass1::PointType PointType;
93  typedef typename Superclass1::Iterator Iterator;
94  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
95  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
96  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
97  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
98  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
99 
108 
112  virtual void BeforeRegistration( void );
113 
115  virtual void ReadFromFile( void );
116 
118  virtual void WriteToFile( void ) const;
119 
120  protected:
121 
126 
127  private:
128 
130  BSplineResampleInterpolatorFloat( const Self& ); // purposely not implemented
132  void operator=( const Self& ); // purposely not implemented
133 
134  }; // end class BSplineResampleInterpolatorFloat
135 
136 
137 } // end namespace elastix
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "elxBSplineResampleInterpolatorFloat.hxx"
141 #endif
142 
143 #endif // end __elxBSplineResampleInterpolatorFloat_h
144 
BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, float > Superclass1
Superclass::RegistrationType RegistrationType
InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
ElastixType::MovingImageType InputImageType
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
A resample-interpolator based on B-splines.
Superclass::ConfigurationType ConfigurationType


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo