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

itkCostFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCostFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-03-22 21:39:37 $
00007   Version:   $Revision: 1.14 $
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 __itkCostFunction_h
00018 #define __itkCostFunction_h
00019 
00020 #include "itkObject.h"
00021 #include "itkObjectFactory.h"
00022 #include "itkArray.h"
00023 #include "itkExceptionObject.h"
00024 
00025 namespace itk
00026 {
00027   
00035 class ITK_EXPORT CostFunction : public Object 
00036 {
00037 public:
00039   typedef CostFunction              Self;
00040   typedef Object                    Superclass;
00041   typedef SmartPointer<Self>        Pointer;
00042   typedef SmartPointer<const Self>  ConstPointer;
00043 
00044 
00046   itkTypeMacro(CostFunction, Object);
00047 
00050   typedef double                        ParametersValueType;
00051   typedef Array<ParametersValueType>    ParametersType;
00052 
00053  
00057   virtual unsigned int GetNumberOfParameters(void) const  = 0;
00058 
00059 
00060 protected:
00061   CostFunction() {};
00062   virtual ~CostFunction() {};
00063   void PrintSelf(std::ostream& os, Indent indent) const;
00064 
00065 
00066 private:
00067   CostFunction(const Self&); //purposely not implemented
00068   void operator=(const Self&); //purposely not implemented
00069 
00070 
00071 };
00072 
00073 } // end namespace itk
00074 
00075 #endif
00076 

Generated at Mon Jul 12 2010 18:09:24 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000