Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkRegularStepGradientDescentOptimizerView.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkRegularStepGradientDescentOptimizerViewWidgetHIncluded
18 #define QmitkRegularStepGradientDescentOptimizerViewWidgetHIncluded
19 
22 #include "ui_QmitkRegularStepGradientDescentOptimizerControls.h"
23 #include <itkArray.h>
24 #include <itkImage.h>
25 #include <itkObject.h>
26 
34 {
35 public:
36  QmitkRegularStepGradientDescentOptimizerView(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
38 
40 
41  virtual itk::Object::Pointer GetOptimizer() override;
42 
43  virtual itk::Array<double> GetOptimizerParameters() override;
44 
45  virtual void SetOptimizerParameters(itk::Array<double> metricValues) override;
46 
47  virtual void SetNumberOfTransformParameters(int transformParameters) override;
48 
49  virtual QString GetName() override;
50 
51  virtual void SetupUI(QWidget *parent) override;
52 
53 protected:
54  Ui::QmitkRegularStepGradientDescentOptimizerControls m_Controls;
55 
57 };
58 
59 #endif
itk::SmartPointer< Self > Pointer
virtual void SetupUI(QWidget *parent)=0
Ui::QmitkRegularStepGradientDescentOptimizerControls m_Controls
virtual itk::Object::Pointer GetOptimizer()=0
virtual void SetNumberOfTransformParameters(int transformParameters)=0
#define MITKRIGIDREGISTRATIONUI_EXPORT
virtual itk::Array< double > GetOptimizerParameters()=0
virtual mitk::OptimizerParameters::OptimizerType GetOptimizerType()=0
virtual void SetOptimizerParameters(itk::Array< double > optimizerValues)=0
OptimizerType
Unique integer value for every optimizer.