Salome HOME
Allow drag and drop berween items; change z layers assigning algo.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_OCCDisplayer.h
index d34936547a8a6702c575a55d05588a890543a416..f1cb02563903cfd89ed376830a751543b6ef5221 100644 (file)
@@ -28,6 +28,7 @@
 class HYDROGUI_Shape;
 class Handle(AIS_InteractiveContext);
 class OCCViewer_ViewManager;
+class OCCViewer_Viewer;
 
 /**
  * \class HYDROGUI_OCCDisplayer
@@ -120,6 +121,21 @@ private:
   HYDROGUI_Shape*                 createShape( const int                             theViewerId,
                                                const Handle(AIS_InteractiveContext)& theContext,
                                                const Handle(HYDROData_Entity)&       theObject );
+
+   /**
+   * \brief Display the specified object.
+   * \param theObject the object to display
+   * \param theViewer the viewer for displaying
+   * \param theIsForced the flag used to update the object shape
+   * \param theZLayerIndex the Z layer index
+   * \param theIsOrdered the flag indicating if the Z layer ordering available for the object
+   * \return true in case of success
+   */
+  bool                            Display( const Handle(HYDROData_Entity)& theObject,
+                                           const OCCViewer_Viewer* theViewer,
+                                           const bool theIsForced,
+                                           const int theZLayerIndex,
+                                           const bool theIsOrdered );
 };
 
 #endif