X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FHistogramDialogComboBox.h;h=ff63d22029a4802d356e5f1a074523110ea56da8;hb=c016f2efd20188d031f0bc29c5a2bb1aab959adf;hp=71f6d4aea9e7390972206f0b04494f204c0b4860;hpb=2d5984d688d7b149aa7706a0a0bf8c4b4556d788;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 71f6d4a..ff63d22 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h @@ -45,6 +45,9 @@ public: void OnEditBitmapCombo(wxCommandEvent& event); void OnBitmapComboItemSelected(wxCommandEvent& event); + void OnColorLevelChanged(wxCommandEvent& event); + void OnWindowLevelChanged(wxCommandEvent& event); + void setImageData(vtkImageData* img); /** @@ -61,6 +64,9 @@ public: std::vector& green, std::vector& blue); + double GetWindowLevel(); + double GetColorLevel(); + private: std::vector _greyvect; @@ -77,15 +83,21 @@ private: * Represents the color of the backGround. Default color is the parent color. */ - wxBitmapComboBox* _bitmapcombo; + wxBitmapComboBox* _bitmapcombo; + wxSlider* _slidercolor; + wxSlider* _sliderwindowlevel; std::vector _bitmapsitems; wxBitmap* colorBar_Bitmap; wxSizer* _bitmapsizer; wxSizer* getBitmapCombo(); + wxSizer* getSlidersWlCo(); wxBitmapComboBox* getBitmapComboElements(); void OnLoadComboBoxData(std::vector& itembitmaps,std::string filename); void saveCurrentConfiguration(std::vector& itembitmaps,std::string filename); + void setSlidersValue(); + + };