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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxGridSampler_h
19 #define __elxGridSampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkImageGridSampler.h"
23 
24 namespace elastix
25 {
26 
48 template< class TElastix >
49 class GridSampler :
50  public
52  typename elx::ImageSamplerBase< TElastix >::InputImageType >,
53  public
54  elx::ImageSamplerBase< TElastix >
55 {
56 public:
57 
59  typedef GridSampler Self;
60  typedef itk::ImageGridSampler<
64  typedef itk::SmartPointer< Self > Pointer;
65  typedef itk::SmartPointer< const Self > ConstPointer;
66 
68  itkNewMacro( Self );
69 
72 
77  elxClassNameMacro( "Grid" );
78 
90  typedef typename Superclass1::MaskType MaskType;
95 
97  itkStaticConstMacro( InputImageDimension, unsigned int, Superclass1::InputImageDimension );
98 
100  typedef typename Superclass2::ElastixType ElastixType;
101  typedef typename Superclass2::ElastixPointer ElastixPointer;
102  typedef typename Superclass2::ConfigurationType ConfigurationType;
103  typedef typename Superclass2::ConfigurationPointer ConfigurationPointer;
104  typedef typename Superclass2::RegistrationType RegistrationType;
105  typedef typename Superclass2::RegistrationPointer RegistrationPointer;
106  typedef typename Superclass2::ITKBaseType ITKBaseType;
107 
111  virtual void BeforeEachResolution( void );
112 
113 protected:
114 
118  virtual ~GridSampler() {}
119 
120 private:
121 
123  GridSampler( const Self & ); // purposely not implemented
125  void operator=( const Self & ); // purposely not implemented
126 
127 };
128 
129 } // end namespace elastix
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "elxGridSampler.hxx"
133 #endif
134 
135 #endif // end #ifndef __elxGridSampler_h
elastix::GridSampler::OutputVectorContainerPointer
Superclass1::OutputVectorContainerPointer OutputVectorContainerPointer
Definition: elxGridSampler.h:82
itk::ImageGridSampler::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageGridSampler.h:65
elastix::GridSampler::InputImagePointType
Superclass1::InputImagePointType InputImagePointType
Definition: elxGridSampler.h:92
itk::ImageGridSampler::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageGridSampler.h:67
elastix::GridSampler::GridSpacingType
Superclass1::SampleGridSpacingType GridSpacingType
Definition: elxGridSampler.h:93
elastix::GridSampler::GridSampler
GridSampler(const Self &)
elastix::GridSampler::DataObjectPointer
Superclass1::DataObjectPointer DataObjectPointer
Definition: elxGridSampler.h:80
itk::ImageGridSampler::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageGridSampler.h:59
elastix::GridSampler::InputImageType
Superclass1::InputImageType InputImageType
Definition: elxGridSampler.h:83
itk::ImageGridSampler::SampleGridSpacingValueType
SampleGridSpacingType::OffsetValueType SampleGridSpacingValueType
Definition: itkImageGridSampler.h:86
itkImageGridSampler.h
SmartPointer< Self >
elastix::GridSampler::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxGridSampler.h:100
elastix::GridSampler::GridSampler
GridSampler()
Definition: elxGridSampler.h:116
itk::ImageGridSampler::MaskType
Superclass::MaskType MaskType
Definition: itkImageGridSampler.h:73
elastix::GridSampler::Self
GridSampler Self
Definition: elxGridSampler.h:59
elastix::GridSampler::InputImagePointer
Superclass1::InputImagePointer InputImagePointer
Definition: elxGridSampler.h:84
itk::ImageGridSampler::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageGridSampler.h:68
elastix::GridSampler::Superclass2
elx::ImageSamplerBase< TElastix > Superclass2
Definition: elxGridSampler.h:63
itk::ImageGridSampler::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageGridSampler.h:66
elastix::GridSampler::operator=
void operator=(const Self &)
elastix::GridSampler::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxGridSampler.h:65
itk::ImageSample
A class that defines an image sample, which is the coordinates of a point and its value.
Definition: itkImageSample.h:35
elastix::GridSampler::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxGridSampler.h:105
elastix::GridSampler::InputImagePixelType
Superclass1::InputImagePixelType InputImagePixelType
Definition: elxGridSampler.h:87
elastix::GridSampler::SampleGridSpacingValueType
Superclass1::SampleGridSpacingValueType SampleGridSpacingValueType
Definition: elxGridSampler.h:94
itk::ImageGridSampler::InputImagePointType
Superclass::InputImagePointType InputImagePointType
Definition: itkImageGridSampler.h:82
elastix::GridSampler::ImageSampleContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Definition: elxGridSampler.h:89
elastix::GridSampler::InputImageIndexType
Superclass1::InputImageIndexType InputImageIndexType
Definition: elxGridSampler.h:91
elastix::GridSampler::OutputVectorContainerType
Superclass1::OutputVectorContainerType OutputVectorContainerType
Definition: elxGridSampler.h:81
itk::ImageGridSampler::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageGridSampler.h:69
elastix::GridSampler::MaskType
Superclass1::MaskType MaskType
Definition: elxGridSampler.h:90
elastix::GridSampler::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxGridSampler.h:64
elxIncludes.h
elastix::GridSampler::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxGridSampler.h:101
elastix::GridSampler::ImageSampleType
Superclass1::ImageSampleType ImageSampleType
Definition: elxGridSampler.h:88
elastix::GridSampler
An interpolator based on the itk::ImageGridSampler.
Definition: elxGridSampler.h:55
elastix::GridSampler::~GridSampler
virtual ~GridSampler()
Definition: elxGridSampler.h:118
elastix::GridSampler::InputImageConstPointer
Superclass1::InputImageConstPointer InputImageConstPointer
Definition: elxGridSampler.h:85
itk::ImageGridSampler::SampleGridSpacingType
InputImageType::OffsetType SampleGridSpacingType
Definition: itkImageGridSampler.h:85
itk::ImageGridSampler::InputImageIndexType
Superclass::InputImageIndexType InputImageIndexType
Definition: itkImageGridSampler.h:80
itk::ImageSamplerBase
This class is a base class for any image sampler.
Definition: itkImageSamplerBase.h:45
elastix::GridSampler::BeforeEachResolution
virtual void BeforeEachResolution(void)
itk::VectorDataContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorDataContainer.h:79
elastix::GridSampler::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxGridSampler.h:102
itk::ImageGridSampler
Samples image voxels on a regular grid.
Definition: itkImageGridSampler.h:46
elastix::GridSampler::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass1::InputImageDimension)
elastix::GridSampler::InputImageRegionType
Superclass1::InputImageRegionType InputImageRegionType
Definition: elxGridSampler.h:86
elastix::GridSampler::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxGridSampler.h:104
elastix::GridSampler::elxClassNameMacro
elxClassNameMacro("Grid")
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::GridSampler::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxGridSampler.h:106
elastix::GridSampler::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxGridSampler.h:103
elastix::GridSampler::Superclass1
itk::ImageGridSampler< typename elx::ImageSamplerBase< TElastix >::InputImageType > Superclass1
Definition: elxGridSampler.h:62


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo