0024637: Visualization - clean up implementation of rendering in immediate mode
[occt.git] / src / V3d / V3d_Viewer.cdl
index 0312c24..86f759b 100644 (file)
@@ -5,8 +5,8 @@
 --
 -- This file is part of Open CASCADE Technology software library.
 --
--- This library is free software; you can redistribute it and / or modify it
--- under the terms of the GNU Lesser General Public version 2.1 as published
+-- This library is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU Lesser General Public License version 2.1 as published
 -- by the Free Software Foundation, with special exception defined in the file
 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 -- distribution for complete text of the license and disclaimer of any warranty.
@@ -61,8 +61,6 @@ uses
         Background from Aspect,
         GradientBackground from Aspect,
         Parameter from Quantity,
-        OrthographicView from V3d,
-        PerspectiveView from V3d,
         AsciiString,ExtendedString from TCollection,
         Ax3 from gp,Structure from Graphic3d,
         Vertex from Graphic3d,
@@ -153,6 +151,14 @@ is
         --            all the views of the Viewer are exposed, as for
         --           example in a global DeIconification.
 
+        RedrawImmediate ( me );
+        ---Level: Public
+        ---Purpose: Updates layer of immediate presentations.
+
+        Invalidate ( me );
+        ---Level: Public
+        ---Purpose: Invalidates viewer content but does not redraw it.
+
         Remove (me:mutable);
         ---Level: Public
         ---Purpose: Suppresses the Viewer.
@@ -626,12 +632,17 @@ is
         IsActive(me; aView: View from V3d)
         returns Boolean from Standard is private;
 
-        ShowGridEcho(me : mutable;
-                        aView: View from V3d;
-                        aPoint: Vertex from Graphic3d) is private;
+        ShowGridEcho (me       : mutable;
+                      theView  : View   from V3d;
+                      thePoint : Vertex from Graphic3d);
         ---Purpose:
         -- Display grid echo at requested point in the view.
 
+        HideGridEcho (me      : mutable;
+                      theView : View from V3d);
+        ---Purpose:
+        -- Temporarly hide grid echo.
+
         AddZLayer ( me : mutable;
                     theLayerId : in out Integer from Standard )
            returns Boolean from Standard is static;
@@ -710,6 +721,7 @@ fields
         myGridEchoStructure: Structure from Graphic3d;
         myGridEchoGroup: Group from Graphic3d;
         myGridEchoAspect : AspectMarker3d from Graphic3d;
+        myGridEchoLastVert : Vertex from Graphic3d;
 friends
 
         class View from V3d,