19 #include <itkConjugateGradientOptimizer.h>
38 OptimizerPointer->SetMaximize(
m_Controls.m_Maximize->isChecked());
48 return OptimizerPointer.GetPointer();
53 itk::Array<double> optimizerValues;
54 optimizerValues.SetSize(1);
55 optimizerValues.fill(0);
56 optimizerValues[0] =
m_Controls.m_Maximize->isChecked();
57 return optimizerValues;
62 m_Controls.m_Maximize->setChecked(optimizerValues[0]);
72 return "ConjugateGradient";
itk::SmartPointer< Self > Pointer
~QmitkConjugateGradientOptimizerView()
virtual void SetOptimizerParameters(itk::Array< double > metricValues) override
virtual void SetNumberOfTransformParameters(int transformParameters) override
QmitkConjugateGradientOptimizerView(QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
virtual mitk::OptimizerParameters::OptimizerType GetOptimizerType() override
Widget for rigid registration.
virtual void SetupUI(QWidget *parent) override
virtual itk::Array< double > GetOptimizerParameters() override
virtual QString GetName() override
virtual itk::Object::Pointer GetOptimizer() override
Ui::QmitkConjugateGradientOptimizerControls m_Controls
int m_NumberTransformParameters
OptimizerType
Unique integer value for every optimizer.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.