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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __ImageFullSampler_h
15 #define __ImageFullSampler_h
16 
17 #include "itkImageSamplerBase.h"
18 
19 namespace itk
20 {
32 template< class TInputImage >
34  public ImageSamplerBase< TInputImage >
35 {
36 public:
37 
41  typedef SmartPointer< Self > Pointer;
42  typedef SmartPointer< const Self > ConstPointer;
43 
45  itkNewMacro( Self );
46 
49 
62  typedef typename Superclass::MaskType MaskType;
63 
65  itkStaticConstMacro( InputImageDimension, unsigned int,
66  Superclass::InputImageDimension );
67 
69  typedef typename InputImageType::IndexType InputImageIndexType;
70  typedef typename InputImageType::PointType InputImagePointType;
71 
75  virtual bool SelectNewSamplesOnUpdate( void )
76  {
77  return false;
78  }
79 
80 
82  virtual bool SelectingNewSamplesOnUpdateSupported( void ) const
83  {
84  return false;
85  }
86 
87 
88 protected:
89 
93  virtual ~ImageFullSampler() {}
94 
96  void PrintSelf( std::ostream & os, Indent indent ) const;
97 
99  virtual void GenerateData( void );
100 
102  virtual void ThreadedGenerateData(
103  const InputImageRegionType & inputRegionForThread,
104  ThreadIdType threadId );
105 
106 private:
107 
109  ImageFullSampler( const Self & ); // purposely not implemented
111  void operator=( const Self & ); // purposely not implemented
112 
113 };
114 
115 } // end namespace itk
116 
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkImageFullSampler.hxx"
119 #endif
120 
121 #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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo