X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracas_N_ViewersWidget.h;h=0a624e7620da2c0aae763504b2e8879d8811b7b9;hb=d2fc2645728a4aea4f0aa0febfa1d7a894ab3ff1;hp=4e496281ba3c9da063ac2dfecac779339037e7f9;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h index 4e49628..0a624e7 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMaracas_N_ViewersWidget.h,v $ Language: C++ - Date: $Date: 2008/10/31 16:32:42 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/11/30 20:52:51 $ + Version: $Revision: 1.9 $ Copyright: (c) 2002, 2003 License: @@ -44,7 +44,7 @@ // Class definition //------------------------------------------------------------------------------------------------------------ -class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel +class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel { public: @@ -53,7 +53,7 @@ class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel // Constructors & Destructors //------------------------------------------------------------------------------------------------------------ - wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata, std::vector *nTypeView); + wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata = NULL, std::vector *nTypeView = NULL); ~wxMaracas_N_ViewersWidget(); @@ -71,11 +71,19 @@ class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel wxVtkBaseView *GetwxVtkBaseView(int iWin); virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL ); void SetImage( vtkImageData *image ); + void ConfigureVTK(); + void SetType(std::vector* type); + void UpdateLayout(vtkImageData* imagedata); // double GetZ(int iWin); double GetX(); double GetY(); double GetZ(); + void setColorTransferFunction(vtkColorTransferFunction* colortable); + + void setWindowLevel(double level); + void setColorLevel(double level); + //------------------------------------------------------------------------------------------------------------ // Attributes //------------------------------------------------------------------------------------------------------------ @@ -87,7 +95,13 @@ class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel wxMaracas_ViewerWidget *wxwindow3; wxMaracas_ViewerWidget *wxwindow4; + wxWindow *_currentwxw; + + + std::vector *nTypeView; + vtkMPRBaseData* mvtkmprbasedata; + DECLARE_EVENT_TABLE( ); };