Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Widget for displaying image histograms based on the vtkQtChart framework. More...
#include <QmitkPartialVolumeAnalysisWidget.h>
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< ScalarType > | DataVector |
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 |
Widget for displaying image histograms based on the vtkQtChart framework.
Definition at line 31 of file QmitkPartialVolumeAnalysisWidget.h.
typedef mitk::PartialVolumeAnalysisClusteringCalculator QmitkPartialVolumeAnalysisWidget::ClusteringType |
Definition at line 39 of file QmitkPartialVolumeAnalysisWidget.h.
typedef mitk::Image::HistogramType::ConstIterator QmitkPartialVolumeAnalysisWidget::HistogramConstIteratorType |
Definition at line 37 of file QmitkPartialVolumeAnalysisWidget.h.
Definition at line 36 of file QmitkPartialVolumeAnalysisWidget.h.
Definition at line 42 of file QmitkPartialVolumeAnalysisWidget.h.
Definition at line 40 of file QmitkPartialVolumeAnalysisWidget.h.
Definition at line 41 of file QmitkPartialVolumeAnalysisWidget.h.
QmitkPartialVolumeAnalysisWidget::QmitkPartialVolumeAnalysisWidget | ( | QWidget * | parent | ) |
Definition at line 22 of file QmitkPartialVolumeAnalysisWidget.cpp.
References QmitkPlotWidget::m_Plot.
|
virtual |
Definition at line 38 of file QmitkPartialVolumeAnalysisWidget.cpp.
void QmitkPartialVolumeAnalysisWidget::ClearItemModel | ( | ) |
Definition at line 49 of file QmitkPartialVolumeAnalysisWidget.cpp.
void QmitkPartialVolumeAnalysisWidget::DrawGauss | ( | ) |
Definition at line 43 of file QmitkPartialVolumeAnalysisWidget.cpp.
void QmitkPartialVolumeAnalysisWidget::SetParameters | ( | ParamsType * | params, |
ResultsType * | results, | ||
HistType * | hist | ||
) |
Set histogram to be displayed directly.
Definition at line 54 of file QmitkPartialVolumeAnalysisWidget.cpp.
References QmitkPlotWidget::Clear(), mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::GetCombiVals(), mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::GetFiberVals(), mitk::PartialVolumeAnalysisClusteringCalculator::HistType::GetHVals(), mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::GetMixedVals(), mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::GetNonFiberVals(), mitk::PartialVolumeAnalysisClusteringCalculator::HistType::GetXVals(), QmitkPlotWidget::InsertCurve(), QmitkPlotWidget::m_Plot, m_Vals, QmitkPlotWidget::Replot(), QmitkPlotWidget::SetCurveAntialiasingOn(), QmitkPlotWidget::SetCurveBrush(), QmitkPlotWidget::SetCurveData(), QmitkPlotWidget::SetCurvePen(), and QmitkPlotWidget::SetPlotTitle().
std::vector< std::vector<double>* > QmitkPartialVolumeAnalysisWidget::m_Vals |
Definition at line 54 of file QmitkPartialVolumeAnalysisWidget.h.
Referenced by SetParameters().