go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxLinearResampleInterpolator.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 __elxLinearResampleInterpolator_h
19 #define __elxLinearResampleInterpolator_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 >
45  public
46  itk::LinearInterpolateImageFunction<
47  typename ResampleInterpolatorBase< TElastix >::InputImageType,
48  typename ResampleInterpolatorBase< TElastix >::CoordRepType >,
49  public ResampleInterpolatorBase< TElastix >
50 {
51 public:
52 
55  typedef itk::LinearInterpolateImageFunction<
59  typedef itk::SmartPointer< Self > Pointer;
60  typedef itk::SmartPointer< const Self > ConstPointer;
61 
63  itkNewMacro( Self );
64 
66  itkTypeMacro( LinearResampleInterpolator, itk::LinearInterpolateImageFunction );
67 
72  elxClassNameMacro( "FinalLinearInterpolator" );
73 
75  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
76 
78  typedef typename Superclass1::OutputType OutputType;
79  typedef typename Superclass1::InputImageType InputImageType;
80  typedef typename Superclass1::IndexType IndexType;
81  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
82 
91 
92 protected:
93 
98 
99 private:
100 
102  LinearResampleInterpolator( const Self & ); // purposely not implemented
104  void operator=( const Self & ); // purposely not implemented
105 
106 };
107 
108 } // end namespace elastix
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "elxLinearResampleInterpolator.hxx"
112 #endif
113 
114 #endif // end __elxLinearResampleInterpolator_h
Superclass::RegistrationType RegistrationType
ElastixType::MovingImageType InputImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::RegistrationType RegistrationType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ConfigurationType ConfigurationType
ResampleInterpolatorBase< TElastix > Superclass2
itk::LinearInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
Superclass::ConfigurationPointer ConfigurationPointer
itk::SmartPointer< const Self > ConstPointer
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
elxClassNameMacro("FinalLinearInterpolator")
Superclass1::ContinuousIndexType ContinuousIndexType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)


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