mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024830: Remove redundant keyword 'mutable' in CDL declarations
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
This commit is contained in:
@@ -228,7 +228,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;
|
||||
@@ -240,7 +240,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;
|
||||
|
@@ -38,9 +38,9 @@ uses
|
||||
|
||||
is
|
||||
|
||||
Create ( VM : mutable Viewer ;
|
||||
Create ( VM : Viewer ;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE )
|
||||
returns mutable AmbientLight;
|
||||
returns AmbientLight;
|
||||
---Purpose: Constructs an ambient light source in the viewer VM.
|
||||
-- The default Color of this light source is WHITE.
|
||||
|
||||
|
@@ -30,7 +30,7 @@ is
|
||||
Create ( aViewer : ViewerPointer from V3d;
|
||||
aColor : Color from Quantity;
|
||||
aTenthColor : Color from Quantity )
|
||||
returns mutable CircularGrid from V3d;
|
||||
returns CircularGrid from V3d;
|
||||
|
||||
SetColors ( me : mutable;
|
||||
aColor : Color from Quantity;
|
||||
|
@@ -44,19 +44,19 @@ raises BadValue from V3d
|
||||
|
||||
is
|
||||
|
||||
Create ( VM : mutable Viewer ;
|
||||
Create ( VM : Viewer ;
|
||||
Direction : TypeOfOrientation = V3d_XposYposZpos;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE;
|
||||
Headlight : Boolean from Standard = Standard_False)
|
||||
returns mutable DirectionalLight ;
|
||||
returns DirectionalLight ;
|
||||
---Level: Public
|
||||
---Purpose : Creates a directional light source in the viewer.
|
||||
|
||||
Create ( VM : mutable Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Create ( VM : Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Xp,Yp,Zp : Coordinate;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE;
|
||||
Headlight : Boolean from Standard = Standard_False)
|
||||
returns mutable DirectionalLight;
|
||||
returns DirectionalLight;
|
||||
---Level: Public
|
||||
---Purpose: Creates a directional light source in the viewer.
|
||||
-- Xt,Yt,Zt : Coordinate of light source Target.
|
||||
@@ -125,7 +125,7 @@ is
|
||||
---Category: Private or Protected methods
|
||||
-----------------------------------------
|
||||
|
||||
Symbol ( me ; gsymbol : mutable Group from Graphic3d ;
|
||||
Symbol ( me ; gsymbol : Group from Graphic3d ;
|
||||
aView : View from V3d ) is redefined static private;
|
||||
---Level: Internal
|
||||
---Purpose: Defines the representation of the directional light source.
|
||||
|
@@ -34,21 +34,21 @@ is
|
||||
---Category: Public
|
||||
|
||||
Create (aView : View from V3d)
|
||||
returns mutable LayerMgr from V3d;
|
||||
returns LayerMgr from V3d;
|
||||
|
||||
Overlay (me)
|
||||
returns mutable Layer from Visual3d;
|
||||
returns Layer from Visual3d;
|
||||
---C++: return const &
|
||||
---C++: inline
|
||||
|
||||
View (me)
|
||||
returns mutable View from V3d;
|
||||
returns View from V3d;
|
||||
---C++: inline
|
||||
|
||||
ColorScaleDisplay (me : mutable);
|
||||
ColorScaleErase (me : mutable);
|
||||
ColorScaleIsDisplayed (me) returns Boolean from Standard;
|
||||
ColorScale (me) returns mutable ColorScale from Aspect;
|
||||
ColorScale (me) returns ColorScale from Aspect;
|
||||
|
||||
Compute (me : mutable);
|
||||
---Purpose: Recompute layer with objects
|
||||
|
@@ -53,7 +53,7 @@ raises
|
||||
|
||||
is
|
||||
|
||||
Initialize( VM : mutable Viewer ) ;
|
||||
Initialize( VM : Viewer ) ;
|
||||
|
||||
--------------------------------------------------------
|
||||
---Category: Methods to modify the attributes of the Light
|
||||
@@ -126,7 +126,7 @@ is
|
||||
-- on the sphere of center "Center" and radius "Radius".
|
||||
-- VX,VY,VZ is the project vector of view.
|
||||
|
||||
Light ( me ) returns mutable Light from Visual3d is static private ;
|
||||
Light ( me ) returns Light from Visual3d is static private ;
|
||||
---Level: Internal
|
||||
---Purpose: Returns the Light of the associated Visual3d.
|
||||
|
||||
|
@@ -42,7 +42,7 @@ raises BadValue from V3d
|
||||
|
||||
is
|
||||
|
||||
Initialize( VM : mutable Viewer ) ;
|
||||
Initialize( VM : Viewer ) ;
|
||||
|
||||
--------------------------------------------------------
|
||||
---Category: Methods to modify the Attributes of the Light
|
||||
@@ -130,7 +130,7 @@ is
|
||||
---Category: Private or Protected methods
|
||||
-----------------------------------------
|
||||
|
||||
Symbol ( me ; gsymbol : mutable Group from Graphic3d ;
|
||||
Symbol ( me ; gsymbol : Group from Graphic3d ;
|
||||
aView : View from V3d ) is deferred private;
|
||||
---Level: Internal
|
||||
---Purpose: Defines representation of the light source.
|
||||
|
@@ -51,11 +51,11 @@ raises BadValue from V3d
|
||||
|
||||
is
|
||||
|
||||
Create ( VM : mutable Viewer ; X,Y,Z : Coordinate ;
|
||||
Create ( VM : Viewer ; X,Y,Z : Coordinate ;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE ;
|
||||
Attenuation1 : Coefficient = 1.0 ;
|
||||
Attenuation2 : Coefficient = 0.0 )
|
||||
returns mutable PositionalLight
|
||||
returns PositionalLight
|
||||
---Level: Public
|
||||
---Purpose: Creates an isolated light source X,Y,Z in the viewer.
|
||||
-- It is also defined by the color Color and
|
||||
@@ -71,12 +71,12 @@ is
|
||||
---Purpose: Warning! raises BadValue from V3d
|
||||
-- if one of the attenuation coefficients is not between 0 et 1.
|
||||
|
||||
Create ( VM : mutable Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Create ( VM : Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Xp,Yp,Zp : Coordinate;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE ;
|
||||
Attenuation1 : Coefficient = 1.0 ;
|
||||
Attenuation2 : Coefficient = 0.0 )
|
||||
returns mutable PositionalLight
|
||||
returns PositionalLight
|
||||
---Level: Public
|
||||
---Purpose: Creates a light source of the Positional type
|
||||
-- in the viewer.
|
||||
@@ -144,7 +144,7 @@ is
|
||||
---Category: Private or Protected methods
|
||||
-----------------------------------------
|
||||
|
||||
Symbol ( me ; gsymbol : mutable Group from Graphic3d ;
|
||||
Symbol ( me ; gsymbol : Group from Graphic3d ;
|
||||
aView : View from V3d ) is redefined static private;
|
||||
---Level: Internal
|
||||
---Purpose: Defined the representation of the positional light source.
|
||||
|
@@ -30,7 +30,7 @@ is
|
||||
Create ( aViewer : ViewerPointer from V3d;
|
||||
aColor : Color from Quantity;
|
||||
aTenthColor : Color from Quantity )
|
||||
returns mutable RectangularGrid from V3d;
|
||||
returns RectangularGrid from V3d;
|
||||
|
||||
SetColors ( me : mutable;
|
||||
aColor : Color from Quantity;
|
||||
|
@@ -45,14 +45,14 @@ raises BadValue from V3d
|
||||
|
||||
is
|
||||
|
||||
Create ( VM : mutable Viewer ; X,Y,Z : Coordinate ;
|
||||
Create ( VM : Viewer ; X,Y,Z : Coordinate ;
|
||||
Direction : TypeOfOrientation = V3d_XnegYnegZpos ;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE ;
|
||||
Attenuation1 : Coefficient = 1.0 ;
|
||||
Attenuation2 : Coefficient = 0.0 ;
|
||||
Concentration : Coefficient = 1.0 ;
|
||||
Angle : PlaneAngle = 0.523599 )
|
||||
returns mutable SpotLight
|
||||
returns SpotLight
|
||||
---Level: Public
|
||||
---Purpose: Creates a light source of the Spot type in the viewer.
|
||||
-- The attenuation factor F which determines
|
||||
@@ -70,14 +70,14 @@ is
|
||||
-- If one of the coefficients is not between 0 and 1 .
|
||||
-- If the lighting angle is <= 0 ou > PI .
|
||||
|
||||
Create ( VM : mutable Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Create ( VM : Viewer ; Xt,Yt,Zt : Coordinate;
|
||||
Xp,Yp,Zp : Coordinate;
|
||||
Color : NameOfColor = Quantity_NOC_WHITE ;
|
||||
Attenuation1 : Coefficient = 1.0 ;
|
||||
Attenuation2 : Coefficient = 0.0 ;
|
||||
Concentration : Coefficient = 1.0 ;
|
||||
Angle : PlaneAngle = 0.523599 )
|
||||
returns mutable SpotLight
|
||||
returns SpotLight
|
||||
---Level: Public
|
||||
---Purpose: Creates a light source of the Spot type in the viewer.
|
||||
-- Xt,Yt,Zt : Coordinate of light source Target.
|
||||
@@ -169,7 +169,7 @@ is
|
||||
---Category: Private or Protected methods
|
||||
-----------------------------------------
|
||||
|
||||
Symbol ( me ; gsymbol : mutable Group from Graphic3d ;
|
||||
Symbol ( me ; gsymbol : Group from Graphic3d ;
|
||||
aView : View from V3d ) is redefined static private;
|
||||
---Level: Internal
|
||||
---Purpose: Defines the representation of the spot light source.
|
||||
|
@@ -145,10 +145,10 @@ raises
|
||||
|
||||
is
|
||||
|
||||
Create ( VM : mutable Viewer; Type : TypeOfView from V3d = V3d_ORTHOGRAPHIC );
|
||||
Create ( VM : Viewer; Type : TypeOfView from V3d = V3d_ORTHOGRAPHIC );
|
||||
---Purpose: Initializes the view.
|
||||
|
||||
Create (theVM : mutable Viewer; theView : View from V3d);
|
||||
Create (theVM : Viewer; theView : View from V3d);
|
||||
---Purpose: Initializes the view by copying.
|
||||
|
||||
--------------------------------------------------------
|
||||
@@ -1218,10 +1218,10 @@ is
|
||||
---Purpose : Go to the next active Light
|
||||
-- (if there is not, ActiveLight will raise an exception)
|
||||
|
||||
ActiveLight(me) returns mutable Light from V3d;
|
||||
ActiveLight(me) returns Light from V3d;
|
||||
---Level: Advanced
|
||||
|
||||
Viewer ( me ) returns mutable Viewer from V3d;
|
||||
Viewer ( me ) returns Viewer from V3d;
|
||||
---Level: Advanced
|
||||
---Purpose: Returns the viewer in which the view has been created.
|
||||
|
||||
@@ -1229,7 +1229,7 @@ is
|
||||
---Level: Public
|
||||
---Purpose: Returns True if MyView is associated with a window .
|
||||
|
||||
Window ( me ) returns mutable Window from Aspect
|
||||
Window ( me ) returns Window from Aspect
|
||||
---Level: Public
|
||||
---Purpose: Returns the Aspect Window associated with the view.
|
||||
raises BadValue from V3d;
|
||||
@@ -1334,7 +1334,7 @@ is
|
||||
Focale( me ) returns Length;
|
||||
---Purpose: Returns the View Plane Distance for Perspective Views
|
||||
|
||||
View ( me) returns mutable View from Visual3d is static ;
|
||||
View ( me) returns View from Visual3d is static ;
|
||||
---Level: Advanced
|
||||
---Purpose: Returns the associated Visual3d view.
|
||||
|
||||
|
@@ -92,7 +92,7 @@ is
|
||||
theComputedMode : Boolean from Standard = Standard_True;
|
||||
theDefaultComputedMode: Boolean from Standard = Standard_True;
|
||||
theSurfaceDetail : TypeOfSurfaceDetail from V3d = V3d_TEX_NONE)
|
||||
returns mutable Viewer from V3d
|
||||
returns Viewer from V3d
|
||||
---Purpose: Create a Viewer with the given graphic driver and the given parameters or
|
||||
-- with their default values.
|
||||
-- Currently creating of more than 100 viewer instances
|
||||
@@ -102,7 +102,7 @@ is
|
||||
---Purpose: If the size of the view is <= 0
|
||||
-- Warning: Client must creates a graphic driver
|
||||
|
||||
CreateView (me: mutable) returns mutable View from V3d;
|
||||
CreateView (me: mutable) returns View from V3d;
|
||||
---Level: Public
|
||||
---Purpose: creates a view in the viewer according to its
|
||||
-- default parameters.
|
||||
@@ -369,7 +369,7 @@ is
|
||||
---Purpose : Go to the next active view
|
||||
-- (if there is not, ActiveView will raise an exception)
|
||||
|
||||
ActiveView(me) returns mutable View from V3d;
|
||||
ActiveView(me) returns View from V3d;
|
||||
---Level: Advanced
|
||||
|
||||
LastActiveView(me) returns Boolean from Standard;
|
||||
@@ -410,7 +410,7 @@ is
|
||||
-- (if there is not, ActiveLight will raise an exception)
|
||||
|
||||
|
||||
ActiveLight(me) returns mutable Light from V3d;
|
||||
ActiveLight(me) returns Light from V3d;
|
||||
---Level: Advanced
|
||||
|
||||
InitDefinedLights(me: mutable);
|
||||
@@ -429,7 +429,7 @@ is
|
||||
DefinedLight(me) returns Light from V3d;
|
||||
---Level: Advanced
|
||||
|
||||
Viewer (me) returns mutable ViewManager ;
|
||||
Viewer (me) returns ViewManager ;
|
||||
---Level: Advanced
|
||||
---Purpose: Returns the viewer associated to Visual3d .
|
||||
|
||||
@@ -498,7 +498,7 @@ is
|
||||
---Category: grid management
|
||||
|
||||
Grid (me)
|
||||
returns mutable Grid from Aspect
|
||||
returns Grid from Aspect
|
||||
is static;
|
||||
---Purpose : Returns the defined grid in <me>.
|
||||
---Level : Public
|
||||
@@ -680,7 +680,7 @@ is
|
||||
-- from lowest layer to highest ( foreground ). The first layer ID
|
||||
-- in sequence is the default layer that can't be removed.
|
||||
|
||||
Driver(me) returns mutable GraphicDriver from Graphic3d
|
||||
Driver(me) returns GraphicDriver from Graphic3d
|
||||
is static;
|
||||
---C++: return const &
|
||||
|
||||
|
Reference in New Issue
Block a user