12 #ifndef QmitkHistogramVisualizationWidget_h
13 #define QmitkHistogramVisualizationWidget_h
18 #include <itkHistogram.h>
24 class QmitkHistogramVisualizationControls;
38 void SetHistogram(itk::Statistics::Histogram<double>::ConstPointer histogram,
const std::string &dataLabel);
52 void RequestHistogramUpdate(
unsigned int nBins);
55 void CreateConnections();
56 void SetGUIElementsEnabled(
bool enabled);
58 std::vector<std::pair<double, double> > ConvertHistogramToPairList(itk::Statistics::Histogram<double>::ConstPointer histogram)
const;
62 void OnClipboardButtonClicked();
64 void OnDefaultNBinsCheckBoxChanged();
66 void OnNBinsSpinBoxValueChanged();
68 void OnShowSubchartCheckBoxChanged();
70 void OnViewMinMaxCheckBoxChanged();
72 void OnMaxValueSpinBoxValueChanged();
74 void OnMinValueSpinBoxValueChanged();
77 Ui::QmitkHistogramVisualizationControls *m_Controls;
78 const unsigned int m_DefaultNBins = 100;
79 const unsigned int m_MinNBins = 10;
80 const unsigned int m_MaxNBins = 10000;
82 std::map < std::string, itk::Statistics::Histogram<double>::ConstPointer> m_Histograms;