X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkInteractorStyleBaseView2D.cxx;h=36b64db0ea7aa49b276ad238c1ca77a11802236a;hb=80b04dc9e3b981e24fe9ae0d81cdeb8af6e6f8c1;hp=940b06f5e753af946537df7d990cc280886c075c;hpb=b80b4dcc301c1c2c63c0f76cd06b0a434350f7a7;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx index 940b06f..36b64db 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx @@ -45,6 +45,11 @@ vtkInteractorStyleBaseView2D::vtkInteractorStyleBaseView2D() // // _vtkInteractorScrollZ = new vtkInteractorScrollZ(); // AddInteractorStyleMaracas(_vtkInteractorScrollZ); + // + //_vtkInteractorZoomCamera = interactorZoomcamera; + //AddInteractorStyleMaracas(_vtkInteractorZoomCamera); + // + // //////////// } //--------------------------------------------------------------------------- @@ -66,6 +71,15 @@ void vtkInteractorStyleBaseView2D::SetInteractorWindowLevel(manualInteractorWin AddInteractorStyleMaracas(_manualinteractorwindowlevel); } + +//--------------------------------------------------------------------------- +void vtkInteractorStyleBaseView2D::SetInteractorZoomCamera(vtkInteractorZoomCamera* interactorZoomcamera) +{ + _vtkInteractorZoomCamera = interactorZoomcamera; + AddInteractorStyleMaracas(_vtkInteractorZoomCamera); +} + + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnRightButtonDown() // virtual {