/** * \file * \brief Class ThresholdImageViewPanel . */ /** * \class ThresholdImageViewPanel * \brief */ #ifndef __ColorLayerImageViewPanel_h__ #define __ColorLayerImageViewPanel_h__ #include #include #include "ColorLayerImageView.h" class ColorLayerImageViewPanel : public wxPanel { public: ColorLayerImageViewPanel(wxWindow * parent, int min, int max, int type); ~ColorLayerImageViewPanel(); void onThresholdStop(); void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView); bool IsVisible(); private: bool _thresholdGo; ColorLayerImageView *_colorLayerImageView; wxButton *_btn_ReadImage; wxSlider *_opacity; wxCheckBox *_interpolationCheckBox; wxCheckBox *_cb_ShowHide; wxCheckBox *_cb_SliceFixDinamic; wxSlider *_sl_SliceImage; void onReadImage(wxCommandEvent& event); void onThresholdChange(wxCommandEvent& event); void onThresholdShow(wxCommandEvent& event); void onThresholdInterpolation(wxCommandEvent& event); void onChangeOpacity(wxScrollEvent& event); void onSliceFixDinamic(wxCommandEvent& event); void onSliceImage(wxScrollEvent& event); }; #endif