Salome HOME
Selector implementation for OCC viewer.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Tool.h
index 264adbd58535eb9546090a3bb73d27c51f0543f0..cb77fb75c6468dd6a2efd39ed24c43294ff682c4 100644 (file)
@@ -198,6 +198,14 @@ public:
                                                       const QString&     thePrefix,
                                                       const QStringList& theUsedNames = QStringList() );
 
+  /**
+   * \brief Get id of the active view.
+   * \param theModule module
+   * \return view id
+   */
+  static size_t                   GetActiveViewId( HYDROGUI_Module* theModule,
+                                                   const QString&   theViewId = QString() );
+
   /**
    * \brief Get id of the active GraphicsView view.
    * \param theModule module
@@ -205,6 +213,13 @@ public:
    */
   static size_t                   GetActiveGraphicsViewId( HYDROGUI_Module* theModule );
 
+  /**
+   * \brief Get id of the active OCC view.
+   * \param theModule module
+   * \return view id
+   */
+  static size_t                   GetActiveOCCViewId( HYDROGUI_Module* theModule );
+
   /**
    * \brief Get list of ids of existing GraphicsView views.
    * \param theModule module
@@ -212,6 +227,13 @@ public:
    */
   static QList<size_t>            GetGraphicsViewIdList( HYDROGUI_Module* theModule );
 
+  /**
+   * \brief Get list of ids of existing OCC views.
+   * \param theModule module
+   * \return list of view ids
+   */
+  static QList<size_t>            GetOCCViewIdList( HYDROGUI_Module* theModule );
+
   /**
    * \brief Get the list of references (recursively) for the specified image object
    * \param theImage image data object