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 //-----------------------------------------------------
26 class wxDlgTransformByDimensionBySpacingByPixel
29 wxDlgTransformByDimensionBySpacingByPixel();
30 ~wxDlgTransformByDimensionBySpacingByPixel();
31 void GetTransformType(wxWindow *parent , wxString message,int &typeOfTransformation,bool &dlgWxOK) ;
36 //-----------------------------------------------------
38 class ColorLayerImageViewPanel
42 ColorLayerImageViewPanel(wxWindow * parent, int min, int max, int type);
43 ~ColorLayerImageViewPanel();
44 void onThresholdStop();
45 ColorLayerImageView* GetColorLayerImageView();
46 void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
48 void SetBaseSpacing(double spc[3]);
49 void SetBaseDimension(int dim[3]);
50 void SetOriginalSpacing(double spc[3]);
51 void SetImage(vtkImageData *img);
59 ColorLayerImageView *_colorLayerImageView;
60 wxButton *_btn_ReadImage;
62 wxCheckBox *_interpolationCheckBox;
63 wxCheckBox *_cb_ShowHide;
64 wxCheckBox *_cb_SliceFixDinamic;
65 wxSlider *_sl_SliceImage;
66 void onReadImage(wxCommandEvent& event);
67 void onThresholdChange(wxCommandEvent& event);
68 void onThresholdShow(wxCommandEvent& event);
69 void onThresholdInterpolation(wxCommandEvent& event);
70 void onChangeOpacity(wxScrollEvent& event);
71 void onSliceFixDinamic(wxCommandEvent& event);
72 void onSliceImage(wxScrollEvent& event);