Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPartialVolumeAnalysisWidget Class Reference

Widget for displaying image histograms based on the vtkQtChart framework. More...

#include <QmitkPartialVolumeAnalysisWidget.h>

Inheritance diagram for QmitkPartialVolumeAnalysisWidget:
Collaboration diagram for QmitkPartialVolumeAnalysisWidget:

Public Types

typedef mitk::Image::HistogramType HistogramType
 
typedef mitk::Image::HistogramType::ConstIterator HistogramConstIteratorType
 
typedef mitk::PartialVolumeAnalysisClusteringCalculator ClusteringType
 
typedef ClusteringType::ParamsType ParamsType
 
typedef ClusteringType::ClusterResultType ResultsType
 
typedef ClusteringType::HistType HistType
 
- Public Types inherited from QmitkPlotWidget
typedef double ScalarType
 
typedef std::vector< ScalarTypeDataVector
 
typedef std::vector< std::pair< double, double > > XYDataVector
 

Public Member Functions

void SetParameters (ParamsType *params, ResultsType *results, HistType *hist)
 Set histogram to be displayed directly. More...
 
 QmitkPartialVolumeAnalysisWidget (QWidget *)
 
virtual ~QmitkPartialVolumeAnalysisWidget ()
 
void DrawGauss ()
 
void ClearItemModel ()
 
- 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

std::vector< std::vector< double > * > m_Vals
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from QmitkPlotWidget
QwtPlot * m_Plot
 
std::vector< std::tuple< QwtPlotCurve *, QwtPlotIntervalCurve *, QwtPlotIntervalCurve * > > m_PlotCurveVector
 

Detailed Description

Widget for displaying image histograms based on the vtkQtChart framework.

Definition at line 31 of file QmitkPartialVolumeAnalysisWidget.h.

Member Typedef Documentation

typedef mitk::Image::HistogramType::ConstIterator QmitkPartialVolumeAnalysisWidget::HistogramConstIteratorType

Definition at line 37 of file QmitkPartialVolumeAnalysisWidget.h.

Constructor & Destructor Documentation

QmitkPartialVolumeAnalysisWidget::QmitkPartialVolumeAnalysisWidget ( QWidget *  parent)

Definition at line 22 of file QmitkPartialVolumeAnalysisWidget.cpp.

References QmitkPlotWidget::m_Plot.

QmitkPartialVolumeAnalysisWidget::~QmitkPartialVolumeAnalysisWidget ( )
virtual

Definition at line 38 of file QmitkPartialVolumeAnalysisWidget.cpp.

Member Function Documentation

void QmitkPartialVolumeAnalysisWidget::ClearItemModel ( )

Definition at line 49 of file QmitkPartialVolumeAnalysisWidget.cpp.

void QmitkPartialVolumeAnalysisWidget::DrawGauss ( )

Definition at line 43 of file QmitkPartialVolumeAnalysisWidget.cpp.

Member Data Documentation

std::vector< std::vector<double>* > QmitkPartialVolumeAnalysisWidget::m_Vals

Definition at line 54 of file QmitkPartialVolumeAnalysisWidget.h.

Referenced by SetParameters().


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