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

itkMembershipFunctionBase.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMembershipFunctionBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/03/05 17:56:44 $
00007   Version:   $Revision: 1.1 $
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 __itkMembershipFunctionBase_h
00018 #define __itkMembershipFunctionBase_h
00019 
00020 #include "itkFunctionBase.h"
00021 
00022 namespace itk{ 
00023   namespace Statistics{
00024 
00036 template< class TVector >
00037 class ITK_EXPORT MembershipFunctionBase :
00038       public FunctionBase< TVector, double >
00039 {
00040 public:
00042   typedef MembershipFunctionBase Self;
00043   typedef FunctionBase< TVector, double > Superclass ;
00044   typedef SmartPointer< Self > Pointer ;
00045 
00047   itkTypeMacro(MembershipFunctionBase, FunctionBase);
00048 
00050   virtual double Evaluate(const TVector &x) const = 0 ;
00051 
00052 protected:
00053   MembershipFunctionBase(void) {}
00054   virtual ~MembershipFunctionBase(void) {}
00055 
00056   void PrintSelf(std::ostream& os, Indent indent) const
00057   { Superclass::PrintSelf(os,indent) ; }
00058 } ; // end of class
00059 
00060   } // end of namespace Statistics
00061 } // end namespace itk
00062 
00063 #endif
00064 
00065 
00066 
00067 
00068 
00069 
00070 

Generated at Wed Mar 12 01:13:05 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000