X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkBaseView.h;h=2283e0e40ce936a51e32a961880ca241325f567a;hb=24937478048aca664712bb708240bff79879e0d9;hp=31b41d5eb5ba0e7183eeb44ee0258a70c031d4fb;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h index 31b41d5..2283e0e 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h @@ -38,9 +38,6 @@ #include "vtkInteractorStyleImage.h" - - - class creaMaracasVisu_EXPORT wxVtkBaseView{ public: wxVtkBaseView( ); @@ -52,7 +49,11 @@ public: virtual void RefreshView(); virtual vtkRenderer* GetRenderer(); virtual vtkRenderWindow* GetRenWin(); - virtual void TransfromeCoordScreenToWorld(double &X, double &Y, double &Z, 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 +77,10 @@ protected: }; - - //------------------------------------------------------------------ //------------------------------------------------------------------ //------------------------------------------------------------------ - - - #endif // __WX_VTK__BASE__VIEW__H - - -