0022832: Not documented limitation of Graphic3d_StructureManager
authoraba <aba@opencascade.com>
Wed, 24 Oct 2012 11:12:38 +0000 (15:12 +0400)
committeraba <aba@opencascade.com>
Thu, 15 Nov 2012 09:30:35 +0000 (13:30 +0400)
Added information about viewers count limitation in CDL documentation.

src/Graphic3d/Graphic3d_StructureManager.cdl
src/V3d/V3d_Viewer.cdl
src/Visual3d/Visual3d_ViewManager.cdl

index 49a90af..dc3c6cb 100755 (executable)
@@ -62,7 +62,11 @@ is
 
        Initialize ( aDevice    : GraphicDevice from Aspect )
        ---Level: Public
-       ---Purpose: Initialise the constructor of the ViewManager.
+       ---Purpose: Initialises the ViewManager.
+       --  Currently creating of more than 100 viewer instances 
+       --  is not supported and leads to InitializationError and 
+       --  initialisation failure.
+       --  This limitation might be addressed in some future OCCT releases.   
        --  Warning: Raises InitialisationError if the initialisation
        --          of the ViewManager failed.
        raises InitialisationError from Graphic3d;
index ab70e36..ecb7f28 100755 (executable)
@@ -105,6 +105,9 @@ is
         returns mutable Viewer from V3d
         ---Purpose: Create a Viewer on the given device with the given parameters  or
         --          with their default values.
+        --          Currently creating of more than 100 viewer instances 
+             --          is not supported and leads to an exception.
+             --          This limitation might be addressed in some future OCCT releases.
         raises BadValue from Viewer ;
         ---Purpose:        If the size of the view is <= 0
         --      if ComputedMode is false, only the degenerate mode will be used.
index 1510e72..0cf0a0b 100755 (executable)
@@ -59,7 +59,10 @@ is
                returns mutable ViewManager from Visual3d;
        ---Level: Public
        ---Purpose: Creates a 3D visualizer.
-
+       --  Currently creating of more than 100 viewer instances 
+       --  is not supported and leads to InitializationError and 
+       --  initialisation failure.
+       --  This limitation might be addressed in some future OCCT releases. 
        ---------------------------------------------------
        -- Category: Methods to modify the class definition
        ---------------------------------------------------