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=1907c155b418bdb265eaf42382d460d224257f7e;hb=37319ea6defbf2dc5ddce23e0b65c2247543ae33;hp=fd2ed748017dfb558215d617ee65577ef17c9894;hpb=3e48d6cf83c4d96585d3e825899db643f9a62193;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 fd2ed74..1907c15 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: 2009/01/15 11:09:44 $ - Version: $Revision: 1.2 $ + Date: $Date: 2009/09/15 11:25:07 $ + Version: $Revision: 1.8 $ Copyright: (c) 2002, 2003 License: @@ -53,7 +53,7 @@ class creaMaracasVisu_EXPORT 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,18 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel wxVtkBaseView *GetwxVtkBaseView(int iWin); virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL ); void SetImage( vtkImageData *image ); + 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 +94,13 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel wxMaracas_ViewerWidget *wxwindow3; wxMaracas_ViewerWidget *wxwindow4; + wxWindow *_currentwxw; + + + std::vector *nTypeView; + vtkMPRBaseData* mvtkmprbasedata; + DECLARE_EVENT_TABLE( ); };