Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QmitkResidualAnalysisWidget.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 QmitkResidualAnalysisWidget_H_
18 #define QmitkResidualAnalysisWidget_H_
19 
20 #include "QmitkPlotWidget.h"
21 
22 #include <org_mitk_gui_qt_diffusionimaging_Export.h>
23 
24 class QwtPlotPicker;
25 
30 class DIFFUSIONIMAGING_EXPORT QmitkResidualAnalysisWidget : public QmitkPlotWidget
31 {
32 
33 Q_OBJECT
34 
35 public:
36 
37 
38  QmitkResidualAnalysisWidget( QWidget * parent);
39  virtual ~QmitkResidualAnalysisWidget();
40 
41 
42 
43 
44  QwtPlot* GetPlot()
45  {
46  return m_Plot;
47  }
48 
49  QwtPlotPicker* m_PlotPicker;
50 
51 
52  void SetMeans(std::vector< double > means)
53  {
54  m_Means = means;
55  }
56 
57  void SetQ1(std::vector< double > q1)
58  {
59  m_Q1 = q1;
60  }
61 
62  void SetQ3(std::vector< double > q3)
63  {
64  m_Q3 = q3;
65  }
66 
67  void SetPercentagesOfOutliers(std::vector< double > perc)
68  {
69  m_PercentagesOfOutliers = perc;
70  }
71 
72 
73  void DrawMeans();
74  void DrawPercentagesOfOutliers();
75 
76 
77 protected:
78  std::vector< double > m_Means;
79  std::vector< double > m_Q1;
80  std::vector< double > m_Q3;
81  std::vector< double > m_PercentagesOfOutliers;
82 };
83 
84 #endif
void SetMeans(std::vector< double > means)
Widget for displaying boxplots framework.
void SetPercentagesOfOutliers(std::vector< double > perc)
void SetQ3(std::vector< double > q3)
std::vector< double > m_PercentagesOfOutliers
void SetQ1(std::vector< double > q1)