#include <freLevenbergMarquardtOptimizerController.h>


Public Types | |
| typedef itk::LevenbergMarquardtOptimizer | ComponentType |
| typedef MVNonLinearVNLOptimizerControllerBase < ComponentType > | Superclass |
Public Member Functions | |
| itkTypeMacro (LevenbergMarquardtOptimizerController, MVNonLinearVNLOptimizerControllerBase) | |
| LevenbergMarquardtOptimizerController () | |
Protected Member Functions | |
| virtual void | GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const |
| virtual void | ActualizeMainComponent (ComponentType *pMainComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const unsigned int &iActLevel) const |
LevenbergMarquardtOptimizerController is derived from MVNonLinearVNLOptimizerControllerBase and the class for the control of a LevenbergMarquardt optimizer. The class uses the itk::LevenbergMarquardtOptimizer
Definition at line 42 of file freLevenbergMarquardtOptimizerController.h.
| typedef itk::LevenbergMarquardtOptimizer FREE::LevenbergMarquardtOptimizerController::ComponentType |
The component class managed by the controller. The component class must be a derivation from itk::LightObject to ensure the ability to use the smartpointer concept of itk
Reimplemented from FREE::MVNonLinearVNLOptimizerControllerBase< itk::LevenbergMarquardtOptimizer >.
Definition at line 47 of file freLevenbergMarquardtOptimizerController.h.
| typedef MVNonLinearVNLOptimizerControllerBase<ComponentType> FREE::LevenbergMarquardtOptimizerController::Superclass |
Reimplemented from FREE::MVNonLinearVNLOptimizerControllerBase< itk::LevenbergMarquardtOptimizer >.
Definition at line 48 of file freLevenbergMarquardtOptimizerController.h.
| FREE::LevenbergMarquardtOptimizerController::LevenbergMarquardtOptimizerController | ( | ) |
Implementation of FREE::LevenbergMarquardtOptimizerController //////
Definition at line 35 of file freLevenbergMarquardtOptimizerController.cxx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| FREE::LevenbergMarquardtOptimizerController::itkTypeMacro | ( | LevenbergMarquardtOptimizerController | , | |
| MVNonLinearVNLOptimizerControllerBase | ||||
| ) |
| void FREE::LevenbergMarquardtOptimizerController::GenerateProfile | ( | CtrlProfile::ControllerProfile & | profile, | |
| const SessionComponentCache * | pComponentCache, | |||
| bool | bRegardOldSetup | |||
| ) | const [protected, virtual] |
Adjusts the current profile according to the definitions of the controller.
Method should call the superclass variant to regard demands of basic controllers.
| [in,out] | profile | Reference of the current profile. |
| [in] | pComponentCache | Pointer to the cache indicating the location of the component that should be profiled. This pointer can be null. In this case only a default profile that isn't context sensitive is wanted (others aren't possible anyway) |
| [in] | bRegardOldSetup | If true, the setup of pComponentCache is valid and should be regarded when the profile is generated. Otherwise just use defaults if setup information is needed. |
Reimplemented from FREE::MVNonLinearVNLOptimizerControllerBase< itk::LevenbergMarquardtOptimizer >.
Definition at line 44 of file freLevenbergMarquardtOptimizerController.cxx.
References FREE::cParam_EpsilonFunction, FREE::cParam_GradMagTolerance, FREE::cParam_Iterations, FREE::cParam_ValueTolerance, FREE::cParamDsc_EpsilonFunction, FREE::cParamDsc_GradMagTolerance, FREE::cParamDsc_Iterations, FREE::cParamDsc_ValueTolerance, FREE::MVNonLinearVNLOptimizerControllerBase< TControlledVNLOptimizer >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::Parameter::PVTDouble, and FREE::Parameter::PVTInteger.

| void FREE::LevenbergMarquardtOptimizerController::ActualizeMainComponent | ( | ComponentType * | pMainComponent, | |
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo, | |||
| const unsigned int & | iActLevel | |||
| ) | const [protected, virtual] |
This function (called by ActualizeComponent()) actualizes the passed component with the setup information considering the actual resolution level of the ongoing registration. In a derived class this function should be overridden to provide a specific behavior.
| [in,out] | pMainComponent | Pointer to the main component. Can also be retrieved via component cache, but offered directly and already casted for more convenience. |
| [in,out] | pComponentCache | Pointer to the component cache that should be actualized. |
| [in] | pSessionInfo | Pointer to the session info. |
| [in] | iActLevel | Indicates which layer of a parameter should be used, if the parameter is layer sensitive (e.g. as resolution level of a registration). Default is 0. |
Reimplemented from FREE::ComponentControllerBase< itk::LevenbergMarquardtOptimizer >.
Definition at line 59 of file freLevenbergMarquardtOptimizerController.cxx.
References FREE::MVNonLinearVNLOptimizerControllerBase< TControlledVNLOptimizer >::ActualizeMainComponent(), catchAllNPassMacro, FREE::cParam_EpsilonFunction, FREE::cParam_GradMagTolerance, FREE::cParam_Iterations, FREE::cParam_ValueTolerance, FREE::SessionAccessor::GetParameterValue(), and FREE::OptimizerControllerBase< itk::LevenbergMarquardtOptimizer >::GetTransformScales().

1.5.3 written by Dimitri van Heesch,
© 1997-2000