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

itkMultiquadricRadialBasisFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMultiquadricRadialBasisFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/08/17 13:10:57 $
00007   Version:   $Revision: 1.2 $
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 
00018 #ifndef __itkMultiquadricRadialBasisFunction_h
00019 #define __itkMultiquadricRadialBasisFunction_h
00020 
00021 #include "itkTransferFunctionBase.h"
00022 
00023 namespace itk
00024 {
00025 namespace Statistics
00026 {
00027 template<class ScalarType>
00028 class MultiquadricRadialBasisFunction : public TransferFunctionBase<ScalarType>
00029 {
00030 public:
00031 
00033   typedef MultiquadricRadialBasisFunction Self;
00034   typedef TransferFunctionBase<ScalarType> Superclass;
00035   typedef SmartPointer<Self> Pointer;
00036   typedef SmartPointer<const Self> ConstPointer;
00037 
00039   itkTypeMacro(MultiquadricRadialBasisFunction, TransferFunctionBase);
00040 
00042   itkNewMacro(Self) ;
00043 
00045   virtual ScalarType Evaluate(const ScalarType& input) const; //{return 0;};
00046 
00048   virtual ScalarType EvaluateDerivative(const ScalarType& input) const{return 0;};
00049 
00050   itkSetMacro(Radius,ScalarType);
00051   itkGetConstReferenceMacro(Radius,ScalarType);
00052   itkSetMacro(Center,ScalarType);
00053   itkGetConstReferenceMacro(Center,ScalarType);
00054 
00055 protected:
00056 
00057   MultiquadricRadialBasisFunction();
00058   virtual ~MultiquadricRadialBasisFunction();
00059 
00061   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00062 
00063 private:
00064 
00065   ScalarType m_Radius;
00066   ScalarType m_Center;
00067 
00068 };
00069 
00070 } // end namespace Statistics
00071 } // end namespace itk
00072 
00073 #ifndef ITK_MANUAL_INSTANTIATION
00074   #include "itkMultiquadricRadialBasisFunction.txx"
00075 #endif
00076 
00077 
00078 #endif
00079 

Generated at Wed Nov 5 23:00:36 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000