0022627: Change OCCT memory management defaults
[occt.git] / src / AIS / AIS_LocalStatus.cdl
CommitLineData
7fd59977 1-- File: AIS_LocalStatus.cdl
2-- Created: Mon Jan 20 15:35:55 1997
3-- Author: Robert COUBLANC
4-- <rob@robox.paris1.matra-dtv.fr>
5---Copyright: Matra Datavision 1997
6
7
8private class LocalStatus from AIS inherits TShared from MMgt
9
10 ---Purpose: Stored Info about temporary objects.
11uses
12 ListOfInteger from TColStd,
13 NameOfColor from Quantity
14is
15
16 Create(IsTemporary : Boolean from Standard = Standard_True;
17 Decompose : Boolean from Standard = Standard_False;
18 DisplayMode : Integer from Standard = -1;
19 SelectionMode : Integer from Standard = -1;
20 HilightMode : Integer from Standard = 0;
21 SubIntensity : Boolean from Standard = 0;
22 TheHiCol : NameOfColor from Quantity = Quantity_NOC_WHITE)
23 returns mutable LocalStatus from AIS;
24
25
26
27 ---Category: Read
28
29 Decomposed(me) returns Boolean from Standard;
30 ---C++: inline
31 IsTemporary(me) returns Boolean from Standard;
32 ---C++: inline
33 DisplayMode(me) returns Integer from Standard;
34 ---C++: inline
35 SelectionModes(me) returns ListOfInteger from TColStd;
36 ---C++: return const&
37 ---C++: inline
38 IsActivated(me; aSelMode :Integer from Standard)
39 returns Boolean from Standard;
40 HilightMode(me) returns Integer from Standard;
41 ---C++: inline
42 IsSubIntensityOn(me) returns Boolean from Standard;
43 ---C++: inline
44 HilightColor(me) returns NameOfColor from Quantity;
45 ---C++: inline
46
47
48 SetDecomposition (me:mutable; astatus : Boolean from Standard);
49 ---C++: inline
50 SetTemporary (me:mutable; astatus : Boolean from Standard);
51 ---C++: inline
52 SetDisplayMode (me:mutable; aMode : Integer from Standard);
53 ---C++: inline
54 SetFirstDisplay (me:mutable; aStatus : Boolean from Standard) ;
55 ---C++: inline
56 IsFirstDisplay(me) returns Boolean from Standard;
57 ---C++: inline
58
59 AddSelectionMode (me:mutable; aMode : Integer from Standard);
60
61 RemoveSelectionMode(me:mutable; aMode : Integer from Standard);
62
63 ClearSelectionModes(me:mutable);
64
65 IsSelModeIn(me;aMode:Integer from Standard)
66 returns Boolean from Standard;
67
68 SetHilightMode (me:mutable; aMode : Integer from Standard);
69 ---C++: inline
70 SetHilightColor (me:mutable;aHiCol:NameOfColor from Quantity);
71 ---C++: inline
72 SubIntensityOn (me:mutable);
73 ---C++: inline
74 SubIntensityOff (me:mutable);
75 ---C++: inline
76
77
78 SetPreviousState(me:mutable;aStatus : Transient from Standard);
79 ---C++: inline
80 PreviousState(me) returns any Transient from Standard;
81 ---C++: inline
82 ---C++: return const &
83
84fields
85 myDecomposition : Boolean from Standard;
86 myIsTemporary : Boolean from Standard;
87 myDMode : Integer from Standard;
88 myFirstDisplay : Boolean from Standard;
89 myHMode : Integer from Standard;
90 mySModes : ListOfInteger from TColStd;
91 mySubIntensity : Boolean from Standard;
92 myHiCol : NameOfColor from Quantity;
93
94 myPreviousState : Transient from Standard;
95
96end LocalStatus;