Salome HOME
Provide corresponding projection setting after mesh presentation creation. This funct...
[modules/visu.git] / src / VISUGUI / VisuGUI_Tools.h
index 63a767f41f5d341bfdc591d39330bd9afd17fb15..3d6fd0e56892d317e97109da5c4988d6f513d459 100644 (file)
@@ -150,6 +150,17 @@ namespace VISU {
   void                                 RecreateActor(const SalomeApp_Module* theModule,
                                                     VISU::Prs3d_i* thePrs);
 
+  /*!
+   * \brief Advanced FitAll, sets view projection in accordance with current view contents
+   *
+   * If common bounding box of all actors in \a theViewWindow has
+   * at least one small side, then corresponding projection will be set
+   * (Top, Left or Front), else 3D projection will be used.
+   *
+   * \param theViewWindow - the view to perform FitAll in.
+   */
+  void                                 SetFitAll(SVTK_ViewWindow* theViewWindow);
+
   // Plot2d View
   SPlot2d_Viewer*                      GetPlot2dViewer(const SalomeApp_Module* theModule,
                                                       const bool theCreate = false);