go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRandomCoordinateSampler.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 __elxRandomCoordinateSampler_h
16 #define __elxRandomCoordinateSampler_h
17 
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
76  template < class TElastix >
78  public
80  ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
81  public
82  elx::ImageSamplerBase<TElastix>
83  {
84  public:
85 
91  typedef SmartPointer<Self> Pointer;
92  typedef SmartPointer<const Self> ConstPointer;
93 
95  itkNewMacro(Self);
96 
99 
104  elxClassNameMacro( "RandomCoordinate" );
105 
117  typedef typename Superclass1::MaskType MaskType;
124 
130 
132  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
133 
135  typedef typename Superclass2::ElastixType ElastixType;
136  typedef typename Superclass2::ElastixPointer ElastixPointer;
137  typedef typename Superclass2::ConfigurationType ConfigurationType;
138  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
139  typedef typename Superclass2::RegistrationType RegistrationType;
140  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
141  typedef typename Superclass2::ITKBaseType ITKBaseType;
142 
148  virtual void BeforeEachResolution(void);
149 
150  protected:
151 
156 
157  private:
158 
160  RandomCoordinateSampler( const Self& ); // purposely not implemented
162  void operator=( const Self& ); // purposely not implemented
163 
164  }; // end class RandomCoordinateSampler
165 
166 
167 } // end namespace elastix
168 
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "elxRandomCoordinateSampler.hxx"
171 #endif
172 
173 #endif // end #ifndef __elxRandomCoordinateSampler_h
174 


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