go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomSamplerSparseMask.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 __elxRandomSamplerSparseMask_h
16 #define __elxRandomSamplerSparseMask_h
17 
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
52  template < class TElastix >
54  public
56  ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
57  public
58  elx::ImageSamplerBase<TElastix>
59  {
60  public:
61 
67  typedef SmartPointer<Self> Pointer;
68  typedef SmartPointer<const Self> ConstPointer;
69 
71  itkNewMacro(Self);
72 
75 
80  elxClassNameMacro( "RandomSparseMask" );
81 
93  typedef typename Superclass1::MaskType MaskType;
96 
98  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
99 
101  typedef typename Superclass2::ElastixType ElastixType;
102  typedef typename Superclass2::ElastixPointer ElastixPointer;
103  typedef typename Superclass2::ConfigurationType ConfigurationType;
104  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
105  typedef typename Superclass2::RegistrationType RegistrationType;
106  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
107  typedef typename Superclass2::ITKBaseType ITKBaseType;
108 
112  virtual void BeforeEachResolution(void);
113 
114  protected:
115 
120 
121  private:
122 
124  RandomSamplerSparseMask( const Self& ); // purposely not implemented
126  void operator=( const Self& ); // purposely not implemented
127 
128  }; // end class RandomSamplerSparseMask
129 
130 
131 } // end namespace elastix
132 
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "elxRandomSamplerSparseMask.hxx"
135 #endif
136 
137 #endif // end #ifndef __elxRandomSamplerSparseMask_h
138 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo