go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineInterpolatorFloat.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxBSplineInterpolatorFloat_h
19 #define __elxBSplineInterpolatorFloat_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkBSplineInterpolateImageFunction.h"
23 
24 namespace elastix
25 {
26 
49 template< class TElastix >
51  public
52  itk::BSplineInterpolateImageFunction<
53  typename InterpolatorBase< TElastix >::InputImageType,
54  typename InterpolatorBase< TElastix >::CoordRepType,
55  float >, //CoefficientType
56  public
57  InterpolatorBase< TElastix >
58 {
59 public:
60 
63  typedef itk::BSplineInterpolateImageFunction<
66  float > Superclass1;
68  typedef itk::SmartPointer< Self > Pointer;
69  typedef itk::SmartPointer< const Self > ConstPointer;
70 
72  itkNewMacro( Self );
73 
75  itkTypeMacro( BSplineInterpolatorFloat, BSplineInterpolateImageFunction );
76 
81  elxClassNameMacro( "BSplineInterpolatorFloat" );
82 
84  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
85 
87  typedef typename Superclass1::OutputType OutputType;
88  typedef typename Superclass1::InputImageType InputImageType;
89  typedef typename Superclass1::IndexType IndexType;
90  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
91  typedef typename Superclass1::PointType PointType;
92  typedef typename Superclass1::Iterator Iterator;
93  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
94  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
95  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
96  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
97  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
98 
107 
111  virtual void BeforeEachResolution( void );
112 
113 protected:
114 
119 
120 private:
121 
123  BSplineInterpolatorFloat( const Self & ); // purposely not implemented
125  void operator=( const Self & ); // purposely not implemented
126 
127 };
128 
129 } // end namespace elastix
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "elxBSplineInterpolatorFloat.hxx"
133 #endif
134 
135 #endif // end #ifndef __elxBSplineInterpolatorFloat_h
Superclass::ElastixType ElastixType
InterpolatorBase< TElastix > Superclass2
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
Superclass2::ConfigurationType ConfigurationType
Superclass2::ConfigurationPointer ConfigurationPointer
An interpolator based on the itk::BSplineInterpolateImageFunction.
itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, float > Superclass1
Superclass1::CoefficientImageType CoefficientImageType
Superclass::ConfigurationType ConfigurationType
ElastixType::CoordRepType CoordRepType
This class is the elastix base class for all Interpolators.
virtual void BeforeEachResolution(void)
Superclass1::InputImageType InputImageType
elxClassNameMacro("BSplineInterpolatorFloat")
ElastixType::MovingImageType InputImageType
Superclass2::RegistrationType RegistrationType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::ContinuousIndexType ContinuousIndexType
Superclass1::CoefficientDataType CoefficientDataType
Superclass1::CoefficientFilter CoefficientFilter
Superclass1::CovariantVectorType CovariantVectorType
itk::SmartPointer< const Self > ConstPointer
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo