X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMPRWidget.h;h=c98583a5eda18aa2a2cf7b95515957113b15f8d9;hb=0a4bb77d5281ee5bc6eebd504abae2500cfa780a;hp=23a3ae63ba612453bdf059569a91b93ef013d69a;hpb=5416ef78d59b6a919d4fa1cb7167d379287d2e3d;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h index 23a3ae6..c98583a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMPRWidget.h,v $ Language: C++ - Date: $Date: 2008/12/06 15:15:34 $ - Version: $Revision: 1.5 $ + Date: $Date: 2009/03/24 10:49:21 $ + Version: $Revision: 1.7 $ Copyright: (c) 2002, 2003 License: @@ -325,7 +325,7 @@ private: class vtkInteractorStyleMPRView; -class MARACASVISULIB_EXPORTS wxVtkMPR2DView : public wxVtk2DBaseView +class creaMaracasVisu_EXPORT wxVtkMPR2DView : public wxVtk2DBaseView { public: wxVtkMPR2DView( wxWindow *parent, int direction ); @@ -526,7 +526,7 @@ private: //------------------------------------------------------------------ //------------------------------------------------------------------ -class MARACASVISULIB_EXPORTS wxVtkMPR3DView +class creaMaracasVisu_EXPORT wxVtkMPR3DView { public: wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview ); @@ -939,10 +939,10 @@ private: -class MARACASVISULIB_EXPORTS wxMPRWidget : public wxPanel +class creaMaracasVisu_EXPORT wxMPRWidget : public wxPanel { public: - wxMPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize); + wxMPRWidget(wxWindow* parent,marImageData *marimageData = NULL,double voxelSize = -1); ~wxMPRWidget( ); void ConfigureVTK(); @@ -965,6 +965,8 @@ public: //returns the 2d view of the specific direction (0|1|2) wxVtkMPR2DView *GetWxvtkMPR2Dview(int direction); + void setMarImage(marImageData *marimageData, double voxelsize); + private: double _voxelSize; marImageData *_marImageData; @@ -1009,7 +1011,7 @@ private: }; -class MARACASVISULIB_EXPORTS wxMPRWidget2 : public wxMPRWidget +class creaMaracasVisu_EXPORT wxMPRWidget2 : public wxMPRWidget { public: wxMPRWidget2(wxWindow* parent,marImageData *marimagedata,double voxelSize);