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

itkBSplineResampleImageFunction.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBSplineResampleImageFunction.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:44 $ 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 __itkBSplineResampleImageFunction_h 00022 #define __itkBSplineResampleImageFunction_h 00023 00024 #include "itkBSplineInterpolateImageFunction.h" 00025 00026 namespace itk 00027 { 00047 template <class TImageType, class TCoordRep = float> 00048 class ITK_EXPORT BSplineResampleImageFunction : 00049 public BSplineInterpolateImageFunction< 00050 TImageType,TCoordRep,ITK_TYPENAME TImageType::PixelType > 00051 { 00052 public: 00054 typedef BSplineResampleImageFunction Self; 00055 typedef BSplineInterpolateImageFunction< 00056 TImageType,TCoordRep, ITK_TYPENAME TImageType::PixelType > Superclass; 00057 typedef SmartPointer<Self> Pointer; 00058 typedef SmartPointer<const Self> ConstPointer; 00059 00061 itkTypeMacro(BSplineReconstructionImageFunction, 00062 BSplineInterpolateImageFunction); 00063 00065 itkNewMacro( Self ); 00066 00068 virtual void SetInputImage(const TImageType * inputData) 00069 { 00070 // bypass my superclass 00071 this->InterpolateImageFunction<TImageType,TCoordRep>::SetInputImage(inputData); 00072 m_Coefficients = inputData; 00073 m_DataLength = m_Coefficients->GetBufferedRegion().GetSize(); 00074 } 00075 00076 protected: 00077 BSplineResampleImageFunction() {}; 00078 virtual ~BSplineResampleImageFunction() {}; 00079 void PrintSelf(std::ostream& os, Indent indent) const 00080 { 00081 this->Superclass::PrintSelf( os, indent ); 00082 } 00083 00084 private: 00085 00086 }; 00087 00088 } // namespace itk 00089 00090 00091 #endif 00092

Generated at Sun Apr 1 02:25:32 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000