00001 /*========================================================================= 00002 00003 Program: F.R.E.E. - flexible registration evaluation engine 00004 Version: v.1.0.0 00005 Date: $Date: 2006/09/01 12:00:00 $ 00006 Module: $RCSfile: freLinearInterpolateController.h,v $ 00007 Language: C++ 00008 00009 00010 Date: $Date: 2005/07/20 $ 00011 Version: $Revision: 1.0 $ 00012 00013 Copyright (c) 2007 Ralf o Floca (Department of Medical Informatics, 00014 Institute for Medical Biometry and Informatics, University of Heidelberg, 00015 Germany). All rights reserved. 00016 See FREECopyright.txt or http://www.mi.med.uni-hd.de/free/copyright.htm 00017 for details. 00018 00019 This software is distributed WITHOUT ANY WARRANTY; without even 00020 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00021 PURPOSE. See the above copyright notices for more information. 00022 00023 =========================================================================*/ 00024 #ifndef __freLinearInterpolateController_h 00025 #define __freLinearInterpolateController_h 00026 00027 #include "freInterpolatorControllerBase.h" 00028 00029 #include "itkLinearInterpolateImageFunction.h" 00030 00031 namespace FREE 00032 { 00033 00043 freControllerIDMacro(Linear2DInterpolateController, "Linear 2D Interpolation"); 00044 class Linear2DInterpolateController : public InterpolatorControllerBase<itk::LinearInterpolateImageFunction<InternalImage2DType,ScalarType> > 00045 { 00046 public: 00047 typedef itk::LinearInterpolateImageFunction<InternalImage2DType,ScalarType> ComponentType; 00048 typedef InterpolatorControllerBase<ComponentType> Superclass; 00049 00050 itkTypeMacro(Linear2DInterpolateController, InterpolatorControllerBase); 00051 00052 Linear2DInterpolateController(); 00053 00054 }; 00055 00065 freControllerIDMacro(Linear3DInterpolateController, "Linear 3D Interpolation"); 00066 class Linear3DInterpolateController : public InterpolatorControllerBase<itk::LinearInterpolateImageFunction<InternalImage3DType,ScalarType> > 00067 { 00068 public: 00069 typedef itk::LinearInterpolateImageFunction<InternalImage3DType,ScalarType> ComponentType; 00070 typedef InterpolatorControllerBase<ComponentType> Superclass; 00071 00072 itkTypeMacro(Linear3DInterpolateController, InterpolatorControllerBase); 00073 00074 Linear3DInterpolateController(); 00075 00076 }; 00077 00078 } //end of namespace free 00079 00080 #endif
1.5.3 written by Dimitri van Heesch,
© 1997-2000