12 #ifndef QmitkHistogramVisualizationWidget_h
13 #define QmitkHistogramVisualizationWidget_h
16 #include <ui_QmitkHistogramVisualizationWidget.h>
19 #include <itkHistogram.h>
32 void SetHistogram(itk::Statistics::Histogram<double>::ConstPointer histogram,
const std::string &dataLabel);
46 void RequestHistogramUpdate(
unsigned int nBins);
49 void CreateConnections();
50 void SetGUIElementsEnabled(
bool enabled);
52 std::vector<std::pair<double, double> > ConvertHistogramToPairList(itk::Statistics::Histogram<double>::ConstPointer histogram)
const;
56 void OnClipboardButtonClicked();
58 void OnDefaultNBinsCheckBoxChanged();
60 void OnNBinsSpinBoxValueChanged();
62 void OnShowSubchartCheckBoxChanged();
64 void OnViewMinMaxCheckBoxChanged();
66 void OnMaxValueSpinBoxValueChanged();
68 void OnMinValueSpinBoxValueChanged();
71 Ui::QmitkHistogramVisualizationControls m_Controls;
72 const unsigned int m_DefaultNBins = 100;
73 const unsigned int m_MinNBins = 10;
74 const unsigned int m_MaxNBins = 10000;
76 std::map < std::string, itk::Statistics::Histogram<double>::ConstPointer> m_Histograms;