X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracas_ViewerWidget.h;h=9a076912affd94e84cce2890096208f559fef560;hb=401bb9b06310683e21d0a7676ef543fb9255f1f9;hp=2f38aaa5a689e8b3a19ecee39885ccf525224196;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.h index 2f38aaa..9a07691 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.h @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMaracas_ViewerWidget.h,v $ Language: C++ - Date: $Date: 2009/05/14 13:54:35 $ - Version: $Revision: 1.5 $ + Date: $Date: 2010/01/21 13:54:15 $ + Version: $Revision: 1.9 $ Copyright: (c) 2002, 2003 License: @@ -24,6 +24,7 @@ // For compilers that support precompilation, includes . // ----------------------------------------------------------------------------------------------------------- #include + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -54,7 +55,7 @@ // Constructors & Destructors //------------------------------------------------------------------------------------------------------------ - wxMaracas_ViewerWidget(wxWindow *parent, vtkImageData* imagedata, int type); + wxMaracas_ViewerWidget(wxWindow *parent, vtkImageData* imagedata, int type, vtkMPRBaseData *vtkmprbasedata=NULL); ~wxMaracas_ViewerWidget(); //------------------------------------------------------------------------------------------------------------ @@ -76,9 +77,15 @@ // Attributes //------------------------------------------------------------------------------------------------------------ + void setColorTransferFunction(vtkColorTransferFunction* colortable); + + void setWindowLevel(double level); + + void setColorLevel(double level); private: int mType; + bool minternalVtkmprbasedata; vtkMPRBaseData *mvtkmprbasedata; wxVtk2DBaseView *mvtk2Dbaseview; @@ -94,8 +101,7 @@ wxVtkMPR3DView *mwxvtkmpr3Dview; - vtkMPR3DDataViewer *vtkmpr3Ddataviewer; - + vtkMPR3DDataViewer *vtkmpr3Ddataviewer; };