]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewPanel.h
index bbb52c483c226c69c5292936ffd9040d32f3194c..3b19119d487b250d49bc26b1279bc1a2cd1740ec 100644 (file)
 #include "ColorLayerImageView.h"
 
        
+//EED 21-08-2010
+class wxDlgTransformByDimensionBySpacingByPixel
+       {
+       public:
+               wxDlgTransformByDimensionBySpacingByPixel();
+               ~wxDlgTransformByDimensionBySpacingByPixel();
+               void GetTransformType(wxWindow *parent , wxString message,int &typeOfTransformation,bool &dlgWxOK) ;
+       };
+
+//-----------------------------------------------------
+
        class ColorLayerImageViewPanel
                : public wxPanel
                {
                        void onThresholdStop();
                        void SetColorLayerImageView(ColorLayerImageView* colorLayerImageView);
                        bool IsVisible();
+                       void SetBaseSpacing(double spc[3]);
+                       void SetBaseDimension(int dim[3]);
+                       void SetOriginalSpacing(double spc[3]);
                        
                private:
-                       
+                       int                                     _dimBase[3];
+                       double                          _spcBase[3];
+                       double                          _spcOrg[3];
+
                        bool                            _thresholdGo;
                        ColorLayerImageView     *_colorLayerImageView;
                        wxButton                        *_btn_ReadImage;
                        wxSlider                        *_opacity;
                        wxCheckBox                      *_interpolationCheckBox;        
                        wxCheckBox                      *_cb_ShowHide;
-                       
+                       wxCheckBox                      *_cb_SliceFixDinamic;
+                       wxSlider                        *_sl_SliceImage;
                        void onReadImage(wxCommandEvent& event);
                        void onThresholdChange(wxCommandEvent& event);                  
                        void onThresholdShow(wxCommandEvent& event);
                        void onThresholdInterpolation(wxCommandEvent& event);
                        void onChangeOpacity(wxScrollEvent& event);
+                       void onSliceFixDinamic(wxCommandEvent& event);
+                       void onSliceImage(wxScrollEvent& event);
                };
 
 #endif