X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DView.h;h=4eb27ee95e0c8ce3dcdaf4ee46c236fbd9332a67;hb=88000c43d09de22761bb0ca9e19995e72dc2ebce;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..4eb27ee 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h @@ -67,15 +67,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,11 +98,10 @@ private: vtkPolyDataMapper *_contourMapper; //Free planes - vtkImagePlaneWidget *_planeWidgetX; - vtkImagePlaneWidget *_planeWidgetY; - vtkImagePlaneWidget *_planeWidgetZ; + vtkImagePlaneWidget *_planeWidgetX; + vtkImagePlaneWidget *_planeWidgetY; + vtkImagePlaneWidget *_planeWidgetZ; - protected: };