3 * \brief Class ThresholdImageViewPanel .
7 * \class ThresholdImageViewPanel
11 #ifndef __ColorLayerImageViewPanel_h__
12 #define __ColorLayerImageViewPanel_h__
16 #include <wx/button.h>
17 #include "ColorLayerImageView.h"
21 //-----------------------------------------------------
24 class wxDlgTransformByDimensionBySpacingByPixel
27 wxDlgTransformByDimensionBySpacingByPixel();
28 ~wxDlgTransformByDimensionBySpacingByPixel();
29 void GetTransformType(wxWindow *parent , wxString message,int &typeOfTransformation,bool &dlgWxOK) ;
34 //-----------------------------------------------------
36 class ColorLayerImageViewPanel
40 ColorLayerImageViewPanel(wxWindow * parent, int min, int max, int type);
41 ~ColorLayerImageViewPanel();
42 void onThresholdStop();
43 ColorLayerImageView* GetColorLayerImageView();
44 void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
46 void SetBaseSpacing(double spc[3]);
47 void SetBaseDimension(int dim[3]);
48 void SetOriginalSpacing(double spc[3]);
49 void SetImage(vtkImageData *img);
57 ColorLayerImageView *_colorLayerImageView;
58 wxButton *_btn_ReadImage;
60 wxCheckBox *_interpolationCheckBox;
61 wxCheckBox *_cb_ShowHide;
62 wxCheckBox *_cb_SliceFixDinamic;
63 wxSlider *_sl_SliceImage;
64 void onReadImage(wxCommandEvent& event);
65 void onThresholdChange(wxCommandEvent& event);
66 void onThresholdShow(wxCommandEvent& event);
67 void onThresholdInterpolation(wxCommandEvent& event);
68 void onChangeOpacity(wxScrollEvent& event);
69 void onSliceFixDinamic(wxCommandEvent& event);
70 void onSliceImage(wxScrollEvent& event);