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 ColorLayerImageView* GetColorLayerImageView();
41 void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
43 void SetBaseSpacing(double spc[3]);
44 void SetBaseDimension(int dim[3]);
45 void SetOriginalSpacing(double spc[3]);
46 void SetImage(vtkImageData *img);
54 ColorLayerImageView *_colorLayerImageView;
55 wxButton *_btn_ReadImage;
57 wxCheckBox *_interpolationCheckBox;
58 wxCheckBox *_cb_ShowHide;
59 wxCheckBox *_cb_SliceFixDinamic;
60 wxSlider *_sl_SliceImage;
61 void onReadImage(wxCommandEvent& event);
62 void onThresholdChange(wxCommandEvent& event);
63 void onThresholdShow(wxCommandEvent& event);
64 void onThresholdInterpolation(wxCommandEvent& event);
65 void onChangeOpacity(wxScrollEvent& event);
66 void onSliceFixDinamic(wxCommandEvent& event);
67 void onSliceImage(wxScrollEvent& event);