0024394: Visualization - implement more general way for rendering of immediate objects
[occt.git] / src / Visual3d / Visual3d_View.cdl
index 30db5d4..1badb4a 100644 (file)
@@ -85,6 +85,7 @@ uses
     MapOfStructure          from Graphic3d,
     Camera_Handle           from Graphic3d,
 
+    ZLayerId                from Graphic3d,
     ZLayerSettings          from Graphic3d,
 
     ContextView             from Visual3d,
@@ -107,6 +108,7 @@ uses
     AsciiString             from TCollection,
     ExtendedString          from TCollection,
     CGraduatedTrihedron     from Graphic3d,
+    TypeOfStructure         from Graphic3d,
 
     PixMap                  from Image,
     Box                     from Bnd
@@ -752,14 +754,12 @@ is
        -- Category: Private methods
        ----------------------------
 
-       AcceptDisplay ( me;
-                       AStructure      : Structure from Graphic3d )
-               returns TypeOfAnswer from Visual3d
-               is static private;
-       ---Level: Internal
-       ---Purpose: Is it possible to display the structure
-       --          <AStructure> in the view <me> ?
-       ---Category: Private methods
+  acceptDisplay ( me;
+                  theStructType : TypeOfStructure from Graphic3d )
+  returns TypeOfAnswer from Visual3d
+  is static private;
+  ---Level: Internal
+  ---Purpose: Is it possible to display the structure in the view?
 
        ReCompute ( me  : mutable;
                    AStructure  : Structure from Graphic3d );
@@ -787,13 +787,13 @@ is
 
 
         SetZLayerSettings ( me          : mutable;
-                            theLayerId  : Integer from Standard;
+                            theLayerId  : ZLayerId       from Graphic3d;
                             theSettings : ZLayerSettings from Graphic3d )
           is static private;
         ---Purpose: Sets the settings for a single Z layer of specified view.
 
         AddZLayer ( me         : mutable;
-                    theLayerId : Integer from Standard )
+                    theLayerId : ZLayerId from Graphic3d )
           is static private;
         ---Purpose: Add a new top-level Z layer to the view with ID
         -- <theLayerId>. The z layer mechanism allows to display
@@ -803,13 +803,13 @@ is
         -- display of graphics in all views.
 
         RemoveZLayer ( me         : mutable;
-                       theLayerId : Integer from Standard )
+                       theLayerId : ZLayerId from Graphic3d )
           is static private;
         ---Purpose: Remove z layer from the view by its ID.
 
         ChangeZLayer ( me           : mutable;
                        theStructure : Structure from Graphic3d;
-                       theLayerId   : Integer from Standard )
+                       theLayerId   : ZLayerId  from Graphic3d )
            is static private;
         ---Purpose: Change Z layer of already displayed structure in the view.