go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxLinearInterpolator.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 __elxLinearInterpolator_h
19 #define __elxLinearInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkLinearInterpolateImageFunction.h"
23 
24 namespace elastix
25 {
26 
43 template< class TElastix >
46  typename InterpolatorBase< TElastix >::InputImageType,
47  typename InterpolatorBase< TElastix >::CoordRepType >,
48  public InterpolatorBase< TElastix >
49 {
50 public:
51 
59  typedef itk::SmartPointer< Self > Pointer;
60  typedef itk::SmartPointer< const Self > ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "LinearInterpolator" );
73 
75  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
76 
82  typedef typename Superclass1::PointType PointType;
83 
92 
93 protected:
94 
98  virtual ~LinearInterpolator() {}
99 
100 private:
101 
103  LinearInterpolator( const Self & ); // purposely not implemented
105  void operator=( const Self & ); // purposely not implemented
106 
107 };
108 
109 } // end namespace elastix
110 
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #include "elxLinearInterpolator.hxx"
113 #endif
114 
115 #endif // end #ifndef __elxLinearInterpolator_h
Superclass2::RegistrationPointer RegistrationPointer
itk::AdvancedLinearInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > Superclass1
elxClassNameMacro("LinearInterpolator")
Superclass::ElastixType ElastixType
Superclass1::OutputType OutputType
Superclass1::ContinuousIndexType ContinuousIndexType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
itk::SmartPointer< Self > Pointer
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
Superclass2::ITKBaseType ITKBaseType
InterpolatorBase< TElastix > Superclass2
Superclass2::ConfigurationType ConfigurationType
An interpolator based on the itk::AdvancedLinearInterpolateImageFunction.
void operator=(const Self &)
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Superclass2::ElastixType ElastixType
Superclass::ConfigurationType ConfigurationType
itk::SmartPointer< const Self > ConstPointer
ElastixType::CoordRepType CoordRepType
This class is the elastix base class for all Interpolators.
Superclass1::IndexType IndexType
ElastixType::MovingImageType InputImageType
Superclass2::RegistrationType RegistrationType
Superclass1::PointType PointType
Superclass2::ElastixPointer ElastixPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::InputImageType InputImageType
Linearly interpolate an image at specified positions.


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