]> OCCT Git - occt-copy.git/commitdiff
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 49a90afe2b17b97088b9391081e796009aea891b..dc3c6cb139c83bfe3f7f4a6ef6882ccf113100b4 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 ab70e36776d166388b95a9e023aa9c681877cba9..ecb7f285f694f9105dd89adb0b5ab4ed59b92e52 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 1510e72f8e65ef5a102e85357cac8f756269813a..0cf0a0bc3a563090abaf0a693a135ac790f4e8ed 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
        ---------------------------------------------------