Salome HOME
Access to 'Invalid value' of altitude from Bathymetry is added.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Tool.h
index 1af2f5d71912bb47167631692db11fd9fecb81be..e713e7d64e397db524b04d9af271f7f1481124f6 100644 (file)
@@ -113,11 +113,9 @@ public:
   /**
    * \brief Get sub-objects to build presentations.
    * \param theModule module
-   * \param theViewerId viewer id
    * \param theSeq sequence of sub-objects
    */
   static void                     GetPrsSubObjects( HYDROGUI_Module* theModule,
-                                                    const int theViewerId,
                                                     HYDROData_SequenceOfObjects& theSeq );
 
   /**
@@ -169,6 +167,20 @@ public:
    */
   static QString                  GenerateObjectName( HYDROGUI_Module* theModule,
                                                       const QString& thePrefix );
+
+  /**
+   * \brief Get id of the active GraphicsView view.
+   * \param theModule module
+   * \return view id
+   */
+  static size_t                   GetActiveGraphicsViewId( HYDROGUI_Module* theModule );
+
+  /**
+   * \brief Get list of ids of existing GraphicsView views.
+   * \param theModule module
+   * \return list of view ids
+   */
+  static QList<size_t>            GetGraphicsViewIdList( HYDROGUI_Module* theModule );
 };
 
 #endif