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 #ifndef __elxGridSampler_h
15 #define __elxGridSampler_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkImageGridSampler.h"
19 
20 namespace elastix
21 {
22 
44 template< class TElastix >
45 class GridSampler :
46  public
48  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
49  public
50  elx::ImageSamplerBase< TElastix >
51 {
52 public:
53 
55  typedef GridSampler Self;
56  typedef itk::ImageGridSampler<
60  typedef itk::SmartPointer< Self > Pointer;
61  typedef itk::SmartPointer< const Self > ConstPointer;
62 
64  itkNewMacro( Self );
65 
67  itkTypeMacro( GridSampler, itk::ImageGridSampler );
68 
73  elxClassNameMacro( "Grid" );
74 
86  typedef typename Superclass1::MaskType MaskType;
91 
93  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
94 
96  typedef typename Superclass2::ElastixType ElastixType;
97  typedef typename Superclass2::ElastixPointer ElastixPointer;
98  typedef typename Superclass2::ConfigurationType ConfigurationType;
99  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
100  typedef typename Superclass2::RegistrationType RegistrationType;
101  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
102  typedef typename Superclass2::ITKBaseType ITKBaseType;
103 
107  virtual void BeforeEachResolution( void );
108 
109 protected:
110 
114  virtual ~GridSampler() {}
115 
116 private:
117 
119  GridSampler( const Self & ); // purposely not implemented
121  void operator=( const Self & ); // purposely not implemented
122 
123 };
124 
125 } // end namespace elastix
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "elxGridSampler.hxx"
129 #endif
130 
131 #endif // end #ifndef __elxGridSampler_h
Superclass2::ITKBaseType ITKBaseType
Superclass2::ConfigurationType ConfigurationType
Superclass::InputImagePointType InputImagePointType
Superclass2::ElastixType ElastixType
Superclass::InputImagePointer InputImagePointer
Superclass1::SampleGridSpacingType GridSpacingType
Superclass::InputImagePixelType InputImagePixelType
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass1::InputImagePointer InputImagePointer
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
itk::SmartPointer< const Self > ConstPointer
Superclass1::InputImagePixelType InputImagePixelType
Superclass::InputImageType InputImageType
elx::ImageSamplerBase< TElastix > Superclass2
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::InputImageIndexType InputImageIndexType
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass1::SampleGridSpacingValueType SampleGridSpacingValueType
Superclass::MaskType MaskType
Superclass2::ElastixPointer ElastixPointer
Superclass::DataObjectPointer DataObjectPointer
Superclass1::MaskType MaskType
itk::SmartPointer< Self > Pointer
Superclass::InputImageConstPointer InputImageConstPointer
An interpolator based on the itk::ImageGridSampler.
SampleGridSpacingType::OffsetValueType SampleGridSpacingValueType
virtual void BeforeEachResolution(void)
Superclass1::OutputVectorContainerType OutputVectorContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::ImageSampleType ImageSampleType
Superclass1::InputImageRegionType InputImageRegionType
Superclass1::InputImagePointType InputImagePointType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
itk::ImageGridSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
Superclass1::InputImageConstPointer InputImageConstPointer
Samples image voxels on a regular grid.
Superclass2::RegistrationType RegistrationType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo