/*============================================================================= NOTE: THIS FILE IS A HANDMADE WRAPPER FOR THE ManagedITK PROJECT. Project: ManagedITK Program: Insight Segmentation & Registration Toolkit Module: itkManagedOptimizer.cxx Language: C++/CLI Author: Dan Mueller $Date: 2007-04-11 16:26:16 +1000 (Wed, 11 Apr 2007) $ $Revision: 128 $ Copyright (c) Queensland University of Technology (QUT) 2007. All rights reserved. Portions of this code are covered under the ITK and VTK copyright. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =============================================================================*/ #pragma once #pragma warning( disable : 4635 ) // Disable warnings about XML doc comments #ifndef __itkManagedOptimizer_cxx #define __itkManagedOptimizer_cxx // Use some managed namespaces #using #using using namespace System; using namespace System::IO; using namespace System::Reflection; using namespace System::Diagnostics; using namespace System::Collections::Generic; // Include some useful ManagedITK files #include "itkManagedArray.cxx" #include "itkManagedObject.cxx" namespace itk { /// ///This class is a managed replacement for itk::Optimizer. /// /// ///Optimizer is a generic representation for an optimization method. /// public ref class itkOptimizer abstract : itkObject { public: ///Get/set the position to initialize the optimization. property itkArray^ InitialPosition { virtual itkArray^ get() = 0; virtual void set( itkArray^ parameters ) = 0; } ///Get/set the parameter scaling. property itkArray^ Scales { virtual itkArray^ get() = 0; virtual void set( itkArray^ scales ) = 0; } ///Get the current position of the optimization. property itkArray^ CurrentPosition { virtual itkArray^ get() = 0; } ///Start the optimization algorithm. virtual void StartOptimization() = 0; }; // end ref class } // end namespace itk #endif