Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkConjugateGradientOptimizerView.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 QmitkConjugateGradientOptimizerViewWidgetHIncluded
18 #define QmitkConjugateGradientOptimizerViewWidgetHIncluded
19 
22 #include "ui_QmitkConjugateGradientOptimizerControls.h"
23 #include <itkArray.h>
24 #include <itkImage.h>
25 #include <itkObject.h>
26 
33 {
34 public:
35  QmitkConjugateGradientOptimizerView(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
37 
39 
40  virtual itk::Object::Pointer GetOptimizer() override;
41 
42  virtual itk::Array<double> GetOptimizerParameters() override;
43 
44  virtual void SetOptimizerParameters(itk::Array<double> metricValues) override;
45 
46  virtual void SetNumberOfTransformParameters(int transformParameters) override;
47 
48  virtual QString GetName() override;
49 
50  virtual void SetupUI(QWidget *parent) override;
51 
52 protected:
53  Ui::QmitkConjugateGradientOptimizerControls m_Controls;
54 
56 };
57 
58 #endif
itk::SmartPointer< Self > Pointer
virtual void SetupUI(QWidget *parent)=0
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
Ui::QmitkConjugateGradientOptimizerControls m_Controls
OptimizerType
Unique integer value for every optimizer.