Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkRigidRegistrationOptimizerGUIBase.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 QmitkRigidRegistrationOptimizerGUIBaseH
18 #define QmitkRigidRegistrationOptimizerGUIBaseH
19 
21 #include "mitkImage.h"
23 #include <QString>
24 #include <QWidget>
25 #include <itkArray.h>
26 #include <itkObject.h>
27 
34 {
35 public:
36  QmitkRigidRegistrationOptimizerGUIBase(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
38 
39  virtual mitk::OptimizerParameters::OptimizerType GetOptimizerType() = 0;
40 
41  virtual itk::Object::Pointer GetOptimizer() = 0;
42 
43  virtual itk::Array<double> GetOptimizerParameters() = 0;
44 
45  virtual void SetOptimizerParameters(itk::Array<double> optimizerValues) = 0;
46 
47  virtual void SetNumberOfTransformParameters(int transformParameters) = 0;
48 
49  virtual QString GetName() = 0;
50 
51  virtual void SetupUI(QWidget *parent) = 0;
52 
53 protected:
54 };
55 
56 #endif // QmitkRigidRegistrationOptimizerGUIBaseH
itk::SmartPointer< Self > Pointer
#define MITKRIGIDREGISTRATIONUI_EXPORT
static std::string GetName(std::string fileName, std::string suffix)
OptimizerType
Unique integer value for every optimizer.