Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Widget for displaying Histograms. More...
#include <QmitkHistogramVisualizationWidget.h>
Signals | |
void | RequestHistogramUpdate (unsigned int nBins) |
Signal to be emitted when the number of bins is changed by the user. The HistogramCalculator should connect to this signal and recalculate the data accordingly. More... | |
Public Member Functions | |
QmitkHistogramVisualizationWidget (QWidget *parent=nullptr) | |
void | SetHistogram (itk::Statistics::Histogram< double >::ConstPointer histogram, const std::string &dataLabel) |
Draws the histogram and enables the GUI elements. More... | |
void | Reset () |
Clears the histogram and disables all GUI elements. More... | |
void | SetTheme (QmitkChartWidget::ColorTheme style) |
Sets the theme (either dark or light) More... | |
void | ResetDefault () |
Resets the default settings. More... | |
int | GetBins () |
Gets the number of bins to calculate. More... | |
Widget for displaying Histograms.
Definition at line 25 of file QmitkHistogramVisualizationWidget.h.
QmitkHistogramVisualizationWidget::QmitkHistogramVisualizationWidget | ( | QWidget * | parent = nullptr | ) |
int QmitkHistogramVisualizationWidget::GetBins | ( | ) |
Gets the number of bins to calculate.
|
signal |
Signal to be emitted when the number of bins is changed by the user. The HistogramCalculator should connect to this signal and recalculate the data accordingly.
void QmitkHistogramVisualizationWidget::Reset | ( | ) |
Clears the histogram and disables all GUI elements.
void QmitkHistogramVisualizationWidget::ResetDefault | ( | ) |
Resets the default settings.
void QmitkHistogramVisualizationWidget::SetHistogram | ( | itk::Statistics::Histogram< double >::ConstPointer | histogram, |
const std::string & | dataLabel | ||
) |
Draws the histogram and enables the GUI elements.
void QmitkHistogramVisualizationWidget::SetTheme | ( | QmitkChartWidget::ColorTheme | style | ) |
Sets the theme (either dark or light)