go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageFullSampler.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 __ImageFullSampler_h
19 #define __ImageFullSampler_h
20 
21 #include "itkImageSamplerBase.h"
22 
23 namespace itk
24 {
36 template< class TInputImage >
38  public ImageSamplerBase< TInputImage >
39 {
40 public:
41 
46  typedef SmartPointer< const Self > ConstPointer;
47 
49  itkNewMacro( Self );
50 
53 
66  typedef typename Superclass::MaskType MaskType;
67 
69  itkStaticConstMacro( InputImageDimension, unsigned int,
70  Superclass::InputImageDimension );
71 
73  typedef typename InputImageType::IndexType InputImageIndexType;
74  typedef typename InputImageType::PointType InputImagePointType;
75 
79  virtual bool SelectNewSamplesOnUpdate( void )
80  {
81  return false;
82  }
83 
84 
86  virtual bool SelectingNewSamplesOnUpdateSupported( void ) const
87  {
88  return false;
89  }
90 
91 
92 protected:
93 
97  virtual ~ImageFullSampler() {}
98 
100  void PrintSelf( std::ostream & os, Indent indent ) const;
101 
103  virtual void GenerateData( void );
104 
106  virtual void ThreadedGenerateData(
107  const InputImageRegionType & inputRegionForThread,
108  ThreadIdType threadId );
109 
110 private:
111 
113  ImageFullSampler( const Self & ); // purposely not implemented
115  void operator=( const Self & ); // purposely not implemented
116 
117 };
118 
119 } // end namespace itk
120 
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkImageFullSampler.hxx"
123 #endif
124 
125 #endif // end #ifndef __ImageFullSampler_h
itk::ImageFullSampler::operator=
void operator=(const Self &)
itk::ImageFullSampler::Superclass
ImageSamplerBase< TInputImage > Superclass
Definition: itkImageFullSampler.h:44
itk::ImageFullSampler::ImageSampleType
Superclass::ImageSampleType ImageSampleType
Definition: itkImageFullSampler.h:63
itk::ImageFullSampler::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkImageFullSampler.h:65
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageSamplerBase.h:60
SmartPointer< Self >
itk::ImageFullSampler::ImageFullSampler
ImageFullSampler()
Definition: itkImageFullSampler.h:95
itk::ImageFullSampler::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageFullSampler.h:59
itk::ImageFullSampler::InputImagePointType
InputImageType::PointType InputImagePointType
Definition: itkImageFullSampler.h:74
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: itkImageSamplerBase.h:67
itk::ImageFullSampler::OutputVectorContainerPointer
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
Definition: itkImageFullSampler.h:57
itk::ImageFullSampler::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkImageFullSampler.h:64
itk::ImageFullSampler::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkImageFullSampler.h:46
itk::ImageFullSampler::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageFullSampler.h:61
itk::ImageFullSampler::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageFullSampler.h:58
itkImageSamplerBase.h
itk::ImageFullSampler::Pointer
SmartPointer< Self > Pointer
Definition: itkImageFullSampler.h:45
itk::ImageFullSampler
Samples all voxels in the InputImageRegion.
Definition: itkImageFullSampler.h:39
itk::ImageSample
A class that defines an image sample, which is the coordinates of a point and its value.
Definition: itkImageSample.h:35
itk::ImageFullSampler::ImageFullSampler
ImageFullSampler(const Self &)
itk::ImageFullSampler::~ImageFullSampler
virtual ~ImageFullSampler()
Definition: itkImageFullSampler.h:97
ThreadIdType
itk::ImageFullSampler::ThreadedGenerateData
virtual void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
itk::ImageFullSampler::SelectingNewSamplesOnUpdateSupported
virtual bool SelectingNewSamplesOnUpdateSupported(void) const
Definition: itkImageFullSampler.h:86
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: itkImageSamplerBase.h:69
itk::ImageFullSampler::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::ImageFullSampler::SelectNewSamplesOnUpdate
virtual bool SelectNewSamplesOnUpdate(void)
Definition: itkImageFullSampler.h:79
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageSamplerBase.h:68
itk::ImageFullSampler::InputImageIndexType
InputImageType::IndexType InputImageIndexType
Definition: itkImageFullSampler.h:73
itk::ImageFullSampler::DataObjectPointer
Superclass::DataObjectPointer DataObjectPointer
Definition: itkImageFullSampler.h:52
itk::ImageFullSampler::MaskType
Superclass::MaskType MaskType
Definition: itkImageFullSampler.h:66
itk::ImageFullSampler::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageFullSampler.h:62
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::ImageFullSampler::Self
ImageFullSampler Self
Definition: itkImageFullSampler.h:43
itk::ImageFullSampler::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
itk::ImageFullSampler::InputImageConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkImageFullSampler.h:60
itk::ImageSamplerBase
This class is a base class for any image sampler.
Definition: itkImageSamplerBase.h:45
itk::ImageFullSampler::OutputVectorContainerType
Superclass::OutputVectorContainerType OutputVectorContainerType
Definition: itkImageFullSampler.h:56
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: itkImageSamplerBase.h:70
itk::VectorDataContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorDataContainer.h:79
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::InputImageType
Superclass::InputImageType InputImageType
Definition: itkImageSamplerBase.h:66
itk::ImageSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >::MaskType
SpatialObject< Self::InputImageDimension > MaskType
Definition: itkImageSamplerBase.h:85
itk::ImageFullSampler::GenerateData
virtual void GenerateData(void)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo