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 
71  itkTypeMacro( GridSampler, itk::ImageGridSampler );
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
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
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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo