X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DView.h;h=b7bffd41759de49345e2733b4d01d9b873864d93;hb=15112ae15da4222831b0e8e7c9be87daf9e99a1c;hp=c1a639f78a503d69512d00f05ce7c82d1863aee1;hpb=69c806e632999e11e12e8626609f4192d3aec364;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h index c1a639f..b7bffd4 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h @@ -34,6 +34,7 @@ #include "vtkPlaneWidget.h" #include "vtkPointWidget.h" #include "vtkImagePlaneWidget.h" +#include "vtkImageChangeInformation.h" //class vtkmyPWCallback_3DPointWidget; @@ -59,7 +60,8 @@ public: vtkMPR3DDataViewer* GetVtkMPR3DDataViewer(); wxVtk3DBaseView* GetWxvtk3Dbaseview() throw (char*); void InitOrientationPointWidget(); - void showOutlineActor(bool value); + void showOutlineBoxActor(bool value); + void showOutlinePlaneActor(bool value); // EED 25 Janvier 2007 testLoic void TestLoic1(); void TestLoic2(); @@ -67,15 +69,20 @@ public: //EED 27/05/2013 // void ResetCamera(int *ext=NULL,double* spc=NULL); void setColorTransferFunction(vtkColorTransferFunction* colortable); + //Free planes //------------------------------------------------------------------- - void ConfigureFreePlanes(); - vtkImagePlaneWidget* GetPlaneWidget(unsigned char activationkey, double r, double g, double b, vtkCellPicker* picker); - void FreePlaneVisible(int plane, bool ok); - void FreePlaneInteraction(bool ok); - void SetFreePlanesOrtho(); - void SetColorWindow(double colorWindow); - void SetColorLevel(double colorLevel); + void ConfigureFreePlanes(); + vtkImagePlaneWidget* GetPlaneWidget(unsigned char activationkey, double r, double g, double b, vtkCellPicker* picker); + void FreePlaneVisible(int plane, bool ok); + void FreePlaneInteraction(bool ok); + void SetFreePlanesOrtho(); +/*Borrame + void SetColorWindow(double colorWindow); + void SetColorLevel(double colorLevel); +*/ + void SetWindowColorLevel(double colorWindow , double colorLevel); + private: wxVtk3DBaseView *_wxvtk3Dbaseview; vtkMPR3DDataViewer *_vtkmpr3Ddataviewer; @@ -93,10 +100,11 @@ private: vtkPolyDataMapper *_contourMapper; //Free planes - vtkImagePlaneWidget *_planeWidgetX; - vtkImagePlaneWidget *_planeWidgetY; - vtkImagePlaneWidget *_planeWidgetZ; + vtkImagePlaneWidget *_planeWidgetX; + vtkImagePlaneWidget *_planeWidgetY; + vtkImagePlaneWidget *_planeWidgetZ; + vtkImageChangeInformation *mchange; protected: };