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

itkSingleValuedNonLinearVnlOptimizer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkSingleValuedNonLinearVnlOptimizer.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/03/12 22:27:55 $
00007   Version:   $Revision: 1.20 $
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 __itkSingleValuedNonLinearVnlOptimizer_h
00018 #define __itkSingleValuedNonLinearVnlOptimizer_h
00019 
00020 #include "itkSingleValuedNonLinearOptimizer.h"
00021 #include "itkSingleValuedVnlCostFunctionAdaptor.h"
00022 
00023 
00024 namespace itk
00025 {
00026   
00035 class ITK_EXPORT SingleValuedNonLinearVnlOptimizer : 
00036     public SingleValuedNonLinearOptimizer
00037 {
00038 public:
00040   typedef SingleValuedNonLinearVnlOptimizer     Self;
00041   typedef SingleValuedNonLinearOptimizer        Superclass;
00042   typedef SmartPointer<Self>                    Pointer;
00043   typedef SmartPointer<const Self>              ConstPointer;
00044   
00046   itkTypeMacro( SingleValuedNonLinearVnlOptimizer, 
00047                 SingleValueNonLinearOptimizer );
00048 
00055   virtual void SetCostFunction( SingleValuedCostFunction * costFunction ) = 0;
00056 
00057 protected:
00058   SingleValuedNonLinearVnlOptimizer();
00059   virtual ~SingleValuedNonLinearVnlOptimizer();
00060 
00061   typedef SingleValuedVnlCostFunctionAdaptor   CostFunctionAdaptorType;
00062 
00063   void SetCostFunctionAdaptor( CostFunctionAdaptorType * adaptor );
00064   const CostFunctionAdaptorType * GetCostFunctionAdaptor( void ) const;
00065   CostFunctionAdaptorType * GetCostFunctionAdaptor( void );
00066 
00067 private:
00068   SingleValuedNonLinearVnlOptimizer(const Self&); //purposely not implemented
00069   void operator=(const Self&); //purposely not implemented
00070 
00071   CostFunctionAdaptorType * m_CostFunctionAdaptor;
00072 
00073 };
00074 
00075 } // end namespace itk
00076 
00077 
00078   
00079 
00080 
00081 #endif
00082 
00083 
00084 

Generated at Wed Mar 30 00:11:26 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000