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=0449b26887457d31d24082cdd1cd006106acae21;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.h index 0449b26..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,43 +48,41 @@ 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 ResetCamera(int *ext=NULL, double* origin=NULL,double* spc=NULL); - + 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; vtkMPR3DDataViewer *_vtkmpr3Ddataviewer; @@ -101,10 +100,11 @@ private: vtkPolyDataMapper *_contourMapper; //Free planes - vtkImagePlaneWidget *_planeWidgetX; - vtkImagePlaneWidget *_planeWidgetY; - vtkImagePlaneWidget *_planeWidgetZ; + vtkImagePlaneWidget *_planeWidgetX; + vtkImagePlaneWidget *_planeWidgetY; + vtkImagePlaneWidget *_planeWidgetZ; + vtkImageChangeInformation *mchange; protected: };