]> OCCT Git - occt.git/commitdiff
Coding, AIS_InteractiveContext - mark as deprecated methods related to Immediate...
authorKirill Gavrilov <kirill@sview.ru>
Fri, 25 Apr 2025 05:49:11 +0000 (08:49 +0300)
committerdpasukhi <dpasukhi@opencascade.com>
Wed, 16 Jul 2025 18:14:06 +0000 (19:14 +0100)
src/Visualization/TKV3d/AIS/AIS_InteractiveContext.hxx

index ee4e231af5b44d21988574a02bdd8be2d435b13d..5581ef45b6eace5b38e2c4ab2cce6145c0623bc1 100644 (file)
@@ -735,21 +735,25 @@ public: //! @name Selection management
   Handle(Standard_Transient) Applicative() const { return SelectedInteractive()->GetOwner(); }
 
 public: //! @name immediate mode rendering
-  //! initializes the list of presentations to be displayed
-  //! returns False if no local context is opened.
+  Standard_DEPRECATED(
+    "Deprecated method - Graphic3d_ZLayerId with IsImmediate flag should be used instead")
   Standard_EXPORT Standard_Boolean BeginImmediateDraw();
 
-  //! returns True if <anIObj> has been stored in the list.
+  Standard_DEPRECATED(
+    "Deprecated method - Graphic3d_ZLayerId with IsImmediate flag should be used instead")
   Standard_EXPORT Standard_Boolean ImmediateAdd(const Handle(AIS_InteractiveObject)& theObj,
                                                 const Standard_Integer               theMode = 0);
 
-  //! returns True if the immediate display has been done.
+  Standard_DEPRECATED(
+    "Deprecated method - Graphic3d_ZLayerId with IsImmediate flag should be used instead")
   Standard_EXPORT Standard_Boolean EndImmediateDraw(const Handle(V3d_View)& theView);
 
-  //! Uses the First Active View of Main Viewer!
-  //! returns True if the immediate display has been done.
+  Standard_DEPRECATED(
+    "Deprecated method - Graphic3d_ZLayerId with IsImmediate flag should be used instead")
   Standard_EXPORT Standard_Boolean EndImmediateDraw();
 
+  Standard_DEPRECATED(
+    "Deprecated method - Graphic3d_ZLayerId with IsImmediate flag should be used instead")
   Standard_EXPORT Standard_Boolean IsImmediateModeOn() const;
 
   //! Redraws immediate structures in all views of the viewer given taking into account its