1 -- Created on: 1997-01-20
2 -- Created by: Robert COUBLANC
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 private class LocalStatus from AIS inherits TShared from MMgt
19 ---Purpose: Stored Info about temporary objects.
21 ListOfInteger from TColStd,
22 NameOfColor from Quantity
25 Create(IsTemporary : Boolean from Standard = Standard_True;
26 Decompose : Boolean from Standard = Standard_False;
27 DisplayMode : Integer from Standard = -1;
28 SelectionMode : Integer from Standard = -1;
29 HilightMode : Integer from Standard = 0;
30 SubIntensity : Boolean from Standard = 0;
31 TheHiCol : NameOfColor from Quantity = Quantity_NOC_WHITE)
32 returns mutable LocalStatus from AIS;
38 Decomposed(me) returns Boolean from Standard;
40 IsTemporary(me) returns Boolean from Standard;
42 DisplayMode(me) returns Integer from Standard;
44 SelectionModes(me) returns ListOfInteger from TColStd;
47 IsActivated(me; aSelMode :Integer from Standard)
48 returns Boolean from Standard;
49 HilightMode(me) returns Integer from Standard;
51 IsSubIntensityOn(me) returns Boolean from Standard;
53 HilightColor(me) returns NameOfColor from Quantity;
57 SetDecomposition (me:mutable; astatus : Boolean from Standard);
59 SetTemporary (me:mutable; astatus : Boolean from Standard);
61 SetDisplayMode (me:mutable; aMode : Integer from Standard);
63 SetFirstDisplay (me:mutable; aStatus : Boolean from Standard) ;
65 IsFirstDisplay(me) returns Boolean from Standard;
68 AddSelectionMode (me:mutable; aMode : Integer from Standard);
70 RemoveSelectionMode(me:mutable; aMode : Integer from Standard);
72 ClearSelectionModes(me:mutable);
74 IsSelModeIn(me;aMode:Integer from Standard)
75 returns Boolean from Standard;
77 SetHilightMode (me:mutable; aMode : Integer from Standard);
79 SetHilightColor (me:mutable;aHiCol:NameOfColor from Quantity);
81 SubIntensityOn (me:mutable);
83 SubIntensityOff (me:mutable);
87 SetPreviousState(me:mutable;aStatus : Transient from Standard);
89 PreviousState(me) returns any Transient from Standard;
91 ---C++: return const &
94 myDecomposition : Boolean from Standard;
95 myIsTemporary : Boolean from Standard;
96 myDMode : Integer from Standard;
97 myFirstDisplay : Boolean from Standard;
98 myHMode : Integer from Standard;
99 mySModes : ListOfInteger from TColStd;
100 mySubIntensity : Boolean from Standard;
101 myHiCol : NameOfColor from Quantity;
103 myPreviousState : Transient from Standard;