X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfToolsPanels.h;h=85b05d62e509256f1bd68d1ff22e81c2b64a9b5c;hb=6383d69864c69a97539b59d3e39406c79408577b;hp=8d8b128768acd8741a7474e097130cbfe15118cc;hpb=4d5574beaa0d2f56951b00a9fcca5dd945506e13;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfToolsPanels.h b/lib/Interface_Icons_NDimensions/interfToolsPanels.h index 8d8b128..85b05d6 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsPanels.h +++ b/lib/Interface_Icons_NDimensions/interfToolsPanels.h @@ -1,6 +1,7 @@ #ifndef __interfToolsPanelH__ #define __interfToolsPanelH__ +#include #include #include "mBarRange.h" #include @@ -22,6 +23,7 @@ private: void OnInterpolation(wxCommandEvent& event); + wxSlider* _withOfContourLine; wxSlider* _brithtnessWindowLevel; wxSlider* _brithtnessColorLevel; @@ -74,31 +76,57 @@ private: wxRadioBox* _informationRadiobox; wxRadioBox* _radiolstboxContourGroup; wxStaticText* _staticTextInformation; - + wxCheckBox* _XYZValues; + wxCheckBox* _contourImage; + wxCheckBox* _statistics; + void onInformationContourLabels(wxCommandEvent& event); void onExtractInformation(wxCommandEvent& event); + void onShowResultImages(wxCommandEvent& event); void onSaveResults(wxCommandEvent& event); + void onContourGroup(wxCommandEvent& event); void FillGridWithContoursInformation(); - + void onRangeSliceInformation(wxCommandEvent& event); + }; - -class interfMirrorPanel +//CMRU 29-08-09----------------------------------------------------------------------------------------------- +/** +* This class represents the calibration panel in the interface icons +*/ +class interfCalibrationPanel : public wxPanel { public: - interfMirrorPanel(wxWindow * parent); - ~interfMirrorPanel(); + + /** + * 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: - wxSlider* _thickness; + /** + * Text field of the calibration measure + */ + wxTextCtrl * _size; - void onMirrorGo(wxCommandEvent& event); + /** + * Radio Box with the measurement units + */ + wxRadioBox * _unitsRadiobox; }; - +//------------------------------------------------------------------------------------------------------------ #endif