go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxMyStandardResampler.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 __elxMyStandardResampler_h
19 #define __elxMyStandardResampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkResampleImageFilter.h"
23 
24 namespace elastix
25 {
26 
38 template< class TElastix >
40  public ResamplerBase< TElastix >::ITKBaseType,
41  public ResamplerBase< TElastix >
42 {
43 public:
44 
49  typedef itk::SmartPointer< Self > Pointer;
50  typedef itk::SmartPointer< const Self > ConstPointer;
51 
53  itkNewMacro( Self );
54 
56  itkTypeMacro( MyStandardResampler, ResampleImageFilter );
57 
62  elxClassNameMacro( "DefaultResampler" );
63 
65  typedef typename Superclass1::InputImageType InputImageType;
66  typedef typename Superclass1::OutputImageType OutputImageType;
67  typedef typename Superclass1::InputImagePointer InputImagePointer;
68  typedef typename Superclass1::OutputImagePointer OutputImagePointer;
69  typedef typename Superclass1::InputImageRegionType InputImageRegionType;
70  typedef typename Superclass1::TransformType TransformType;
71  typedef typename Superclass1::TransformPointerType TransformPointerType;
72  typedef typename Superclass1::InterpolatorType InterpolatorType;
73  typedef typename Superclass1::InterpolatorPointerType InterpolatePointerType;
74  typedef typename Superclass1::SizeType SizeType;
75  typedef typename Superclass1::IndexType IndexType;
76  typedef typename Superclass1::PointType PointType;
77  typedef typename Superclass1::PixelType PixelType;
78  typedef typename Superclass1::OutputImageRegionType OutputImageRegionType;
79  typedef typename Superclass1::SpacingType SpacingType;
80  typedef typename Superclass1::OriginPointType OriginPointType;
81 
90 
91  /* Nothing to add. In the baseclass already everything is done what should be done. */
92 
93 protected:
94 
98  virtual ~MyStandardResampler() {}
99 
100 private:
101 
103  MyStandardResampler( 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 "elxMyStandardResampler.hxx"
113 #endif
114 
115 #endif // end #ifndef __elxMyStandardResampler_h
elastix::ResamplerBase::ITKBaseType
itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > ITKBaseType
Definition: elxResamplerBase.h:101
elastix::MyStandardResampler::InterpolatePointerType
Superclass1::InterpolatorPointerType InterpolatePointerType
Definition: elxMyStandardResampler.h:73
elastix::MyStandardResampler::SizeType
Superclass1::SizeType SizeType
Definition: elxMyStandardResampler.h:74
elastix::ResamplerBase
Definition: elxResamplerBase.h:74
elastix::MyStandardResampler::TransformPointerType
Superclass1::TransformPointerType TransformPointerType
Definition: elxMyStandardResampler.h:71
elastix::ResamplerBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxResamplerBase.h:87
elastix::MyStandardResampler::PointType
Superclass1::PointType PointType
Definition: elxMyStandardResampler.h:76
elastix::ResamplerBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxResamplerBase.h:89
elastix::MyStandardResampler::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxMyStandardResampler.h:84
elastix::MyStandardResampler::OutputImageType
Superclass1::OutputImageType OutputImageType
Definition: elxMyStandardResampler.h:66
elastix::MyStandardResampler::OutputImagePointer
Superclass1::OutputImagePointer OutputImagePointer
Definition: elxMyStandardResampler.h:68
elastix::MyStandardResampler::~MyStandardResampler
virtual ~MyStandardResampler()
Definition: elxMyStandardResampler.h:98
elastix::MyStandardResampler::InterpolatorType
Superclass1::InterpolatorType InterpolatorType
Definition: elxMyStandardResampler.h:72
elastix::MyStandardResampler::MyStandardResampler
MyStandardResampler(const Self &)
elastix::MyStandardResampler::operator=
void operator=(const Self &)
elastix::MyStandardResampler::OriginPointType
Superclass1::OriginPointType OriginPointType
Definition: elxMyStandardResampler.h:80
elastix::ResamplerBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxResamplerBase.h:82
elastix::MyStandardResampler::OutputImageRegionType
Superclass1::OutputImageRegionType OutputImageRegionType
Definition: elxMyStandardResampler.h:78
elastix::MyStandardResampler::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxMyStandardResampler.h:49
elastix::ResamplerBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxResamplerBase.h:86
elastix::MyStandardResampler::MyStandardResampler
MyStandardResampler()
Definition: elxMyStandardResampler.h:96
elastix::MyStandardResampler::IndexType
Superclass1::IndexType IndexType
Definition: elxMyStandardResampler.h:75
elastix::MyStandardResampler::TransformType
Superclass1::TransformType TransformType
Definition: elxMyStandardResampler.h:70
elastix::ResamplerBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxResamplerBase.h:90
elastix::MyStandardResampler::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxMyStandardResampler.h:86
elastix::MyStandardResampler::InputImagePointer
Superclass1::InputImagePointer InputImagePointer
Definition: elxMyStandardResampler.h:67
elastix::MyStandardResampler::SpacingType
Superclass1::SpacingType SpacingType
Definition: elxMyStandardResampler.h:79
elastix::MyStandardResampler::InputImageRegionType
Superclass1::InputImageRegionType InputImageRegionType
Definition: elxMyStandardResampler.h:69
elastix::MyStandardResampler::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxMyStandardResampler.h:87
elastix::MyStandardResampler
A resampler based on the itk::ResampleImageFilter.
Definition: elxMyStandardResampler.h:42
elastix::MyStandardResampler::elxClassNameMacro
elxClassNameMacro("DefaultResampler")
elastix::MyStandardResampler::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxMyStandardResampler.h:85
elxIncludes.h
elastix::MyStandardResampler::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxMyStandardResampler.h:50
elastix::MyStandardResampler::Superclass2
ResamplerBase< TElastix > Superclass2
Definition: elxMyStandardResampler.h:48
elastix::ResamplerBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxResamplerBase.h:88
elastix::MyStandardResampler::Superclass1
ResamplerBase< TElastix >::ITKBaseType Superclass1
Definition: elxMyStandardResampler.h:47
elastix::MyStandardResampler::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxMyStandardResampler.h:65
elastix::MyStandardResampler::Self
MyStandardResampler Self
Definition: elxMyStandardResampler.h:46
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::MyStandardResampler::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxMyStandardResampler.h:83
elastix::MyStandardResampler::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxMyStandardResampler.h:88
elastix::MyStandardResampler::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxMyStandardResampler.h:89
elastix::MyStandardResampler::PixelType
Superclass1::PixelType PixelType
Definition: elxMyStandardResampler.h:77


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo