class HYDROGUI_Shape;
class Handle(AIS_InteractiveContext);
+class OCCViewer_ViewManager;
/**
* \class HYDROGUI_OCCDisplayer
void SetToUpdate( const HYDROData_SequenceOfObjects& theObjs,
const int theViewerId );
+ /**
+ * \brief Get the applicable viewer type.
+ */
+ virtual QString GetType() const;
+
+ /**
+ * \brief Add the top z layer and returns its index.
+ * \param theMgr OCC view manager
+ */
+ int AddTopZLayer( OCCViewer_ViewManager* theMgr );
+
+ /**
+ * \brief Removes the z layer.
+ * \param theMgr OCC view manager
+ * \param theLayer a layer index
+ */
+ void RemoveZLayer( OCCViewer_ViewManager* theMgr,
+ const int theLayer );
+
protected:
/**
* \brief Erase all viewer objects.
* \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