Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Widget for displaying boxplots framework. More...
#include <QmitkResidualAnalysisWidget.h>
Public Member Functions | |
QmitkResidualAnalysisWidget (QWidget *parent) | |
virtual | ~QmitkResidualAnalysisWidget () |
QwtPlot * | GetPlot () |
void | SetMeans (std::vector< double > means) |
void | SetQ1 (std::vector< double > q1) |
void | SetQ3 (std::vector< double > q3) |
void | SetPercentagesOfOutliers (std::vector< double > perc) |
void | DrawMeans () |
void | DrawPercentagesOfOutliers () |
Public Member Functions inherited from QmitkPlotWidget | |
QmitkPlotWidget (QWidget *parent=nullptr, const char *title=nullptr, const char *name=nullptr, Qt::WindowFlags f=nullptr) | |
virtual | ~QmitkPlotWidget () |
QwtPlot * | GetPlot () |
void | SetPlotTitle (const QwtText &qwt_title) |
void | SetPlotTitle (const char *title) |
unsigned int | InsertCurve (const char *title, QColor color=QColor(Qt::black)) |
void | SetAxisTitle (int axis, const char *title) |
bool | SetCurveData (unsigned int curveId, const DataVector &xValues, const DataVector &yValues) |
bool | SetCurveData (unsigned int curveId, const DataVector &xValues, const DataVector &yValues, const DataVector &yLowerError, const DataVector &yUpperError) |
Sets the data with errors for a previously added curve. More... | |
bool | SetCurveData (unsigned int curveId, const DataVector &xValues, const DataVector &yValues, const DataVector &xLowerError, const DataVector &xUpperError, const DataVector &yLowerError, const DataVector &yUpperError) |
Sets the data with errors for a previously added curve. More... | |
bool | SetCurveData (unsigned int curveId, const XYDataVector &data) |
void | SetCurvePen (unsigned int curveId, const QPen &pen) |
void | SetCurveBrush (unsigned int curveId, const QBrush &brush) |
void | SetCurveStyle (unsigned int curveId, const QwtPlotCurve::CurveStyle style) |
void | SetCurveSymbol (unsigned int curveId, QwtSymbol *symbol) |
void | SetCurveAntialiasingOn (unsigned int curveId) |
void | SetCurveAntialiasingOff (unsigned int curveId) |
void | SetCurveTitle (unsigned int curveId, const char *title) |
void | SetErrorPen (unsigned int curveId, const QPen &pen) |
void | SetErrorStyleSymbols (unsigned int curveId, bool drawSmybols) |
void | SetLegend (QwtLegend *legend, QwtPlot::LegendPosition pos=QwtPlot::RightLegend, double ratio=-1) |
void | SetLegendAttribute (unsigned int curveId, const QwtPlotCurve::LegendAttribute &attribute) |
void | Replot () |
void | Clear () |
Public Attributes | |
QwtPlotPicker * | m_PlotPicker |
Protected Attributes | |
std::vector< double > | m_Means |
std::vector< double > | m_Q1 |
std::vector< double > | m_Q3 |
std::vector< double > | m_PercentagesOfOutliers |
Protected Attributes inherited from QmitkPlotWidget | |
QwtPlot * | m_Plot |
std::vector< std::tuple< QwtPlotCurve *, QwtPlotIntervalCurve *, QwtPlotIntervalCurve * > > | m_PlotCurveVector |
Additional Inherited Members | |
Public Types inherited from QmitkPlotWidget | |
typedef double | ScalarType |
typedef std::vector< ScalarType > | DataVector |
typedef std::vector< std::pair< double, double > > | XYDataVector |
Protected Member Functions inherited from QmitkPlotWidget | |
double * | ConvertToRawArray (const DataVector &values) |
double * | ConvertToRawArray (const XYDataVector &values, unsigned int component) |
bool | AddErrorIntervalCurve (unsigned int curveId, const DataVector &lessError, const DataVector &moreError, bool isXError) |
Widget for displaying boxplots framework.
Definition at line 30 of file QmitkResidualAnalysisWidget.h.
QmitkResidualAnalysisWidget::QmitkResidualAnalysisWidget | ( | QWidget * | parent | ) |
Definition at line 26 of file QmitkResidualAnalysisWidget.cpp.
References QmitkPlotWidget::m_Plot, and m_PlotPicker.
|
virtual |
Definition at line 36 of file QmitkResidualAnalysisWidget.cpp.
References m_PlotPicker.
void QmitkResidualAnalysisWidget::DrawMeans | ( | ) |
Definition at line 42 of file QmitkResidualAnalysisWidget.cpp.
References QmitkPlotWidget::Clear(), QmitkPlotWidget::InsertCurve(), m_Means, QmitkPlotWidget::m_Plot, m_Q1, m_Q3, QmitkPlotWidget::Replot(), QmitkPlotWidget::SetCurveData(), QmitkPlotWidget::SetCurvePen(), QmitkPlotWidget::SetCurveStyle(), QmitkPlotWidget::SetLegend(), and QmitkPlotWidget::SetPlotTitle().
void QmitkResidualAnalysisWidget::DrawPercentagesOfOutliers | ( | ) |
Definition at line 87 of file QmitkResidualAnalysisWidget.cpp.
References QmitkPlotWidget::Clear(), QmitkPlotWidget::InsertCurve(), m_PercentagesOfOutliers, QmitkPlotWidget::m_Plot, QmitkPlotWidget::Replot(), QmitkPlotWidget::SetCurveData(), QmitkPlotWidget::SetCurvePen(), QmitkPlotWidget::SetLegend(), and QmitkPlotWidget::SetPlotTitle().
|
inline |
Definition at line 44 of file QmitkResidualAnalysisWidget.h.
References QmitkPlotWidget::m_Plot.
|
inline |
Definition at line 52 of file QmitkResidualAnalysisWidget.h.
|
inline |
Definition at line 67 of file QmitkResidualAnalysisWidget.h.
|
inline |
Definition at line 57 of file QmitkResidualAnalysisWidget.h.
|
inline |
Definition at line 62 of file QmitkResidualAnalysisWidget.h.
|
protected |
Definition at line 78 of file QmitkResidualAnalysisWidget.h.
Referenced by DrawMeans().
|
protected |
Definition at line 81 of file QmitkResidualAnalysisWidget.h.
Referenced by DrawPercentagesOfOutliers().
QwtPlotPicker* QmitkResidualAnalysisWidget::m_PlotPicker |
Definition at line 49 of file QmitkResidualAnalysisWidget.h.
Referenced by QmitkResidualAnalysisWidget(), and ~QmitkResidualAnalysisWidget().
|
protected |
Definition at line 79 of file QmitkResidualAnalysisWidget.h.
Referenced by DrawMeans().
|
protected |
Definition at line 80 of file QmitkResidualAnalysisWidget.h.
Referenced by DrawMeans().