go home Home | Main Page | Topics | 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
49
50template <typename TElastix>
51class ITK_TEMPLATE_EXPORT ImageSamplerBase : public BaseComponentSE<TElastix>
52{
53public:
55
59
62
64 using typename Superclass::ElastixType;
65 using typename Superclass::RegistrationType;
66
68 using InputImageType = typename ElastixType::FixedImageType;
69
72
76 {
77 return &(this->GetSelf());
78 }
79
80
82 const ITKBaseType *
84 {
85 return &(this->GetSelf());
86 }
87
89 void
91
96 void
98
99protected:
101 ImageSamplerBase() = default;
103 ~ImageSamplerBase() override = default;
104
105private:
107};
108
109} // end namespace elastix
110
111#ifndef ITK_MANUAL_INSTANTIATION
112# include "elxImageSamplerBase.hxx"
113#endif
114
115#endif // end #ifndef elxImageSamplerBase_h
typename ElastixType::RegistrationBaseType RegistrationType
virtual const itk::Object & GetSelf() const =0
void BeforeRegistrationBase() override
typename ElastixType::FixedImageType InputImageType
~ImageSamplerBase() override=default
const ITKBaseType * GetAsITKBaseType() const
itk::ImageSamplerBase< InputImageType > ITKBaseType
elxDeclarePureVirtualGetSelfMacro(ITKBaseType)
itkOverrideGetNameOfClassMacro(ImageSamplerBase)
ITK_DISALLOW_COPY_AND_MOVE(ImageSamplerBase)
BaseComponentSE< TElastix > Superclass
void BeforeEachResolutionBase() override
This class is a base class for any image sampler.


Generated on 26-02-2026 for elastix by doxygen 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) elastix logo