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
SmartPointer< Self > Pointer
virtual void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
A class that defines an image sample, which is the coordinates of a point and its value...
Samples all voxels in the InputImageRegion.
Superclass::InputImagePointer InputImagePointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
InputImageType::IndexType InputImageIndexType
Superclass::DataObjectPointer DataObjectPointer
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
InputImageType::PointType InputImagePointType
Superclass::ImageSampleContainerType ImageSampleContainerType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
virtual bool SelectingNewSamplesOnUpdateSupported(void) const
SmartPointer< const Self > ConstPointer
Superclass::ImageSampleType ImageSampleType
Superclass::OutputVectorContainerType OutputVectorContainerType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputImageRegionType InputImageRegionType
ImageSamplerBase< TInputImage > Superclass
void operator=(const Self &)
Superclass::InputImageType InputImageType
virtual void GenerateData(void)
Superclass::MaskType MaskType
virtual bool SelectNewSamplesOnUpdate(void)
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImageConstPointer InputImageConstPointer


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo