go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxImageSamplerBase.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
19#ifndef elxImageSamplerBase_h
20#define elxImageSamplerBase_h
21
23#include "elxMacro.h"
24
25#include "elxBaseComponentSE.h"
26
27#include "itkImageSamplerBase.h"
28
29namespace elastix
30{
31// using namespace itk; not here because itk::ImageSamplerBase exists also.
32
43template <class TElastix>
44class ITK_TEMPLATE_EXPORT ImageSamplerBase : public BaseComponentSE<TElastix>
45{
46public:
48
52
55
57 using typename Superclass::ElastixType;
58 using typename Superclass::RegistrationType;
59
61 using InputImageType = typename ElastixType::FixedImageType;
62
65
69 {
70 return &(this->GetSelf());
71 }
72
73
75 const ITKBaseType *
77 {
78 return &(this->GetSelf());
79 }
80
81
86 void
88
89protected:
91 ImageSamplerBase() = default;
93 ~ImageSamplerBase() override = default;
94
95private:
97};
98
99} // end namespace elastix
100
101#ifndef ITK_MANUAL_INSTANTIATION
102# include "elxImageSamplerBase.hxx"
103#endif
104
105#endif // end #ifndef elxImageSamplerBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
typename ElastixType::RegistrationBaseType RegistrationType
typename ElastixType::FixedImageType InputImageType
~ImageSamplerBase() override=default
const ITKBaseType * GetAsITKBaseType() const
elxDeclarePureVirtualGetSelfMacro(ITKBaseType)
ITK_DISALLOW_COPY_AND_MOVE(ImageSamplerBase)
void BeforeEachResolutionBase() override
This class is a base class for any image sampler.


Generated on Wed 12 Apr 2023 for elastix by doxygen 1.9.6 elastix logo