go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxFullSampler.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 elxFullSampler_h
19#define elxFullSampler_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkImageFullSampler.h"
23
24namespace elastix
25{
26
42
43template <typename TElastix>
44class ITK_TEMPLATE_EXPORT FullSampler
45 : public itk::ImageFullSampler<typename elx::ImageSamplerBase<TElastix>::InputImageType>
46 , public elx::ImageSamplerBase<TElastix>
47{
48public:
50
55 using Pointer = itk::SmartPointer<Self>;
56 using ConstPointer = itk::SmartPointer<const Self>;
57
59 itkNewMacro(Self);
60
63
69
71 using typename Superclass1::DataObjectPointer;
72 using typename Superclass1::OutputVectorContainerType;
73 using typename Superclass1::OutputVectorContainerPointer;
74 using typename Superclass1::InputImageType;
75 using typename Superclass1::InputImagePointer;
76 using typename Superclass1::InputImageConstPointer;
77 using typename Superclass1::InputImageRegionType;
78 using typename Superclass1::InputImagePixelType;
79 using typename Superclass1::ImageSampleType;
80 using typename Superclass1::ImageSampleContainerType;
81 using typename Superclass1::MaskType;
82 using typename Superclass1::InputImageIndexType;
83 using typename Superclass1::InputImagePointType;
84
86 itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension);
87
89 using typename Superclass2::ElastixType;
90 using typename Superclass2::RegistrationType;
91 using ITKBaseType = typename Superclass2::ITKBaseType;
92
93protected:
95 FullSampler() = default;
97 ~FullSampler() override = default;
98
99private:
101};
102
103} // end namespace elastix
104
105#ifndef ITK_MANUAL_INSTANTIATION
106# include "elxFullSampler.hxx"
107#endif
108
109#endif // end #ifndef elxFullSampler_h
~FullSampler() override=default
ITK_DISALLOW_COPY_AND_MOVE(FullSampler)
itk::ImageFullSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
itkOverrideGetNameOfClassMacro(FullSampler)
typename Superclass2::ITKBaseType ITKBaseType
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
elx::ImageSamplerBase< TElastix > Superclass2
Samples all voxels in the InputImageRegion.
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