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

itkBSplineUpsampleImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBSplineUpsampleImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2006-03-16 13:35:01 $
00007   Version:   $Revision: 1.4 $
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 __itkBSplineUpsampleImageFilter_h
00022 #define __itkBSplineUpsampleImageFilter_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 {
00076 //= ITK_TYPENAME BSplineResampleImageFilterBase<TInputImage, TOutputImage> 
00077 template <class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage> >
00078 class ITK_EXPORT BSplineUpsampleImageFilter : 
00079     public ResamplerType 
00080 {
00081 public:
00083   typedef BSplineUpsampleImageFilter       Self;
00084   typedef ResamplerType                    Superclass;
00085   typedef SmartPointer<Self>               Pointer;
00086   typedef SmartPointer<const Self>         ConstPointer;
00087 
00089   itkTypeMacro(BSplineUpsampleImageFilter, ReamplerType);
00090 
00091  
00093   itkNewMacro( Self );
00094 
00096   typedef typename Superclass::InputImageType InputImageType;
00097 
00099   typedef typename Superclass::InputImagePointer InputImagePointer;
00100 
00102   typedef typename Superclass::OutputImageIterator OutputImageIterator;
00103 
00105   typedef typename Superclass::OutputImagePointer OutputImagePointer;
00106 
00109   void GenerateOutputInformation();
00110 
00112   void GenerateInputRequestedRegion();
00113 
00114 #ifdef ITK_USE_CONCEPT_CHECKING
00115 
00116   itkConceptMacro(DoubleConvertibleToOutputCheck,
00117     (Concept::Convertible<double, typename TOutputImage::PixelType>));
00118 
00120 #endif
00121 
00122 protected:
00123 
00124   void GenerateData();
00125   void EnlargeOutputRequestedRegion( DataObject *output );
00126 
00127   BSplineUpsampleImageFilter();
00128   virtual ~BSplineUpsampleImageFilter() {};
00129   void PrintSelf(std::ostream& os, Indent indent) const;
00130     
00131 private:
00132   BSplineUpsampleImageFilter( const Self& ); //purposely not implemented
00133   void operator=( const Self& ); //purposely not implemented
00134   
00135 };
00136 
00137 } // namespace itk
00138 
00139 #ifndef ITK_MANUAL_INSTANTIATION
00140 #include "itkBSplineUpsampleImageFilter.txx"
00141 #endif
00142 
00143 #endif
00144 

Generated at Mon Apr 14 11:53:29 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000