X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FHistogramDialogComboBox.h;h=0eb2cb343f23bb24a76c5e5f779acd1564b68eda;hb=80b04dc9e3b981e24fe9ae0d81cdeb8af6e6f8c1;hp=9fc89ac6600153985365952f9d7639396f3852bf;hpb=60238e95450685ecb14f7e6d77247fa9e15b7441;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h index 9fc89ac..0eb2cb3 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h @@ -42,7 +42,9 @@ #include "HistogramDialogComboBoxItem.h" #include + #include +#include #include "vtkImageData.h" #define COLORSFUNCTIONFILENAME "colorsfunction.txt" @@ -71,6 +73,7 @@ public: void OnColorLevelChanged(wxCommandEvent& event); void OnWindowLevelChanged(wxCommandEvent& event); + void OnChkBoxActive(wxCommandEvent& event); void setImageData(vtkImageData* img); @@ -88,9 +91,10 @@ public: std::vector& green, std::vector& blue); - double GetWindowLevel(); - double GetColorLevel(); - void InitCurrentPathColorsFuntion(); + double GetWindowLevel(); + double GetColorLevel(); + bool GetActive(); + void InitCurrentPathColorsFuntion(); std::string GetFileNameOfColorsFunction(); private: @@ -111,12 +115,13 @@ private: * Represents the color of the backGround. Default color is the parent color. */ - wxBitmapComboBox* _bitmapcombo; - wxSlider* _slidercolor; - wxSlider* _sliderwindowlevel; - std::vector _bitmapsitems; - wxBitmap* colorBar_Bitmap; - wxSizer* _bitmapsizer; + wxBitmapComboBox *_bitmapcombo; + wxCheckBox *_ckboxActive; + wxSlider *_slidercolor; + wxSlider *_sliderwindowlevel; + std::vector _bitmapsitems; + wxBitmap *colorBar_Bitmap; + wxSizer *_bitmapsizer; wxSizer* getBitmapCombo(); wxSizer* getSlidersWlCo();