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

itkLinearInterpolateImageFunction.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkLinearInterpolateImageFunction.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:14 $ 00007 Version: $Revision: 1.26 $ 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 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef _itkLinearInterpolateImageFunction_h 00018 #define _itkLinearInterpolateImageFunction_h 00019 00020 #include "itkInterpolateImageFunction.h" 00021 00022 namespace itk 00023 { 00024 00042 template <class TInputImage, class TCoordRep = float> 00043 class ITK_EXPORT LinearInterpolateImageFunction : 00044 public InterpolateImageFunction<TInputImage,TCoordRep> 00045 { 00046 public: 00048 typedef LinearInterpolateImageFunction Self; 00049 typedef InterpolateImageFunction<TInputImage,TCoordRep> Superclass; 00050 typedef SmartPointer<Self> Pointer; 00051 typedef SmartPointer<const Self> ConstPointer; 00052 00054 itkTypeMacro(LinearInterpolateImageFunction, InterpolateImageFunction); 00055 00057 itkNewMacro(Self); 00058 00060 typedef typename Superclass::OutputType OutputType; 00061 00063 typedef typename Superclass::InputImageType InputImageType; 00064 00066 typedef typename Superclass::RealType RealType; 00067 00069 itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension); 00070 00072 typedef typename Superclass::IndexType IndexType; 00073 00075 typedef typename Superclass::ContinuousIndexType ContinuousIndexType; 00076 00085 virtual OutputType EvaluateAtContinuousIndex( 00086 const ContinuousIndexType & index ) const; 00087 00088 protected: 00089 LinearInterpolateImageFunction(); 00090 ~LinearInterpolateImageFunction(){}; 00091 void PrintSelf(std::ostream& os, Indent indent) const; 00092 00093 private: 00094 LinearInterpolateImageFunction( const Self& ); //purposely not implemented 00095 void operator=( const Self& ); //purposely not implemented 00096 00098 static const unsigned long m_Neighbors; 00099 00100 }; 00101 00102 } // namespace itk 00103 00104 #ifndef ITK_MANUAL_INSTANTIATION 00105 #include "itkLinearInterpolateImageFunction.txx" 00106 #endif 00107 00108 #endif

Generated at Sat Mar 31 02:23:51 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000