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=0e9c6cea471e235717da5cac8b924254ed3f4f75;hp=8d7a32066647c30f50d67e2b7f1f945343f633bf;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;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 8d7a320..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: 2009/05/14 13:54:35 $ - Version: $Revision: 1.5 $ + Date: $Date: 2009/11/30 20:52:51 $ + Version: $Revision: 1.9 $ 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 //------------------------------------------------------------------------------------------------------------ @@ -94,6 +100,8 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel std::vector *nTypeView; + vtkMPRBaseData* mvtkmprbasedata; + DECLARE_EVENT_TABLE( ); };