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

itkKernelFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkKernelFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-05 19:04:58 $
00007   Version:   $Revision: 1.7 $
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 __itkKernelFunction_h
00018 #define __itkKernelFunction_h
00019 
00020 #include "itkFunctionBase.h"
00021 #include "vnl/vnl_math.h"
00022 
00023 namespace itk
00024 {
00025 
00039 class ITKCommon_EXPORT KernelFunction : public FunctionBase<double,double>
00040 {
00041 public:  
00043   typedef KernelFunction              Self;
00044   typedef FunctionBase<double,double> Superclass;
00045   typedef SmartPointer<Self>          Pointer;
00046   typedef SmartPointer<const Self>    ConstPointer;
00047 
00049   itkTypeMacro(KernelFunction, FunctionBase);
00050 
00052   virtual double Evaluate (const double& u) const = 0;
00053 
00054 protected:  
00055   KernelFunction();
00056   ~KernelFunction();
00057   void PrintSelf(std::ostream& os, Indent indent) const
00058     { Superclass::PrintSelf( os, indent ); }  
00059 
00060 };
00061 
00062 
00063 } // end namespace itk
00064 
00065 #endif
00066 

Generated at Sat Feb 28 12:53:34 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000