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=66588eac91068d9b7f9d45bffc5e09c27511eaac;hp=4b16887e390fed8debb77d3fa7f70e826e7912ea;hpb=02b125fe2438ddc84ebfec2e4540333331b6f642;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h index 4b16887..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 - - -