X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR2DView.h;h=8c62a27dc5a578c49ec5538f1d14e31d665b2699;hb=d725af03e25b41e03b212c26068be2c04dacd270;hp=b385e4d5ae34b6ef4194d0cbb02458c6c0218cb0;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.h index b385e4d..8c62a27 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.h @@ -5,6 +5,12 @@ #include "wxVtk2DBaseView.h" +#include "vtkPolyDataMapper.h" +#include +#include +#include "vtkActor.h" +#include "vtkPolyData.h" + class creaMaracasVisu_EXPORT wxVtkMPR2DView : public wxVtk2DBaseView { public: @@ -23,8 +29,11 @@ public: void MoveY(double x, double y, double z); void MoveZ(double x, double y, double z); void ChangeAxisColor(double x, double y, double z); - virtual void TransfromeCoordViewWorld(double &X, double &Y, double &Z, int type); + virtual void TransFromCoordScreenToWorld(double &X, double &Y, double &Z, bool keepNormalDirection=false, int type=2); + void SetVisibleAxis(bool ok); + virtual int GetDirection(); + private: @@ -44,7 +53,7 @@ private: vtkActor *_lineBActor; vtkPolyDataMapper *_lineBMapper; vtkPolyData *_pdB; -// vtkInteractorStyle2DMaracas *_interactorStyle2DMaracas; +// vtkInteractorStyle2DMaracas *_interactorStyle2DMaracas; vtkInteractorStyleMPRView *_interactorstylemprview; };