Salome HOME
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_OCCDisplayer.h
index 410ee7766d4dde7c09eb13e7baf4e0dde2247896..681e137abcdc629e70073b385194cd52eb4582e4 100644 (file)
@@ -55,6 +55,11 @@ public:
   void                            SetToUpdate( const HYDROData_SequenceOfObjects& theObjs,
                                                const int theViewerId );
 
+  /**
+   * \brief Get the applicable viewer type.
+   */
+  virtual QString  GetType() const;
+
 protected:
   /**
    * \brief Erase all viewer objects.
@@ -75,11 +80,14 @@ protected:
    * \param theObjs sequence of objects to display
    * \param theViewerId viewer identifier
    * \param theIsForced flag used to update all objects, including the unchanged ones
+   * \param theDoFitAll flag used to fit the view to all visible objects; do not fit by default
    */
   void                            Display( const HYDROData_SequenceOfObjects& theObjs,
                                            const int theViewerId,
-                                           const bool theIsForced );
+                                           const bool theIsForced,
+                                           const bool theDoFitAll );
 
+protected:
   /**
    * \brief Purge all invalid objects in the viewer.
    * \param theViewerId viewer identifier