Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <C3Data.h>
Signals | |
void | OnFrequencyChaned (const QList< QVariant > frequency) |
void | OnMeasurementChaned (const QList< QVariant > measurement) |
void | SignalYDataChanged (const QList< QVariant > yData) |
void | SignalXDataChanged (const QList< QVariant > xData) |
void | SignalUseLineChartChanged (const QVariant useLineChart) |
void | SignalShowSubchartChanged (const QVariant showSubchart) |
Public Member Functions | |
Q_INVOKABLE QList< QVariant > | GetFrequency () |
Q_INVOKABLE void | SetFrequency (QList< QVariant > frequency) |
Q_INVOKABLE QList< QVariant > | GetMeasurement () |
Q_INVOKABLE void | SetMeasurement (QList< QVariant > measurement) |
void | ClearData () |
Clears the Data. More... | |
HistogramType::ConstPointer | GetHistogram () |
void | SetHistogram (HistogramType::ConstPointer histogram) |
QList< QVariant > * | GetFrequencyPointer () |
QList< QVariant > * | GetMeasurementPointer () |
QmitkC3Data () | |
QmitkC3Data (HistogramType::ConstPointer histogram) | |
void | SetAppearance (bool useLineChart, bool showSubChart) |
Q_INVOKABLE QList< QVariant > | GetYData () |
Q_INVOKABLE void | SetYData (QList< QVariant > yData) |
Q_INVOKABLE QList< QVariant > | GetXData () |
Q_INVOKABLE void | SetXData (QList< QVariant > xData) |
Q_INVOKABLE QVariant | GetUseLineChart () |
Q_INVOKABLE void | SetUseLineChart (QVariant useLineChart) |
Q_INVOKABLE QVariant | GetShowSubchart () |
Q_INVOKABLE void | SetShowSubchart (QVariant showSubchart) |
void | ClearData () |
Clears the Data. More... | |
HistogramType::ConstPointer | GetHistogram () |
void | SetHistogram (HistogramType::ConstPointer histogram) |
QList< QVariant > * | GetYDataPointer () |
QList< QVariant > * | GetXDataPointer () |
Properties | |
QList< QVariant > | m_Frequency |
List of frequencies. More... | |
QList< QVariant > | m_Measurement |
List of measurements. More... | |
QList< QVariant > | m_YData |
List of frequencies. More... | |
QList< QVariant > | m_XData |
List of measurements. More... | |
QVariant | m_UseLineChart |
QVariant | m_ShowSubchart |
/brief This class holds the relevant data for the chart generation with C3. Documentation: This class holds the relevant data for the chart generation with C3. It forwards the frequencies and the measurements to JavaScript. Those are then displayed in the histogram chart. It is derived from QObject, because we need Q_PROPERTIES to send Data via QWebChannel to JavaScript.
QmitkC3Data::QmitkC3Data | ( | ) |
Definition at line 19 of file QmitkC3Data.cpp.
QmitkC3Data::QmitkC3Data | ( | HistogramType::ConstPointer | histogram | ) |
Definition at line 23 of file QmitkC3Data.cpp.
void QmitkC3Data::ClearData | ( | ) |
Clears the Data.
This function clears the data.
Definition at line 19 of file C3Data.cpp.
References m_Frequency, and m_Measurement.
void QmitkC3Data::ClearData | ( | ) |
Clears the Data.
This function clears the data.
|
inline |
Definition at line 36 of file C3Data.h.
References m_Frequency.
|
inline |
Definition at line 53 of file C3Data.h.
References m_Frequency.
|
inline |
|
inline |
Definition at line 60 of file QmitkC3Data.h.
|
inline |
Definition at line 39 of file C3Data.h.
References m_Measurement.
|
inline |
Definition at line 57 of file C3Data.h.
References m_Measurement.
|
inline |
Definition at line 51 of file QmitkC3Data.h.
References m_ShowSubchart.
|
inline |
Definition at line 48 of file QmitkC3Data.h.
References m_UseLineChart.
|
inline |
Definition at line 45 of file QmitkC3Data.h.
References m_XData.
|
inline |
Definition at line 65 of file QmitkC3Data.h.
References m_XData.
|
inline |
Definition at line 42 of file QmitkC3Data.h.
References m_YData.
|
inline |
Definition at line 63 of file QmitkC3Data.h.
References m_YData.
|
signal |
|
signal |
void QmitkC3Data::SetAppearance | ( | bool | useLineChart = false , |
bool | showSubChart = true |
||
) |
Definition at line 30 of file QmitkC3Data.cpp.
References m_ShowSubchart, and m_UseLineChart.
|
inline |
Definition at line 37 of file C3Data.h.
References m_Frequency.
|
inline |
|
inline |
Definition at line 61 of file QmitkC3Data.h.
|
inline |
Definition at line 40 of file C3Data.h.
References m_Measurement.
|
inline |
Definition at line 52 of file QmitkC3Data.h.
References m_ShowSubchart.
|
inline |
Definition at line 49 of file QmitkC3Data.h.
References m_UseLineChart.
|
inline |
Definition at line 46 of file QmitkC3Data.h.
References m_XData.
|
inline |
Definition at line 43 of file QmitkC3Data.h.
References m_YData.
|
signal |
|
signal |
|
signal |
|
signal |
|
readwrite |
List of frequencies.
A QList which holds the frequencies of the current histogram or holds the intensities of current intensity profile.
Definition at line 32 of file C3Data.h.
Referenced by ClearData(), GetFrequency(), GetFrequencyPointer(), and SetFrequency().
|
readwrite |
List of measurements.
A QList which holds the measurements of the current histogram or holds the distances of current intensity profile.
Definition at line 32 of file C3Data.h.
Referenced by ClearData(), GetMeasurement(), GetMeasurementPointer(), and SetMeasurement().
|
readwrite |
Definition at line 34 of file QmitkC3Data.h.
Referenced by GetShowSubchart(), SetAppearance(), and SetShowSubchart().
|
readwrite |
Definition at line 33 of file QmitkC3Data.h.
Referenced by GetUseLineChart(), SetAppearance(), and SetUseLineChart().
|
readwrite |
List of measurements.
A QList which holds the measurements of the current histogram or holds the distances of current intensity profile.
Definition at line 32 of file QmitkC3Data.h.
Referenced by GetXData(), GetXDataPointer(), and SetXData().
|
readwrite |
List of frequencies.
A QList which holds the frequencies of the current histogram or holds the intensities of current intensity profile.
Definition at line 32 of file QmitkC3Data.h.
Referenced by GetYData(), GetYDataPointer(), and SetYData().