X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKViewer%2FVTKViewer_ViewWindow.h;h=d256bca80d470689c2484c6462a3bc4f487424ff;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=c5864387133d1595f8d1f3946432b68ac2321f1b;hpb=6878ef4d7381638ec39d1ca9d03afc21a69401aa;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_ViewWindow.h b/src/VTKViewer/VTKViewer_ViewWindow.h index c58643871..d256bca80 100755 --- a/src/VTKViewer/VTKViewer_ViewWindow.h +++ b/src/VTKViewer/VTKViewer_ViewWindow.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -90,6 +90,7 @@ public slots: void onAntiClockWiseView(); void onResetView(); void onFitAll(); + void onFitSelection(); void activateZoom(); void activateWindowFit(); void activateRotation(); @@ -114,9 +115,9 @@ private: void MoveActor( VTKViewer_Actor* theActor ); private: - enum { DumpId, FitAllId, FitRectId, ZoomId, PanId, GlobalPanId, RotationId, + enum { DumpId, FitAllId, FitRectId, FitSelectionId, ZoomId, PanId, GlobalPanId, RotationId, FrontId, BackId, TopId, BottomId, LeftId, RightId, ClockWiseId, AntiClockWiseId, - ResetId, TrihedronShowId }; + ResetId, TrihedronShowId }; typedef QMap ActionsMap; void createActions();