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 
45  typedef SmartPointer< Self > Pointer;
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  bool SelectNewSamplesOnUpdate( void ) override
80  {
81  return false;
82  }
83 
84 
86  bool SelectingNewSamplesOnUpdateSupported( void ) const override
87  {
88  return false;
89  }
90 
91 
92 protected:
93 
97  ~ImageFullSampler() override {}
98 
100  void PrintSelf( std::ostream & os, Indent indent ) const override;
101 
103  void GenerateData( void ) override;
104 
107  const InputImageRegionType & inputRegionForThread,
108  ThreadIdType threadId ) override;
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
Samples all voxels in the InputImageRegion.
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::InputImageType InputImageType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
void operator=(const Self &)
InputImageType::IndexType InputImageIndexType
SmartPointer< Self > Pointer
Superclass::InputImageConstPointer InputImageConstPointer
bool SelectingNewSamplesOnUpdateSupported(void) const override
InputImageType::PointType InputImagePointType
Superclass::ImageSampleType ImageSampleType
void GenerateData(void) override
ImageSamplerBase< TInputImage > Superclass
ImageFullSampler(const Self &)
Superclass::DataObjectPointer DataObjectPointer
Superclass::MaskType MaskType
Superclass::OutputVectorContainerType OutputVectorContainerType
SmartPointer< const Self > ConstPointer
Superclass::InputImagePointer InputImagePointer
bool SelectNewSamplesOnUpdate(void) override
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImageRegionType InputImageRegionType
void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId) override
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
void PrintSelf(std::ostream &os, Indent indent) const override
A class that defines an image sample, which is the coordinates of a point and its value.
This class is a base class for any image sampler.
Superclass::InputImagePixelType InputImagePixelType
ImageSampleContainerType::Pointer ImageSampleContainerPointer
SpatialObject< Self::InputImageDimension > MaskType
Superclass::DataObjectPointer DataObjectPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImageType InputImageType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
Superclass::InputImagePointer InputImagePointer
Superclass::InputImageConstPointer InputImageConstPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1641078589 for elastix by doxygen 1.9.1 elastix logo