Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkFitParameterWidget.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 (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
14
#ifndef QmitkFitParameterWidget_h
15
#define QmitkFitParameterWidget_h
16
17
#include "
mitkModelFitInfo.h
"
18
#include "
mitkPointSet.h
"
19
20
#include "
MitkModelFitUIExports.h
"
21
22
#include "ui_QmitkFitParameterWidget.h"
23
#include <QWidget>
24
25
26
class
QmitkFitParameterModel
;
27
34
class
MITKMODELFITUI_EXPORT
QmitkFitParameterWidget
:
public
QWidget
35
{
36
Q_OBJECT
37
38
public
:
39
using
FitVectorType
= std::vector<mitk::modelFit::ModelFitInfo::ConstPointer>;
40
41
QmitkFitParameterWidget
(QWidget* parent =
nullptr
);
42
~
QmitkFitParameterWidget
()
override
;
43
44
const
FitVectorType
& getFits()
const
;
45
46
mitk::Point3D
getCurrentPosition()
const
;
47
48
const
mitk::PointSet
* getPositionBookmarks()
const
;
49
50
public
Q_SLOTS:
51
52
void
setFits(
const
FitVectorType
& fits);
53
54
void
setCurrentPosition(
const
mitk::Point3D
& currentPos);
55
56
void
setPositionBookmarks(
const
mitk::PointSet
* bookmarks);
57
58
protected
Q_SLOTS:
59
void
OnExportClicked()
const
;
60
62
void
OnClipboardResultsButtonClicked()
const
;
63
64
protected
:
65
std::string streamModelToString()
const
;
66
67
QmitkFitParameterModel
*
m_InternalModel
;
68
69
Ui::QmitkFitParameterWidget
m_Controls
;
70
71
};
72
75
std::string
SanatizeString
(std::string str);
76
77
#endif
QmitkFitParameterWidget::m_Controls
Ui::QmitkFitParameterWidget m_Controls
Definition:
QmitkFitParameterWidget.h:69
QmitkFitParameterModel
Definition:
QmitkFitParameterModel.h:30
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition:
MitkModelFitUIExports.h:15
QmitkFitParameterWidget::m_InternalModel
QmitkFitParameterModel * m_InternalModel
Definition:
QmitkFitParameterWidget.h:67
mitkPointSet.h
mitk::Point< ScalarType, 3 >
SanatizeString
std::string SanatizeString(std::string str)
mitkModelFitInfo.h
QmitkFitParameterWidget::FitVectorType
std::vector< mitk::modelFit::ModelFitInfo::ConstPointer > FitVectorType
Definition:
QmitkFitParameterWidget.h:39
MitkModelFitUIExports.h
mitk::PointSet
Data structure which stores a set of points.
Definition:
mitkPointSet.h:71
QmitkFitParameterWidget
Definition:
QmitkFitParameterWidget.h:34
src
MITK
Modules
ModelFitUI
Qmitk
QmitkFitParameterWidget.h
Generated on Tue Dec 24 2024 02:12:30 for Medical Imaging Interaction Toolkit by
1.8.17