X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DView.h;h=b7bffd41759de49345e2733b4d01d9b873864d93;hb=15112ae15da4222831b0e8e7c9be87daf9e99a1c;hp=4d42b26342bcdebb9ca990a465bd4d7d10e3bfbc;hpb=2ce64803a106514923d7e06e578f9b1ae3cfe264;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h index 4d42b26..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; @@ -47,45 +48,40 @@ public: void VisibleImageActor(int idPosition, bool visible); void VisiblePointWidget( bool visible ); void VisiblePlaneWidget( bool visible ); - void SetVisibleTissue(int idTissue, bool visible); bool GetVisibleTissue(int idTissue); virtual void Refresh(); virtual void RefreshView(); virtual void Configure(); void SetImage(); - void SetBackGroundType(int type); void SetVtkMPR3DDataViewer( vtkMPR3DDataViewer *vtkmpr3Ddataviewer ); wxPanel* CreateControlPanel(wxWindow *parent, bool align); - 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(); - - void RemoveActor(vtkActor* actor); - + void RemoveActor(vtkActor* actor); //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; @@ -108,6 +104,8 @@ private: vtkImagePlaneWidget *_planeWidgetY; vtkImagePlaneWidget *_planeWidgetZ; + vtkImageChangeInformation *mchange; + protected: };