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.
00001 /*======================================================================
00002 
00003   This file is part of the elastix software.
00004 
00005   Copyright (c) University Medical Center Utrecht. All rights reserved.
00006   See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
00007   details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE. See the above copyright notices for more information.
00012 
00013 ======================================================================*/
00014 
00015 #ifndef __ImageFullSampler_h
00016 #define __ImageFullSampler_h
00017 
00018 #include "itkImageSamplerBase.h"
00019 
00020 namespace itk
00021 {
00022 
00034   template < class TInputImage >
00035   class ImageFullSampler :
00036     public ImageSamplerBase< TInputImage >
00037   {
00038   public:
00039 
00041     typedef ImageFullSampler                  Self;
00042     typedef ImageSamplerBase< TInputImage >   Superclass;
00043     typedef SmartPointer<Self>                Pointer;
00044     typedef SmartPointer<const Self>          ConstPointer;
00045 
00047     itkNewMacro( Self );
00048 
00050     itkTypeMacro( ImageFullSampler, ImageSamplerBase );
00051 
00053     typedef typename Superclass::DataObjectPointer            DataObjectPointer;
00054     typedef typename Superclass::OutputVectorContainerType    OutputVectorContainerType;
00055     typedef typename Superclass::OutputVectorContainerPointer OutputVectorContainerPointer;
00056     typedef typename Superclass::InputImageType               InputImageType;
00057     typedef typename Superclass::InputImagePointer            InputImagePointer;
00058     typedef typename Superclass::InputImageConstPointer       InputImageConstPointer;
00059     typedef typename Superclass::InputImageRegionType         InputImageRegionType;
00060     typedef typename Superclass::InputImagePixelType          InputImagePixelType;
00061     typedef typename Superclass::ImageSampleType              ImageSampleType;
00062     typedef typename Superclass::ImageSampleContainerType     ImageSampleContainerType;
00063     typedef typename Superclass::MaskType                     MaskType;
00064 
00066     itkStaticConstMacro( InputImageDimension, unsigned int,
00067       Superclass::InputImageDimension );
00068 
00070     typedef typename InputImageType::IndexType    InputImageIndexType;
00071     typedef typename InputImageType::PointType    InputImagePointType;
00072 
00076     virtual bool SelectNewSamplesOnUpdate(void)
00077     {
00078       return false;
00079     };
00080 
00082     virtual bool SelectingNewSamplesOnUpdateSupported( void ) const
00083     {
00084       return false;
00085     }
00086 
00087   protected:
00088 
00090     ImageFullSampler() {};
00092     virtual ~ImageFullSampler() {};
00093 
00095     void PrintSelf( std::ostream& os, Indent indent ) const;
00096 
00098     virtual void GenerateData( void );
00099 
00100   private:
00101 
00103     ImageFullSampler( const Self& );          // purposely not implemented
00105     void operator=( const Self& );            // purposely not implemented
00106 
00107   }; // end class ImageFullSampler
00108 
00109 
00110 } // end namespace itk
00111 
00112 #ifndef ITK_MANUAL_INSTANTIATION
00113 #include "itkImageFullSampler.txx"
00114 #endif
00115 
00116 #endif // end #ifndef __ImageFullSampler_h
00117 


Generated on 24-05-2012 for elastix by doxygen 1.7.6.1 elastix logo