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=f938a381cd2b097a909b1c5861edfb57ae0ec602;hb=d8edef346f2d6c64f6ed3bea7225aeb3a8b3970c;hp=b7cf72b553f6ede6c6bbcd034513cb63666038d5;hpb=e6b030ceb3ee4eea1f012e7d5c47503cf6322c61;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 b7cf72b..f938a38 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/03/24 10:49:21 $ - Version: $Revision: 1.3 $ + Date: $Date: 2010/05/03 13:46:48 $ + Version: $Revision: 1.10 $ Copyright: (c) 2002, 2003 License: @@ -71,6 +71,7 @@ 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 ConfigureVTK(); void SetType(std::vector* type); void UpdateLayout(vtkImageData* imagedata); // double GetZ(int iWin); @@ -78,6 +79,11 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel double GetY(); double GetZ(); + void setColorTransferFunction(vtkColorTransferFunction* colortable); + + void setWindowLevel(double level); + void setColorLevel(double level); + //------------------------------------------------------------------------------------------------------------ // Attributes //------------------------------------------------------------------------------------------------------------ @@ -89,11 +95,14 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel wxMaracas_ViewerWidget *wxwindow3; wxMaracas_ViewerWidget *wxwindow4; - wxWindow *currentwxwindow; + wxWindow *_currentwxw; std::vector *nTypeView; + vtkMPRBaseData* mvtkmprbasedata; + + void invariant(); DECLARE_EVENT_TABLE( ); };