Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkIVIMWidget Class Reference

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

#include <QmitkIVIMWidget.h>

Inheritance diagram for QmitkIVIMWidget:
Collaboration diagram for QmitkIVIMWidget:

Public Types

typedef itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< short, float > IVIMFilterType
 
typedef mitk::Image::HistogramType HistogramType
 
typedef mitk::Image::HistogramType::ConstIterator HistogramConstIteratorType
 
- 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 (IVIMFilterType::IVIMSnapshot snap)
 
 QmitkIVIMWidget (QWidget *)
 
virtual ~QmitkIVIMWidget ()
 
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 QmitkIVIMWidget.h.

Member Typedef Documentation

typedef mitk::Image::HistogramType::ConstIterator QmitkIVIMWidget::HistogramConstIteratorType

Definition at line 39 of file QmitkIVIMWidget.h.

Constructor & Destructor Documentation

QmitkIVIMWidget::QmitkIVIMWidget ( QWidget *  parent)

Definition at line 26 of file QmitkIVIMWidget.cpp.

References QmitkPlotWidget::m_Plot.

QmitkIVIMWidget::~QmitkIVIMWidget ( )
virtual

Definition at line 47 of file QmitkIVIMWidget.cpp.

Member Function Documentation

void QmitkIVIMWidget::ClearItemModel ( )

Definition at line 58 of file QmitkIVIMWidget.cpp.

void QmitkIVIMWidget::DrawGauss ( )

Definition at line 52 of file QmitkIVIMWidget.cpp.

void QmitkIVIMWidget::SetParameters ( IVIMFilterType::IVIMSnapshot  snap)

Definition at line 73 of file QmitkIVIMWidget.cpp.

References itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::allmeas, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::bvals1, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::bvals2, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::bvalues, QmitkPlotWidget::Clear(), itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::currentD, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::currentDStar, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::currentF, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::currentFunceiled, QmitkPlotWidget::InsertCurve(), QmitkPlotWidget::m_Plot, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::meas1, itk::DiffusionIntravoxelIncoherentMotionReconstructionImageFilter< TInputPixelType, TOutputPixelType >::IVIMSnapshot::meas2, QmitkPlotWidget::Replot(), QmitkPlotWidget::SetCurveAntialiasingOn(), QmitkPlotWidget::SetCurveData(), QmitkPlotWidget::SetCurvePen(), and QmitkPlotWidget::SetCurveSymbol().

Member Data Documentation

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

Definition at line 50 of file QmitkIVIMWidget.h.


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