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 
46  template < class TElastix >
47  class GridSampler :
48  public
50  typename elx::ImageSamplerBase<TElastix>::InputImageType >,
51  public
52  elx::ImageSamplerBase<TElastix>
53  {
54  public:
55 
57  typedef GridSampler Self;
58  typedef itk::ImageGridSampler<
62  typedef itk::SmartPointer<Self> Pointer;
63  typedef itk::SmartPointer<const Self> ConstPointer;
64 
66  itkNewMacro(Self);
67 
69  itkTypeMacro( GridSampler, itk::ImageGridSampler );
70 
75  elxClassNameMacro( "Grid" );
76 
88  typedef typename Superclass1::MaskType MaskType;
93 
95  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
96 
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 
itk::SmartPointer< Self > Pointer
Superclass2::ITKBaseType ITKBaseType
Superclass::ElastixType ElastixType
Superclass2::ConfigurationType ConfigurationType
Superclass::ElastixPointer ElastixPointer
Superclass::InputImagePointType InputImagePointType
Superclass2::ElastixType ElastixType
Superclass::InputImagePointer InputImagePointer
Superclass1::SampleGridSpacingType GridSpacingType
Superclass::InputImagePixelType InputImagePixelType
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass1::InputImagePointer InputImagePointer
This class is the elastix base class for all ImageSamplers.
void operator=(const Self &)
Superclass::InputImageIndexType InputImageIndexType
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
Superclass::RegistrationType RegistrationType
itk::SmartPointer< const Self > ConstPointer
Superclass1::InputImagePixelType InputImagePixelType
Superclass::InputImageType InputImageType
Superclass::ConfigurationPointer ConfigurationPointer
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
itk::ImageGridSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Superclass1::MaskType MaskType
Superclass::InputImageConstPointer InputImageConstPointer
Superclass::ConfigurationType ConfigurationType
An interpolator based on the itk::ImageGridSampler.
SampleGridSpacingType::OffsetValueType SampleGridSpacingValueType
virtual void BeforeEachResolution(void)
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::ImageSampleType ImageSampleType
Superclass::RegistrationPointer RegistrationPointer
Superclass1::InputImageRegionType InputImageRegionType
Superclass1::InputImagePointType InputImagePointType
elx::ImageSamplerBase< TElastix > Superclass2
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
Superclass1::InputImageConstPointer InputImageConstPointer
Samples image voxels on a regular grid.
Superclass2::RegistrationType RegistrationType


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo