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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxImageSamplerBase_h
16 #define __elxImageSamplerBase_h
17 
19 #include "elxMacro.h"
20 
21 #include "elxBaseComponentSE.h"
22 
23 #include "itkImageSamplerBase.h"
24 
25 namespace elastix
26 {
27 //using namespace itk; not here because itk::ImageSamplerBase exists also.
28 
39 template< class TElastix >
40 class ImageSamplerBase : public BaseComponentSE< TElastix >
41 {
42 public:
43 
47 
50 
52  typedef typename Superclass::ElastixType ElastixType;
58 
60  typedef typename ElastixType::FixedImageType InputImageType;
61 
64 
66  virtual ITKBaseType * GetAsITKBaseType( void )
67  {
68  return dynamic_cast< ITKBaseType * >( this );
69  }
70 
71 
73  virtual const ITKBaseType * GetAsITKBaseType( void ) const
74  {
75  return dynamic_cast< const ITKBaseType * >( this );
76  }
77 
78 
83  virtual void BeforeEachResolutionBase( void );
84 
85 protected:
86 
90  virtual ~ImageSamplerBase() {}
91 
92 private:
93 
95  ImageSamplerBase( const Self & ); // purposely not implemented
97  void operator=( const Self & ); // purposely not implemented
98 
99 };
100 
101 } // end namespace elastix
102 
103 #ifndef ITK_MANUAL_INSTANTIATION
104 #include "elxImageSamplerBase.hxx"
105 #endif
106 
107 #endif // end #ifndef __elxImageSamplerBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Superclass::ElastixType ElastixType
Superclass::ElastixPointer ElastixPointer
ElastixType::RegistrationBaseType RegistrationType
ElastixType::ConfigurationPointer ConfigurationPointer
ElastixType::Pointer ElastixPointer
ElastixType::ConfigurationType ConfigurationType
virtual ITKBaseType * GetAsITKBaseType(void)
Superclass::RegistrationType RegistrationType
Superclass::ConfigurationPointer ConfigurationPointer
RegistrationType * RegistrationPointer
This class is a base class for any image sampler.
Superclass::ConfigurationType ConfigurationType
BaseComponentSE< TElastix > Superclass
virtual const ITKBaseType * GetAsITKBaseType(void) const
Superclass::RegistrationPointer RegistrationPointer
itk::ImageSamplerBase< InputImageType > ITKBaseType
ElastixType::FixedImageType InputImageType
void operator=(const Self &)


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo