00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _itkVectorLinearInterpolateImageFunction_h
00018 #define _itkVectorLinearInterpolateImageFunction_h
00019
00020 #include "itkVectorInterpolateImageFunction.h"
00021
00022 namespace itk
00023 {
00024
00041 template <class TInputImage, class TCoordRep = float>
00042 class ITK_EXPORT VectorLinearInterpolateImageFunction :
00043 public VectorInterpolateImageFunction<TInputImage,TCoordRep>
00044 {
00045 public:
00047 typedef VectorLinearInterpolateImageFunction Self;
00048 typedef VectorInterpolateImageFunction<TInputImage,TCoordRep> Superclass;
00049 typedef SmartPointer<Self> Pointer;
00050 typedef SmartPointer<const Self> ConstPointer;
00051
00053 itkNewMacro(Self);
00054
00056 itkTypeMacro(VectorLinearInterpolateImageFunction,
00057 VectorInterpolateImageFunction);
00058
00060 typedef typename Superclass::InputImageType InputImageType;
00061 typedef typename Superclass::PixelType PixelType;
00062 typedef typename Superclass::ValueType ValueType;
00063 typedef typename Superclass::RealType RealType;
00064
00066 itkStaticConstMacro(Dimension, unsigned int,
00067 Superclass::Dimension);
00068
00070 itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension);
00071
00073 typedef typename Superclass::IndexType IndexType;
00074
00076 typedef typename Superclass::ContinuousIndexType ContinuousIndexType;
00077
00079 typedef typename Superclass::OutputType OutputType;
00080
00089 virtual OutputType EvaluateAtContinuousIndex(
00090 const ContinuousIndexType & index ) const;
00091
00092 protected:
00093 VectorLinearInterpolateImageFunction();
00094 ~VectorLinearInterpolateImageFunction(){};
00095 void PrintSelf(std::ostream& os, Indent indent) const;
00096
00097 private:
00098 VectorLinearInterpolateImageFunction(const Self&);
00099 void operator=(const Self&);
00100
00102 static const unsigned long m_Neighbors;
00103
00104 };
00105
00106 }
00107
00108 #ifndef ITK_MANUAL_INSTANTIATION
00109 #include "itkVectorLinearInterpolateImageFunction.txx"
00110 #endif
00111
00112 #endif