Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkResidualAnalysisWidget Class Reference

Widget for displaying boxplots framework. More...

#include <QmitkResidualAnalysisWidget.h>

Inheritance diagram for QmitkResidualAnalysisWidget:
Collaboration diagram for QmitkResidualAnalysisWidget:

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< ScalarTypeDataVector
 
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)
 

Detailed Description

Widget for displaying boxplots framework.

Definition at line 30 of file QmitkResidualAnalysisWidget.h.

Constructor & Destructor Documentation

QmitkResidualAnalysisWidget::QmitkResidualAnalysisWidget ( QWidget *  parent)

Definition at line 26 of file QmitkResidualAnalysisWidget.cpp.

References QmitkPlotWidget::m_Plot, and m_PlotPicker.

QmitkResidualAnalysisWidget::~QmitkResidualAnalysisWidget ( )
virtual

Definition at line 36 of file QmitkResidualAnalysisWidget.cpp.

References m_PlotPicker.

Member Function Documentation

QwtPlot* QmitkResidualAnalysisWidget::GetPlot ( )
inline

Definition at line 44 of file QmitkResidualAnalysisWidget.h.

References QmitkPlotWidget::m_Plot.

void QmitkResidualAnalysisWidget::SetMeans ( std::vector< double >  means)
inline

Definition at line 52 of file QmitkResidualAnalysisWidget.h.

void QmitkResidualAnalysisWidget::SetPercentagesOfOutliers ( std::vector< double >  perc)
inline

Definition at line 67 of file QmitkResidualAnalysisWidget.h.

void QmitkResidualAnalysisWidget::SetQ1 ( std::vector< double >  q1)
inline

Definition at line 57 of file QmitkResidualAnalysisWidget.h.

void QmitkResidualAnalysisWidget::SetQ3 ( std::vector< double >  q3)
inline

Definition at line 62 of file QmitkResidualAnalysisWidget.h.

Member Data Documentation

std::vector< double > QmitkResidualAnalysisWidget::m_Means
protected

Definition at line 78 of file QmitkResidualAnalysisWidget.h.

Referenced by DrawMeans().

std::vector< double > QmitkResidualAnalysisWidget::m_PercentagesOfOutliers
protected

Definition at line 81 of file QmitkResidualAnalysisWidget.h.

Referenced by DrawPercentagesOfOutliers().

QwtPlotPicker* QmitkResidualAnalysisWidget::m_PlotPicker
std::vector< double > QmitkResidualAnalysisWidget::m_Q1
protected

Definition at line 79 of file QmitkResidualAnalysisWidget.h.

Referenced by DrawMeans().

std::vector< double > QmitkResidualAnalysisWidget::m_Q3
protected

Definition at line 80 of file QmitkResidualAnalysisWidget.h.

Referenced by DrawMeans().


The documentation for this class was generated from the following files: