18 #ifndef itkSingleValuedNonLinearVnlOptimizerv4_h
19 #define itkSingleValuedNonLinearVnlOptimizerv4_h
21 #include "ITKOptimizersv4Export.h"
67 virtual
void StartOptimization(
bool doOnlyInitialization = false) ITK_OVERRIDE;
75 virtual
void SetMetric(MetricType *metric) ITK_OVERRIDE = 0;
82 itkGetConstReferenceMacro(CachedDerivative, DerivativeType);
83 itkGetConstReferenceMacro(CachedCurrentPosition, ParametersType);
87 virtual const StopConditionReturnStringType GetStopConditionDescription() const ITK_OVERRIDE = 0;
91 virtual ~SingleValuedNonLinearVnlOptimizerv4();
95 void SetCostFunctionAdaptor(CostFunctionAdaptorType *adaptor);
97 const CostFunctionAdaptorType * GetCostFunctionAdaptor() const;
99 CostFunctionAdaptorType * GetCostFunctionAdaptor();
103 CostFunctionAdaptorType * GetNonConstCostFunctionAdaptor() const;
106 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
117 SingleValuedNonLinearVnlOptimizerv4(const
Self &) ITK_DELETE_FUNCTION;
118 void operator=(const
Self &) ITK_DELETE_FUNCTION;
120 CostFunctionAdaptorType *m_CostFunctionAdaptor;
124 mutable ParametersType m_CachedCurrentPosition;
125 mutable DerivativeType m_CachedDerivative;
Superclass::ParametersType ParametersType
Light weight base class for most itk classes.
ObjectToObjectOptimizerBase Superclass
Superclass::MetricType MetricType
SingleValuedNonLinearVnlOptimizerv4 Self
This class is an Adaptor that allows to pass itk::ObjectToObjectMetricBase objects to vnl_optimizers ...
This is a base for the ITKv4 Optimization methods using the vnl library.
SmartPointer< const Self > ConstPointer
Superclass::DerivativeType DerivativeType
A Command subclass that calls a pointer to a member function.
Abstraction of the Events used to communicating among filters and with GUIs.
Superclass::ScalesType ScalesType
Superclass::StopConditionReturnStringType StopConditionReturnStringType
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
Superclass::StopConditionDescriptionType StopConditionDescriptionType
Abstract base for object-to-object optimizers.