5 * \brief Class ThresholdImageViewPanel .
9 * \class ThresholdImageViewPanel
13 #ifndef __ColorLayerImageViewPanel_h__
14 #define __ColorLayerImageViewPanel_h__
18 #include <wx/button.h>
19 #include "ColorLayerImageView.h"
23 class wxDlgTransformByDimensionBySpacingByPixel
26 wxDlgTransformByDimensionBySpacingByPixel();
27 ~wxDlgTransformByDimensionBySpacingByPixel();
28 void GetTransformType(wxWindow *parent , wxString message,int &typeOfTransformation,bool &dlgWxOK) ;
31 //-----------------------------------------------------
33 class ColorLayerImageViewPanel
37 ColorLayerImageViewPanel(wxWindow * parent, int min, int max, int type);
38 ~ColorLayerImageViewPanel();
39 void onThresholdStop();
40 void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
42 void SetBaseSpacing(double spc[3]);
43 void SetBaseDimension(int dim[3]);
44 void SetOriginalSpacing(double spc[3]);
52 ColorLayerImageView *_colorLayerImageView;
53 wxButton *_btn_ReadImage;
55 wxCheckBox *_interpolationCheckBox;
56 wxCheckBox *_cb_ShowHide;
57 wxCheckBox *_cb_SliceFixDinamic;
58 wxSlider *_sl_SliceImage;
59 void onReadImage(wxCommandEvent& event);
60 void onThresholdChange(wxCommandEvent& event);
61 void onThresholdShow(wxCommandEvent& event);
62 void onThresholdInterpolation(wxCommandEvent& event);
63 void onChangeOpacity(wxScrollEvent& event);
64 void onSliceFixDinamic(wxCommandEvent& event);
65 void onSliceImage(wxScrollEvent& event);