go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRayCastResampleInterpolator.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 __elxRayCastResampleInterpolator_h
19 #define __elxRayCastResampleInterpolator_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
24 #include "itkAdvancedTransform.h"
25 #include "itkEulerTransform.h"
26 
27 namespace elastix
28 {
29 
37 template< class TElastix >
39  public
41  typename ResampleInterpolatorBase< TElastix >::InputImageType,
42  typename ResampleInterpolatorBase< TElastix >::CoordRepType >,
43  public ResampleInterpolatorBase< TElastix >
44 {
45 public:
46 
53  typedef itk::SmartPointer< Self > Pointer;
54  typedef itk::SmartPointer< const Self > ConstPointer;
55 
57  itkNewMacro( Self );
58 
61 
66  elxClassNameMacro( "FinalRayCastInterpolator" );
67 
69  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
70 
77  typedef typename Superclass1::SizeType SizeType;
78  typedef typename InputImageType::SpacingType SpacingType;
79 
88 
90  typedef typename itk::EulerTransform<
91  typename InterpolatorBase< TElastix >::CoordRepType, ImageDimension >
95  typedef typename itk::AdvancedTransform<
97  itkGetStaticConstMacro( ImageDimension ),
98  itkGetStaticConstMacro( ImageDimension ) > AdvancedTransformType;
100  typedef typename itk::AdvancedCombinationTransform<
102  itkGetStaticConstMacro( ImageDimension ) > CombinationTransformType;
104 
105  virtual int BeforeAll( void );
106 
107  virtual void BeforeRegistration( void );
108 
110  virtual void ReadFromFile( void );
111 
113  virtual void WriteToFile( void ) const;
114 
115 protected:
116 
119 
122 
127 
128 private:
129 
131  RayCastResampleInterpolator( const Self & ); // purposely not implemented
132 
134  void operator=( const Self & ); // purposely not implemented
135 
139 
140 };
141 
142 } // end namespace elastix
143 
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "elxRayCastResampleInterpolator.hxx"
146 #endif
147 
148 #endif // end __elxRayCastResampleInterpolator_h
elastix::RayCastResampleInterpolator::RayCastResampleInterpolator
RayCastResampleInterpolator()
Definition: elxRayCastResampleInterpolator.h:118
elastix::ResampleInterpolatorBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxResampleInterpolatorBase.h:51
itkAdvancedTransform.h
itk::EulerTransform::ParametersType
Superclass::ParametersType ParametersType
Definition: itkEulerTransform.h:168
elastix::RayCastResampleInterpolator::EulerTransformType
itk::EulerTransform< typename InterpolatorBase< TElastix >::CoordRepType, ImageDimension > EulerTransformType
Definition: elxRayCastResampleInterpolator.h:92
elastix::RayCastResampleInterpolator::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
SmartPointer< Self >
elastix::RayCastResampleInterpolator::ContinuousIndexType
Superclass1::ContinuousIndexType ContinuousIndexType
Definition: elxRayCastResampleInterpolator.h:75
elastix::RayCastResampleInterpolator::OutputType
Superclass1::OutputType OutputType
Definition: elxRayCastResampleInterpolator.h:72
elastix::RayCastResampleInterpolator::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxRayCastResampleInterpolator.h:86
elastix::ResampleInterpolatorBase::InputImageType
ElastixType::MovingImageType InputImageType
Definition: elxResampleInterpolatorBase.h:62
itkAdvancedCombinationTransform.h
elastix::ResampleInterpolatorBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxResampleInterpolatorBase.h:55
elastix::RayCastResampleInterpolator::RayCastResampleInterpolator
RayCastResampleInterpolator(const Self &)
elastix::RayCastResampleInterpolator::IndexType
Superclass1::IndexType IndexType
Definition: elxRayCastResampleInterpolator.h:74
elastix::RayCastResampleInterpolator::BeforeAll
virtual int BeforeAll(void)
elastix::RayCastResampleInterpolator::CombinationTransformPointer
CombinationTransformType::Pointer CombinationTransformPointer
Definition: elxRayCastResampleInterpolator.h:103
elastix::InterpolatorBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxInterpolatorBase.h:64
elastix::RayCastResampleInterpolator::m_PreTransform
EulerTransformPointer m_PreTransform
Definition: elxRayCastResampleInterpolator.h:136
elastix::RayCastResampleInterpolator::m_CombinationTransform
CombinationTransformPointer m_CombinationTransform
Definition: elxRayCastResampleInterpolator.h:138
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition: itkAdvancedCombinationTransform.h:58
elastix::RayCastResampleInterpolator::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxRayCastResampleInterpolator.h:83
itkEulerTransform.h
elastix::RayCastResampleInterpolator::InitializeRayCastInterpolator
void InitializeRayCastInterpolator(void)
elastix::RayCastResampleInterpolator::BeforeRegistration
virtual void BeforeRegistration(void)
itk::AdvancedRayCastInterpolateImageFunction::InputImageType
Superclass::InputImageType InputImageType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:104
elastix::ResampleInterpolatorBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxResampleInterpolatorBase.h:57
elastix::RayCastResampleInterpolator::m_PreParameters
TransformParametersType m_PreParameters
Definition: elxRayCastResampleInterpolator.h:137
elastix::RayCastResampleInterpolator::PointType
Superclass1::PointType PointType
Definition: elxRayCastResampleInterpolator.h:76
itk::AdvancedRayCastInterpolateImageFunction
Projective interpolation of an image at specified positions.
Definition: itkAdvancedRayCastInterpolateImageFunction.h:58
itk::AdvancedRayCastInterpolateImageFunction::SizeType
TInputImage::SizeType SizeType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:85
elastix::RayCastResampleInterpolator::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxRayCastResampleInterpolator.h:53
itk::AdvancedRayCastInterpolateImageFunction::ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:119
itk::AdvancedRayCastInterpolateImageFunction::OutputType
Superclass::OutputType OutputType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:98
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space.
Definition: itkAdvancedTransform.h:87
elastix::RayCastResampleInterpolator
An interpolator based on ...
Definition: elxRayCastResampleInterpolator.h:44
elastix::RayCastResampleInterpolator::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxRayCastResampleInterpolator.h:84
elastix::RayCastResampleInterpolator::ReadFromFile
virtual void ReadFromFile(void)
elastix::RayCastResampleInterpolator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxRayCastResampleInterpolator.h:54
itkAdvancedRayCastInterpolateImageFunction.h
elastix::RayCastResampleInterpolator::EulerTransformPointer
EulerTransformType::Pointer EulerTransformPointer
Definition: elxRayCastResampleInterpolator.h:94
elastix::ResampleInterpolatorBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxResampleInterpolatorBase.h:63
elastix::ResampleInterpolatorBase
This class is the elastix base class for all ResampleInterpolators.
Definition: elxResampleInterpolatorBase.h:43
elastix::RayCastResampleInterpolator::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxRayCastResampleInterpolator.h:85
elxIncludes.h
elastix::RayCastResampleInterpolator::Superclass1
itk::AdvancedRayCastInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
Definition: elxRayCastResampleInterpolator.h:51
elastix::RayCastResampleInterpolator::AdvancedTransformPointer
AdvancedTransformType::Pointer AdvancedTransformPointer
Definition: elxRayCastResampleInterpolator.h:99
elastix::RayCastResampleInterpolator::TransformParametersType
EulerTransformType::ParametersType TransformParametersType
Definition: elxRayCastResampleInterpolator.h:93
elastix::RayCastResampleInterpolator::WriteToFile
virtual void WriteToFile(void) const
itk::EulerTransform
This class combines the Euler2DTransform with the Euler3DTransform.
Definition: itkEulerTransform.h:144
elastix::RayCastResampleInterpolator::Superclass2
ResampleInterpolatorBase< TElastix > Superclass2
Definition: elxRayCastResampleInterpolator.h:52
elastix::RayCastResampleInterpolator::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxRayCastResampleInterpolator.h:82
elastix::ResampleInterpolatorBase::ITKBaseType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Definition: elxResampleInterpolatorBase.h:67
elastix::RayCastResampleInterpolator::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxRayCastResampleInterpolator.h:87
elastix::ResampleInterpolatorBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxResampleInterpolatorBase.h:59
elastix::RayCastResampleInterpolator::~RayCastResampleInterpolator
virtual ~RayCastResampleInterpolator()
Definition: elxRayCastResampleInterpolator.h:121
elastix::RayCastResampleInterpolator::CombinationTransformType
itk::AdvancedCombinationTransform< typename InterpolatorBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ImageDimension) > CombinationTransformType
Definition: elxRayCastResampleInterpolator.h:102
elastix::RayCastResampleInterpolator::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxRayCastResampleInterpolator.h:73
elastix::ResampleInterpolatorBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxResampleInterpolatorBase.h:56
elastix::RayCastResampleInterpolator::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxRayCastResampleInterpolator.h:81
itk::AdvancedRayCastInterpolateImageFunction::PointType
Superclass::PointType PointType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:113
elastix::RayCastResampleInterpolator::elxClassNameMacro
elxClassNameMacro("FinalRayCastInterpolator")
elastix::RayCastResampleInterpolator::Self
RayCastResampleInterpolator Self
Definition: elxRayCastResampleInterpolator.h:48
elastix::RayCastResampleInterpolator::SizeType
Superclass1::SizeType SizeType
Definition: elxRayCastResampleInterpolator.h:77
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::RayCastResampleInterpolator::SpacingType
InputImageType::SpacingType SpacingType
Definition: elxRayCastResampleInterpolator.h:78
itk::AdvancedRayCastInterpolateImageFunction::IndexType
Superclass::IndexType IndexType
Definition: itkAdvancedRayCastInterpolateImageFunction.h:116
elastix::RayCastResampleInterpolator::operator=
void operator=(const Self &)
elastix::ResampleInterpolatorBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxResampleInterpolatorBase.h:58
elastix::RayCastResampleInterpolator::AdvancedTransformType
itk::AdvancedTransform< typename InterpolatorBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > AdvancedTransformType
Definition: elxRayCastResampleInterpolator.h:98


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo