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

itkVectorLinearInterpolateImageFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVectorLinearInterpolateImageFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/11/13 00:52:54 $
00007   Version:   $Revision: 1.9 $
00008 
00009   Copyright (c) 2002 Insight 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 _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&); //purposely not implemented
00099   void operator=(const Self&); //purposely not implemented
00100 
00102   static const unsigned long  m_Neighbors;  
00103 
00104 };
00105 
00106 } // namespace itk
00107 
00108 #ifndef ITK_MANUAL_INSTANTIATION
00109 #include "itkVectorLinearInterpolateImageFunction.txx"
00110 #endif
00111 
00112 #endif

Generated at Fri May 21 01:15:31 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000