X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewPanel.h;h=03c5c1595144462d41baf36c1d6047831642d3da;hb=5380f9e66daf440f27f33bb060e5ae1a646612cd;hp=03cff5484949a254a535b5b1c19ed54c749d05e0;hpb=54bb3fba5f59ca71cb82d87043e21354dd85e7aa;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h index 03cff54..03c5c15 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.h @@ -19,6 +19,9 @@ #include "ColorLayerImageView.h" + +//----------------------------------------------------- + //EED 21-08-2010 class wxDlgTransformByDimensionBySpacingByPixel { @@ -28,9 +31,11 @@ class wxDlgTransformByDimensionBySpacingByPixel void GetTransformType(wxWindow *parent , wxString message,int &typeOfTransformation,bool &dlgWxOK) ; }; + + //----------------------------------------------------- - class ColorLayerImageViewPanel +class ColorLayerImageViewPanel : public wxPanel { public: @@ -43,14 +48,15 @@ class wxDlgTransformByDimensionBySpacingByPixel void SetBaseSpacing(double spc[3]); void SetBaseDimension(int dim[3]); void SetOriginalSpacing(double spc[3]); + void SetImage(vtkImageData *img); private: - int _dimBase[3]; + int _dimBase[3]; double _spcBase[3]; double _spcOrg[3]; bool _thresholdGo; - ColorLayerImageView *_colorLayerImageView; + ColorLayerImageView *_colorLayerImageView; wxButton *_btn_ReadImage; wxSlider *_opacity; wxCheckBox *_interpolationCheckBox; @@ -64,7 +70,8 @@ class wxDlgTransformByDimensionBySpacingByPixel void onChangeOpacity(wxScrollEvent& event); void onSliceFixDinamic(wxCommandEvent& event); void onSliceImage(wxScrollEvent& event); - }; + +}; #endif