X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkBaseView.h;h=8833e716e54bf3a114542ab3e7cc76d183785e3b;hb=65c158dc171f8d3114ee3544b2a94a1f41880df0;hp=60fafc98cb97b807affb3e05524ded6d01cd604f;hpb=401bb9b06310683e21d0a7676ef543fb9255f1f9;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h index 60fafc9..8833e71 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h @@ -36,10 +36,8 @@ //class vtkInteractorStyleBaseView; */ -#include "vtkInteractorStyleImage.h" - - +#include "vtkInteractorStyleImage.h" class creaMaracasVisu_EXPORT wxVtkBaseView{ public: @@ -52,7 +50,11 @@ public: virtual void RefreshView(); virtual vtkRenderer* GetRenderer(); virtual vtkRenderWindow* GetRenWin(); - virtual void TransFromCoordScreenToWorld(double &X, double &Y, double &Z, bool is3D=false,bool keepNormalDirection=false,int type=2); + virtual void TransFromCoordScreenToWorld(double &X, double &Y, double &Z, bool keepNormalDirection=false,int type=2); + + //RaC 03-2010 Method used by TransFromCoordScreenToWorld + void TransCoordScreenToWorld(double &X, double &Y, double &Z,int type=2); + /* JCP 04/05/09 void SetInteractorStyleBaseView( vtkInteractorStyleBaseView* interactorStyle); */ @@ -76,18 +78,10 @@ protected: }; - - //------------------------------------------------------------------ //------------------------------------------------------------------ //------------------------------------------------------------------ - - - #endif // __WX_VTK__BASE__VIEW__H - - -