Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkFitPlotDataWidget.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 QmitkFitPlotDataWidget_h
15 #define QmitkFitPlotDataWidget_h
16 
18 
19 #include "MitkModelFitUIExports.h"
20 
21 #include "ui_QmitkFitPlotDataWidget.h"
22 #include <QWidget>
23 #include <memory>
24 
26 
33 {
34  Q_OBJECT
35 
36 public:
37  using FitVectorType = std::vector<mitk::modelFit::ModelFitInfo::ConstPointer>;
38 
39  QmitkFitPlotDataWidget(QWidget* parent = nullptr);
40  ~QmitkFitPlotDataWidget() override;
41 
42  const mitk::ModelFitPlotData* GetPlotData() const;
43  const std::string& GetXName() const;
44 
45 public Q_SLOTS:
46 
47  void SetPlotData(const mitk::ModelFitPlotData* data);
48  void SetXName(const std::string& xName);
49 
50 protected Q_SLOTS:
51  void OnExportClicked() const;
52 
54  void OnClipboardResultsButtonClicked() const;
55 
56 protected:
57  std::string StreamModelToString() const;
58 
60 
61  Ui::QmitkFitPlotDataWidget m_Controls;
62 
63 };
64 
65 #endif
QmitkFitPlotDataWidget::m_Controls
Ui::QmitkFitPlotDataWidget m_Controls
Definition: QmitkFitPlotDataWidget.h:61
QmitkFitPlotDataModel
Definition: QmitkFitPlotDataModel.h:25
QmitkFitPlotDataWidget
Definition: QmitkFitPlotDataWidget.h:32
mitkModelFitPlotDataHelper.h
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition: MitkModelFitUIExports.h:15
QmitkFitPlotDataWidget::m_InternalModel
QmitkFitPlotDataModel * m_InternalModel
Definition: QmitkFitPlotDataWidget.h:59
QmitkFitPlotDataWidget::FitVectorType
std::vector< mitk::modelFit::ModelFitInfo::ConstPointer > FitVectorType
Definition: QmitkFitPlotDataWidget.h:37
MitkModelFitUIExports.h
mitk::ModelFitPlotData
Definition: mitkModelFitPlotDataHelper.h:73