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
24namespace elastix
25{
26
38template <class TElastix>
39class ITK_TEMPLATE_EXPORT MyStandardResampler
40 : public ResamplerBase<TElastix>::ITKBaseType
41 , public ResamplerBase<TElastix>
42{
43public:
45
50 using Pointer = itk::SmartPointer<Self>;
51 using ConstPointer = itk::SmartPointer<const Self>;
52
54 itkNewMacro(Self);
55
57 itkTypeMacro(MyStandardResampler, ResampleImageFilter);
58
63 elxClassNameMacro("DefaultResampler");
64
66 using typename Superclass1::InputImageType;
67 using typename Superclass1::OutputImageType;
68 using typename Superclass1::InputImagePointer;
69 using typename Superclass1::OutputImagePointer;
70 using typename Superclass1::InputImageRegionType;
71 using typename Superclass1::TransformType;
72 using typename Superclass1::TransformPointerType;
73 using typename Superclass1::InterpolatorType;
74 using typename Superclass1::InterpolatorPointerType;
75 using typename Superclass1::SizeType;
76 using typename Superclass1::IndexType;
77 using typename Superclass1::PixelType;
78 using typename Superclass1::OutputImageRegionType;
79 using typename Superclass1::SpacingType;
80 using typename Superclass1::OriginPointType;
81
83 using typename Superclass2::ElastixType;
84 using typename Superclass2::RegistrationType;
86
87 /* Nothing to add. In the baseclass already everything is done what should be done. */
88
89protected:
93 ~MyStandardResampler() override = default;
94
95private:
97};
98
99} // end namespace elastix
100
101#ifndef ITK_MANUAL_INSTANTIATION
102# include "elxMyStandardResampler.hxx"
103#endif
104
105#endif // end #ifndef elxMyStandardResampler_h
A resampler based on the itk::ResampleImageFilter.
itk::SmartPointer< Self > Pointer
typename Superclass2::ITKBaseType ITKBaseType
ITK_DISALLOW_COPY_AND_MOVE(MyStandardResampler)
itk::SmartPointer< const Self > ConstPointer
typename ResamplerBase< TElastix >::ITKBaseType Superclass1
~MyStandardResampler() override=default
elxClassNameMacro("DefaultResampler")
typename ElastixType::RegistrationBaseType RegistrationType
itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > ITKBaseType


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo