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: 2003/12/09 16:53:08 $ 00007 Version: $Revision: 1.4 $ 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 __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 typedef SmartPointer<const Self> ConstPointer; 00046 00048 itkTypeMacro(MembershipFunctionBase, FunctionBase); 00049 00051 virtual double Evaluate(const TVector &x) const = 0 ; 00052 00053 protected: 00054 MembershipFunctionBase(void) {} 00055 virtual ~MembershipFunctionBase(void) {} 00056 00057 void PrintSelf(std::ostream& os, Indent indent) const 00058 { Superclass::PrintSelf(os,indent) ; } 00059 } ; // end of class 00060 00061 } // end of namespace Statistics 00062 } // end namespace itk 00063 00064 #endif 00065 00066 00067 00068 00069 00070 00071

Generated at Sun Apr 1 02:37:44 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000