Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkBSplineDownsampleImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBSplineDownsampleImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:28:43 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 
00021 #ifndef __itkBSplineDownsampleImageFilter_h
00022 #define __itkBSplineDownsampleImageFilter_h
00023 
00024 // include .h for each ResamplerType
00025 #include "itkBSplineResampleImageFilterBase.h"
00026 #include "itkBSplineL2ResampleImageFilterBase.h"
00027 #include "itkBSplineCenteredResampleImageFilterBase.h"
00028 #include "itkBSplineCenteredL2ResampleImageFilterBase.h"
00029 
00030 namespace itk
00031 {
00080 //= ITK_TYPENAME BSplineResampleImageFilterBase<TInputImage, TOutputImage>
00081 template <class TInputImage, class TOutputImage, 
00082           class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage> >
00083 class ITK_EXPORT BSplineDownsampleImageFilter : 
00084     public ResamplerType
00085 {
00086 public:
00088   typedef BSplineDownsampleImageFilter       Self;
00089   typedef ResamplerType                      Superclass;
00090   typedef SmartPointer<Self>                 Pointer;
00091   typedef SmartPointer<const Self>           ConstPointer;
00092 
00094   itkTypeMacro(BSplineDownsampleImageFilter, ResamplerType);
00095 
00096  
00098   itkNewMacro( Self );
00099 
00101   typedef typename Superclass::InputImageType InputImageType;
00102 
00104   typedef typename Superclass::InputImagePointer InputImagePointer;
00105 
00107   typedef typename Superclass::OutputImagePointer OutputImagePointer;
00108 
00110   typedef typename Superclass::OutputImageIterator OutputImageIterator;
00111 
00114   void GenerateOutputInformation();
00115 
00117   void GenerateInputRequestedRegion();
00118 
00119 protected:
00120 
00121   void GenerateData();
00122   void EnlargeOutputRequestedRegion( DataObject *output );
00123 
00124   BSplineDownsampleImageFilter();
00125   virtual ~BSplineDownsampleImageFilter() {};
00126     
00127 private:
00128   BSplineDownsampleImageFilter( const Self& ); //purposely not implemented
00129   void operator=( const Self& ); //purposely not implemented
00130   
00131 };
00132 
00133 } // namespace itk
00134 
00135 #ifndef ITK_MANUAL_INSTANTIATION
00136 #include "itkBSplineDownsampleImageFilter.txx"
00137 #endif
00138 
00139 #endif

Generated at Wed May 24 22:53:17 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000