0024723: Not implemented methods in Visual3d and V3d
[occt.git] / src / V3d / V3d.cdl
old mode 100755 (executable)
new mode 100644 (file)
index 71de97b..9cb26f6
@@ -1,22 +1,18 @@
 -- Created on: 1992-11-13
 -- Created by: GG
 -- Copyright (c) 1992-1999 Matra Datavision
--- Copyright (c) 1999-2012 OPEN CASCADE SAS
+-- Copyright (c) 1999-2014 OPEN CASCADE SAS
 --
--- The content of this file is subject to the Open CASCADE Technology Public
--- License Version 6.5 (the "License"). You may not use the content of this file
--- except in compliance with the License. Please obtain a copy of the License
--- at http://www.opencascade.org and read it completely before using this file.
+-- This file is part of Open CASCADE Technology software library.
 --
--- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
--- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+-- 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.
 --
--- The Original Code and all software distributed under the License is
--- distributed on an "AS IS" basis, without warranty of any kind, and the
--- Initial Developer hereby disclaims all such warranties, including without
--- limitation, any warranties of merchantability, fitness for a particular
--- purpose or non-infringement. Please see the License for the specific terms
--- and conditions governing the rights and limitations under the License.
+-- Alternatively, this file may be used under the terms of Open CASCADE
+-- commercial license or contractual agreement.
 
 -- Package:     V3d.cdl
 -- Modified:    stt:25-02-98; S3558: ajout ViewStdAdapter
@@ -34,20 +30,8 @@ package V3d
         --          of the 3D Viewer. It provides a set of high level commands
         --          to control the views and viewing modes. This package is
         --          complementary to the Visual3D graphic package.
-        --    Warning
-        -- The CSF_WALKTHROUGH variable enables you to
-        -- manage the perspective of the view in the viewer by
-        -- defining setenv CSF_WALKTHROUGH "Yes".
-        -- If you use the syntax unsetenv
-        -- CSF_WALKTHROUGH, you undefine the variable
-        -- (you make sure that the variable is deactivated). In
-        -- this case, the eye is located outside the 3D bounding
-        -- box of the view. This is the default behavior for
-        -- managing the view perspective.
-
 
 uses
-        Viewer,
         TColStd,
         Graphic3d,
         Visual3d,
@@ -55,10 +39,10 @@ uses
         TCollection,
         Quantity,
         Aspect,
-        PlotMgt,
         Image,
         gp,
-        OSD
+        OSD,
+        Font
 
 is
 
@@ -77,6 +61,7 @@ is
         --Category: The Exceptions
         --------------------------
 
+        exception BadValue inherits OutOfRange;
         exception UnMapped inherits DomainError;
 
         -----------------------------
@@ -161,10 +146,6 @@ is
             NOTHINGCAMERA
         end TypeOfPickCamera;
 
-    enumeration TypeOfProjectionModel is
-        TPM_SCREEN,TPM_WALKTHROUGH
-    end TypeOfProjectionModel;
-
         enumeration TypeOfBackfacingModel is
             TOBM_AUTOMATIC, TOBM_ALWAYS_DISPLAYED, TOBM_NEVER_DISPLAYED
         end TypeOfBackfacingModel;
@@ -174,53 +155,44 @@ is
         --            TOBM_ALWAYS_DISPLAYED     force display of back faces
         --            TOBM_NEVER_DISPLAYED      disable display of back faces
 
+        enumeration StereoDumpOptions is
+            SDO_MONO,
+            SDO_LEFT_EYE,
+            SDO_RIGHT_EYE
+        end StereoDumpOptions;
+        ---Purpose : Options to be used with image dumping.
+        --
+        --            SDO_MONO dump monographic projection for stereo camera
+        --            SDO_LEFT_EYE dump left eye projection for stereo camera
+        --            SDO_RIGHT_EYE dump right eye projection for stereo camera
+
         ------------------------
         ---Category: The classes
         ------------------------
 
         class Viewer;
-        ---Purpose: Provides the services of a 3D viewer.
 
-        deferred class View;
-        ---Purpose: Provides a set of services common to all types of view.
-
-        class OrthographicView;
-        ---Purpose: Services of an orthogonal view.
-
-        class PerspectiveView;
-        ---Purpose: Services of a perspective view.
+        class View;
 
         class LayerMgr;
-        ---Purpose: Services of layer management.
 
         deferred class Light;
-        ---Purpose: Provides services common to all types of luminous source.
-        --          (base class for AmbientLight and PositionLight)
-
 
         class AmbientLight;
-        ---Purpose: Services of ambient light sources.
 
         deferred class PositionLight;
-        ---Purpose: Provides services common to Positional,Directional,Spot Lights.
 
         class PositionalLight;
-        ---Purpose: Services of positional light sources.
 
         class DirectionalLight;
-        ---Purpose: Services of directional light sources.
 
         class SpotLight;
-        ---Purpose: Services of spot light sources.
-
-        class Plane;
-        ---Pupose: Services of any kind of clipping plane.
 
         ---------------------------------
         ---Category: Instantiated classes
         ---------------------------------
 
-        private class ListOfTransient;
+        imported ListOfTransient;
 
         pointer ViewerPointer to Viewer from V3d;
         pointer ViewPointer to View from V3d;
@@ -241,7 +213,7 @@ is
         ---Purpose: Determines the orientation vector corresponding
         --          to the predefined orientation type.
 
-        ArrowOfRadius ( garrow   : mutable Group from Graphic3d;
+        ArrowOfRadius ( garrow   : Group from Graphic3d;
                         X0,Y0,Z0 : Coordinate;
                         DX,DY,DZ : Parameter;
                         Alpha    : PlaneAngle from Quantity;
@@ -253,7 +225,7 @@ is
         --          Alpha    : Angle of arrow.
         --          Lng      : Length of arrow.
 
-        CircleInPlane ( gcircle  : mutable Group from Graphic3d;
+        CircleInPlane ( gcircle  : Group from Graphic3d;
                         X0,Y0,Z0 : Coordinate;
                         VX,VY,VZ : Parameter;
                         Radius   : Parameter ) is protected;