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 ImageSamplerBase : public BaseComponentSE< TElastix >
45{
46public:
47
51
54
62
64 typedef typename ElastixType::FixedImageType InputImageType;
65
68
70 virtual ITKBaseType * GetAsITKBaseType( void )
71 {
72 return dynamic_cast< ITKBaseType * >( this );
73 }
74
75
77 virtual const ITKBaseType * GetAsITKBaseType( void ) const
78 {
79 return dynamic_cast< const ITKBaseType * >( this );
80 }
81
82
87 void BeforeEachResolutionBase( void ) override;
88
89protected:
90
94 ~ImageSamplerBase() override {}
95
96private:
97
99 ImageSamplerBase( const Self & ); // purposely not implemented
101 void operator=( const Self & ); // purposely not implemented
102
103};
104
105} // end namespace elastix
106
107#ifndef ITK_MANUAL_INSTANTIATION
108#include "elxImageSamplerBase.hxx"
109#endif
110
111#endif // end #ifndef __elxImageSamplerBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Configuration::Pointer ConfigurationPointer
itk::WeakPointer< ElastixType > ElastixPointer
RegistrationType * RegistrationPointer
ElastixType::RegistrationBaseType RegistrationType
A class that deals with user given parameters and command line arguments.
itk::ImageSamplerBase< InputImageType > ITKBaseType
Superclass::RegistrationType RegistrationType
Superclass::ConfigurationType ConfigurationType
Superclass::ElastixPointer ElastixPointer
Superclass::ElastixType ElastixType
BaseComponentSE< TElastix > Superclass
ElastixType::FixedImageType InputImageType
ImageSamplerBase(const Self &)
void operator=(const Self &)
Superclass::RegistrationPointer RegistrationPointer
virtual const ITKBaseType * GetAsITKBaseType(void) const
virtual ITKBaseType * GetAsITKBaseType(void)
void BeforeEachResolutionBase(void) override
Superclass::ConfigurationPointer ConfigurationPointer
This class is a base class for any image sampler.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo