X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2FwxMaracasMPR.h;h=fc6d41a38417bb9daccdea12947897539db6bc12;hb=543dfcbe8f5ff78bbed90ef1e20c722bfa0ef248;hp=1f888d66d3d2016e959a5706bd8615237e40a8b6;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/wxMaracasMPR.h b/lib/maracasVisuLib/src/interface/wxWindows/wxMaracasMPR.h index 1f888d6..fc6d41a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/wxMaracasMPR.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/wxMaracasMPR.h @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMaracasMPR.h,v $ Language: C++ - Date: $Date: 2008/10/31 16:32:10 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/05/14 13:54:31 $ + Version: $Revision: 1.6 $ Copyright: (c) 2002, 2003 License: @@ -27,17 +27,19 @@ #include "widgets/wxMPRWidget.h" -class MAR_INTERFACEWX_EXPORT wxMaracasMPR : public wxPanel +class creaMaracasVisu_EXPORT wxMaracasMPR : public wxPanel { public: - wxMaracasMPR( wxWindow* parent, marImageData* marimagedata,double voxelSize); + wxMaracasMPR( wxWindow* parent, marImageData* marimagedata=NULL,double voxelSize=-1); ~wxMaracasMPR( ); void ConfigureVTK(); vtkMPRBaseData *GetVtkMPRBaseData(); vtkPlane2DView *GetVtkPlane2DView(); - wxVtkMPR3DView *GetWxvtkmpr3Dview_BB(); + wxVtkMPR3DView *GetWxvtkmpr3Dview_BB()throw(char*); void RefreshView(); + void setImageData(vtkImageData *img, double voxelsize); + private: wxMPRWidget* _MPR; };