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

itkDensityFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkDensityFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/03/05 18:27:57 $
00007   Version:   $Revision: 1.5 $
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 __itkDensityFunction_h
00018 #define __itkDensityFunction_h
00019 
00020 #include "itkMembershipFunctionBase.h"
00021 
00022 namespace itk{ 
00023   namespace Statistics{
00024 
00031 template< class TMeasurementVector >
00032 class ITK_EXPORT DensityFunction :
00033       public MembershipFunctionBase< TMeasurementVector >
00034 {
00035 public:
00037   typedef DensityFunction Self;
00038   typedef MembershipFunctionBase< TMeasurementVector > Superclass ;
00039   typedef SmartPointer<Self> Pointer;
00040 
00042   itkTypeMacro(DensityFunction, MembershipFunctionBase);
00043 
00046   virtual double Evaluate(const TMeasurementVector &measurement) const = 0 ;
00047   
00048 protected:
00049   DensityFunction(void) {}
00050   virtual ~DensityFunction(void) {}
00051 
00052   void PrintSelf(std::ostream& os, Indent indent) const
00053   { Superclass::PrintSelf(os,indent) ; }
00054 } ; // end of class
00055 
00056   } // end of namespace Statistics
00057 } // end namespace itk
00058 
00059 #endif
00060 
00061 
00062 
00063 
00064 

Generated at Fri May 21 01:14:39 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000