X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSVTK%2FSVTK_Renderer.h;h=e5232dcbf38757c76a6c7076f7da0850c55e5374;hb=99013c0818f44a7eb370a86ad99c1809f3ff8c5b;hp=19e7f51e870d486e2037f190c24f94434fb52a29;hpb=02904c3728214667f919cfe06072a91e1687b12f;p=modules%2Fgui.git diff --git a/src/SVTK/SVTK_Renderer.h b/src/SVTK/SVTK_Renderer.h index 19e7f51e8..e5232dcbf 100644 --- a/src/SVTK/SVTK_Renderer.h +++ b/src/SVTK/SVTK_Renderer.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 @@ -29,6 +29,7 @@ #include "SVTK.h" #include "VTKViewer.h" +#include "SALOME_ListIO.hxx" #include #include @@ -182,7 +183,14 @@ class SVTK_EXPORT SVTK_Renderer : public vtkObject //---------------------------------------------------------------------------- //! Fit all presentation in the scene into the window void OnFitAll(); - + + //---------------------------------------------------------------------------- + //! Fit all selected presentation in the scene + void onFitSelection(); + + //! Fit given presentations in the scene + void OnFitIObjects(const SALOME_ListIO& objects); + //! Set camera into predefined state void OnResetView();