0024837: Visualization - revise design and implementation of connected Interactive...
[occt.git] / src / AIS / AIS.cdl
index f1f9c76..3abdfc8 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.
@@ -146,7 +146,8 @@ uses
     StdSelect,
     DsgPrs,
     TopTools,
-    Poly
+    Poly,
+    Image
 
 is
     
@@ -241,19 +242,23 @@ is
     KOI_Datum,
     KOI_Shape,
     KOI_Object,
-    KOI_Relation;
-        --- Purpose: Declares the type of Interactive Object. 
-        -- This is one of the following:
-        -- -   the Datum
-        -- -   the Object
-        -- -   the Relation
-        -- -   the None type.
-        --  The Datum is the construction element. These include
-        -- points, lines, axes and planes. The object brings
-        -- together topological shapes. The Relation includes
-        -- dimensions and constraints. When the object is of an
-        -- unknown type, the None type is declared.
-    
+    KOI_Relation,
+    KOI_Dimension;
+    --- Purpose: Declares the type of Interactive Object. 
+    -- This is one of the following:
+    -- -   the Datum
+    -- -   the Object
+    -- -   the Relation
+    -- -   the Dimension
+    -- -   the None type.
+    -- The Datum is the construction element. These include
+    -- points, lines, axes and planes. The object brings
+    -- together topological shapes. The Relation includes
+    -- dimensions and constraints. The Dimension includes
+    -- length, radius, diameter and angle dimensions.
+    -- When the object is of an unknown type, the None
+    -- type is declared.
+
     enumeration ClearMode is
     CM_All,
     CM_Interactive,
@@ -320,7 +325,8 @@ is
 
     class Triangulation;
 
-    class TexturedShape;
+    imported ColoredShape;
+    imported TexturedShape;
 
     class Drawer;
     
@@ -354,9 +360,6 @@ is
     
     ---Category: Object of type Shape
     class Shape;                         --signature 0
-    class ConnectedShape;                --signature 1
-    class MultipleConnectedShape;        --signature 2        
-
 
 
     ---Category: General Objects
@@ -676,8 +679,8 @@ is
     ---Purpose:  computes  length  of  ellipse  arc  in  parametric  units   
      
     
-    ComputeProjEdgePresentation(aPres    : mutable Presentation from Prs3d; 
-                               aDrawer  : mutable Drawer       from AIS;        
+    ComputeProjEdgePresentation(aPres    : Presentation from Prs3d; 
+                               aDrawer  : Drawer       from AIS;        
                                anEdge   : Edge                 from TopoDS;
                                ProjCurve: Curve                from Geom;
                                FirstP   : Pnt                  from gp;
@@ -687,8 +690,8 @@ is
                                aProjTOL : TypeOfLine           from Aspect   = Aspect_TOL_DASH;
                                aCallTOL : TypeOfLine           from Aspect   = Aspect_TOL_DOT);
     
-    ComputeProjVertexPresentation(aPres    : mutable Presentation from Prs3d; 
-                                 aDrawer  : mutable Drawer       from AIS;        
+    ComputeProjVertexPresentation(aPres    : Presentation from Prs3d; 
+                                 aDrawer  : Drawer       from AIS;        
                                  aVertex  : Vertex               from TopoDS;
                                  ProjPoint: Pnt                  from gp;
                                          aColor   : NameOfColor          from Quantity = Quantity_NOC_PURPLE;