X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracas_ViewerWidget.h;h=57b9ccf9983213617518cc418f8b90caef93106f;hb=3eef3f302abd6996a4eaebb0536770bca9bf428d;hp=1d584ad935042fa50f31cb94b0e6bcf6412c34ca;hpb=5966a6fc8f1b45882a5f2ab391c92d3c80f8c137;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 1d584ad..57b9ccf 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/04/24 12:25:31 $ - Version: $Revision: 1.3 $ + Date: $Date: 2010/10/29 07:51:06 $ + Version: $Revision: 1.10 $ Copyright: (c) 2002, 2003 License: @@ -24,6 +24,7 @@ // For compilers that support precompilation, includes . // ----------------------------------------------------------------------------------------------------------- #include + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -45,7 +46,6 @@ // Class definition //------------------------------------------------------------------------------------------------------------ - class wxMaracas_ViewerWidget : public wxPanel { public: @@ -54,7 +54,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 +76,15 @@ // Attributes //------------------------------------------------------------------------------------------------------------ + void setColorTransferFunction(vtkColorTransferFunction* colortable); + + void setWindowLevel(double level); + + void setColorLevel(double level); private: int mType; + bool minternalVtkmprbasedata; vtkMPRBaseData *mvtkmprbasedata; wxVtk2DBaseView *mvtk2Dbaseview; @@ -93,6 +99,9 @@ wxVtk3DBaseView *mwxvtk3Dbaseview_Clipping3D; wxVtkMPR3DView *mwxvtkmpr3Dview; + + vtkMPR3DDataViewer *vtkmpr3Ddataviewer; + }; #endif // __WX__MARACAS__VIEWERWIDGET__H__