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=2993255f36509b101dd88f2423a9cd074720ab2f;hpb=97fcb31897168533a2ea52f302c29a1ac69852b4;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h index 2993255..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/11/12 16:25:06 $ - Version: $Revision: 1.4 $ + Date: $Date: 2009/03/24 10:49:21 $ + Version: $Revision: 1.7 $ Copyright: (c) 2002, 2003 License: @@ -46,7 +46,7 @@ //#include "kernel/marInterface.h" -#include "../manualContour.h" +#include "manualContour.h" #include "wxMPRBaseData.h" #include "wxVtkBaseView.h" @@ -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);