blob: c61e90a27acb49b5faef44405211d7dcd65f173f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
-- File : AIS2D_LocalStatus.cdl
-- Created : February 2000
-- Author : Tanya COOL
---Copyright: Matra Datavision 2000
private class LocalStatus from AIS2D inherits TShared from MMgt
---Purpose: Stored Info about temporary objects.
uses
ListOfInteger from TColStd,
NameOfColor from Quantity,
PToListOfInt from AIS2D,
TypeOfDetection from AIS2D
is
Create( isTemporary : Boolean from Standard = Standard_True;
Decompose : Boolean from Standard = Standard_False;
DMode : Integer from Standard = -1;
SMode : Integer from Standard = -1;
HMode : TypeOfDetection from AIS2D = AIS2D_TOD_PRIMITIVE;
SubIntensity : Boolean from Standard = 0;
HighlCol : NameOfColor from Quantity = Quantity_NOC_WHITE )
returns mutable LocalStatus from AIS2D;
---Purpose: Initializes the default Local Status
Decomposed( me ) returns Boolean from Standard;
---C++: inline
---Level: Internal
---Purpose:
IsTemporary( me ) returns Boolean from Standard;
---C++: inline
---Level: Internal
---Purpose:
DisplayMode( me ) returns Integer from Standard;
---C++: inline
---Level: Internal
---Purpose:
SelectionModes( me: mutable ) returns PToListOfInt from AIS2D;
---C++: inline
---Level: Internal
---Purpose:
IsActivated( me; aSelMode: Integer from Standard ) returns Boolean from Standard;
---Level: Internal
---Purpose:
HighlightMode( me ) returns TypeOfDetection from AIS2D;
---C++: inline
---Level: Internal
---Purpose:
IsSubIntensityOn( me ) returns Boolean from Standard;
---C++: inline
---Level: Internal
---Purpose:
HighlightColor( me ) returns NameOfColor from Quantity;
---C++: inline
---Level: Internal
---Purpose:
IsFirstDisplay( me ) returns Boolean from Standard;
---C++: inline
---Level: Internal
---Purpose:
SetDecomposition( me:mutable; aStatus: Boolean from Standard);
---C++: inline
---Level: Internal
---Purpose:
SetTemporary( me:mutable; aStatus: Boolean from Standard);
---C++: inline
---Level: Internal
---Purpose:
SetDisplayMode( me:mutable; aMode: Integer from Standard);
---C++: inline
---Level: Internal
---Purpose:
SetFirstDisplay( me:mutable; aStatus: Boolean from Standard) ;
---C++: inline
---Level: Internal
---Purpose:
AddSelectionMode( me:mutable; aMode: Integer from Standard );
---Level: Internal
---Purpose:
RemoveSelectionMode( me:mutable; aMode: Integer from Standard );
---Level: Internal
---Purpose:
ClearSelectionModes( me:mutable );
---Level: Internal
---Purpose:
IsSelModeIn( me; aMode: Integer from Standard ) returns Boolean from Standard;
---Level: Internal
---Purpose:
SetHighlightMode( me: mutable; aMode: TypeOfDetection from AIS2D );
---C++: inline
---Level: Internal
---Purpose:
SetHighlightColor( me: mutable; aHiCol: NameOfColor from Quantity );
---C++: inline
---Level: Internal
---Purpose:
SubIntensityOn( me:mutable );
---C++: inline
---Level: Internal
---Purpose:
SubIntensityOff( me:mutable );
---Level: Internal
---Purpose:
SetPreviousState( me:mutable; aStatus: Transient from Standard );
---Level: Internal
---Purpose:
PreviousState( me ) returns any Transient from Standard;
---C++: inline
---Level: Internal
---Purpose:
fields
myDecomposition : Boolean from Standard;
myIsTemporary : Boolean from Standard;
myDMode : Integer from Standard;
myFirstDisplay : Boolean from Standard;
myHMode : TypeOfDetection from AIS2D;
mySModes : ListOfInteger from TColStd;
mySubIntensity : Boolean from Standard;
myHighlCol : NameOfColor from Quantity;
myPrevState : Transient from Standard;
end LocalStatus;
|