/** * \file * \brief Class ThresholdImageViewPanel . */ /** * \class ThresholdImageViewPanel * \brief */ #ifndef __ThresholdImageViewPanel_h__ #define __ThresholdImageViewPanel_h__ #include #include "mBarRange.h" #include "ThresholdImageView.h" class ThresholdImageViewPanel : public wxPanel { public: ThresholdImageViewPanel(wxWindow * parent); ~ThresholdImageViewPanel(); void onThresholdStop(); void onThresholdInstantChange(double range[]); void SetThresholdImageView(ThresholdImageView* thresholdImageView); private: bool _thresholdGo; ThresholdImageView *_thresholdImageView; mBarRange *_mBarThreshold; wxSlider *_opacity; wxCheckBox *_interpolationCheckBox; void onThresholdChange(wxCommandEvent& event); void onThresholdGo(wxCommandEvent& event); void onThresholdInterpolation(wxCommandEvent& event); void onChangeOpacity(wxScrollEvent& event); DECLARE_EVENT_TABLE() }; #endif