go home Home | Main Page | Modules | 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  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 __elxFullSampler_h
16 #define __elxFullSampler_h
17 
18 #include "itkImageFullSampler.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
42  template < class TElastix >
43  class FullSampler :
44  public
46  ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
47  public
48  elx::ImageSamplerBase<TElastix>
49  {
50  public:
51 
53  typedef FullSampler Self;
54  typedef ImageFullSampler<
57  typedef SmartPointer<Self> Pointer;
58  typedef SmartPointer<const Self> ConstPointer;
59 
61  itkNewMacro(Self);
62 
64  itkTypeMacro( FullSampler, ImageFullSampler );
65 
70  elxClassNameMacro( "Full" );
71 
83  typedef typename Superclass1::MaskType MaskType;
86 
88  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
89 
91  typedef typename Superclass2::ElastixType ElastixType;
92  typedef typename Superclass2::ElastixPointer ElastixPointer;
93  typedef typename Superclass2::ConfigurationType ConfigurationType;
94  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
95  typedef typename Superclass2::RegistrationType RegistrationType;
96  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
97  typedef typename Superclass2::ITKBaseType ITKBaseType;
98 
99  protected:
100 
104  virtual ~FullSampler() {}
105 
106  private:
107 
109  FullSampler( const Self& ); // purposely not implemented
111  void operator=( const Self& ); // purposely not implemented
112 
113  }; // end class FullSampler
114 
115 
116 } // end namespace elastix
117 
118 #ifndef ITK_MANUAL_INSTANTIATION
119 #include "elxFullSampler.hxx"
120 #endif
121 
122 #endif // end #ifndef __elxFullSampler_h
123 


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo