go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxGridSampler.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 __elxGridSampler_h
16 #define __elxGridSampler_h
17 
18 #include "itkImageGridSampler.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 using namespace itk;
25 
47  template < class TElastix >
48  class GridSampler :
49  public
51  ITK_TYPENAME elx::ImageSamplerBase<TElastix>::InputImageType >,
52  public
53  elx::ImageSamplerBase<TElastix>
54  {
55  public:
56 
58  typedef GridSampler Self;
59  typedef ImageGridSampler<
62  typedef SmartPointer<Self> Pointer;
63  typedef SmartPointer<const Self> ConstPointer;
64 
66  itkNewMacro(Self);
67 
69  itkTypeMacro( GridSampler, ImageGridSampler );
70 
75  elxClassNameMacro( "Grid" );
76 
88  typedef typename Superclass1::MaskType MaskType;
93 
95  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
96 
98  typedef typename Superclass2::ElastixType ElastixType;
99  typedef typename Superclass2::ElastixPointer ElastixPointer;
100  typedef typename Superclass2::ConfigurationType ConfigurationType;
101  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
102  typedef typename Superclass2::RegistrationType RegistrationType;
103  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
104  typedef typename Superclass2::ITKBaseType ITKBaseType;
105 
109  virtual void BeforeEachResolution(void);
110 
111  protected:
112 
116  virtual ~GridSampler() {}
117 
118  private:
119 
121  GridSampler( const Self& ); // purposely not implemented
123  void operator=( const Self& ); // purposely not implemented
124 
125  }; // end class GridSampler
126 
127 
128 } // end namespace elastix
129 
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "elxGridSampler.hxx"
132 #endif
133 
134 #endif // end #ifndef __elxGridSampler_h
135 
Superclass2::ITKBaseType ITKBaseType
Superclass2::ConfigurationType ConfigurationType
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
Superclass2::ElastixType ElastixType
Superclass::InputImagePointer InputImagePointer
Superclass1::SampleGridSpacingType GridSpacingType
InputImageType::PointType InputImagePointType
Superclass::InputImagePixelType InputImagePixelType
SmartPointer< const Self > ConstPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass1::InputImagePointer InputImagePointer
InputImageType::OffsetType SampleGridSpacingType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
A class that defines an image sample, which is the coordinates of a point and its value...
Superclass1::InputImageType InputImageType
Superclass1::InputImagePixelType InputImagePixelType
Superclass::InputImageType InputImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::InputImageIndexType InputImageIndexType
This class is a base class for any image sampler.
Define a front-end to the STL &quot;vector&quot; container that conforms to the IndexedContainerInterface.
Superclass1::SampleGridSpacingValueType SampleGridSpacingValueType
Superclass::MaskType MaskType
Superclass2::ElastixPointer ElastixPointer
Superclass::DataObjectPointer DataObjectPointer
Superclass1::MaskType MaskType
Superclass::InputImageConstPointer InputImageConstPointer
InputImageType::IndexType InputImageIndexType
An interpolator based on the itk::ImageGridSampler.
SampleGridSpacingType::OffsetValueType SampleGridSpacingValueType
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::ImageSampleType ImageSampleType
SmartPointer< Self > Pointer
Superclass1::InputImageRegionType InputImageRegionType
ImageGridSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass1::InputImagePointType InputImagePointType
elx::ImageSamplerBase< TElastix > Superclass2
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass1::InputImageConstPointer InputImageConstPointer
Samples image voxels on a regular grid.
Superclass2::RegistrationType RegistrationType


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo