X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfToolsPanels.h;h=85b05d62e509256f1bd68d1ff22e81c2b64a9b5c;hb=498505024562b776b91e25ca30f6e9c6bbd1f963;hp=fb21b95d9f419bfeb32d08adc0c8691ae10b8088;hpb=a6507d91019d9f428af751e5b0b3a7d19d6f0bf6;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfToolsPanels.h b/lib/Interface_Icons_NDimensions/interfToolsPanels.h index fb21b95..85b05d6 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsPanels.h +++ b/lib/Interface_Icons_NDimensions/interfToolsPanels.h @@ -23,6 +23,7 @@ private: void OnInterpolation(wxCommandEvent& event); + wxSlider* _withOfContourLine; wxSlider* _brithtnessWindowLevel; wxSlider* _brithtnessColorLevel; @@ -83,13 +84,49 @@ private: void onExtractInformation(wxCommandEvent& event); void onShowResultImages(wxCommandEvent& event); void onSaveResults(wxCommandEvent& event); + void onContourGroup(wxCommandEvent& event); void FillGridWithContoursInformation(); - + void onRangeSliceInformation(wxCommandEvent& event); + }; +//CMRU 29-08-09----------------------------------------------------------------------------------------------- +/** +* This class represents the calibration panel in the interface icons +*/ +class interfCalibrationPanel + : public wxPanel +{ +public: + + /** + * Initialized the panel + * @param parent Window who contains the panel + */ + interfCalibrationPanel(wxWindow * parent); + ~interfCalibrationPanel(); + + /** + * Manages the event associated with the button of calibration + */ + void onCalibrate(wxCommandEvent& event); + +private: + + /** + * Text field of the calibration measure + */ + wxTextCtrl * _size; + + /** + * Radio Box with the measurement units + */ + wxRadioBox * _unitsRadiobox; +}; +//------------------------------------------------------------------------------------------------------------ #endif