blob: 65c0f810547059713dc8bf5821950986bd8fab78 (
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
|
-- File: V3d_LayerMgr.cdl
-- Created: 17/04/2008
-- Author: Customer Support
--
---Copyright: Open Cascade 2008
--
class LayerMgr from V3d inherits TShared from MMgt
---Purpose: Class to manage layers
uses
ExtendedString from TCollection,
Color from Quantity,
Layer from Visual3d,
ColorScale from Aspect,
ColorScale from V3d,
ColorScaleLayerItem from V3d,
View from V3d,
ViewPointer from V3d
is
---Category: Public
Create (aView : View from V3d)
returns mutable LayerMgr from V3d;
Overlay (me)
returns mutable Layer from Visual3d;
---C++: return const &
---C++: inline
View (me)
returns mutable View from V3d;
---C++: inline
ColorScaleDisplay (me : mutable);
ColorScaleErase (me : mutable);
ColorScaleIsDisplayed (me) returns Boolean from Standard;
ColorScale (me) returns mutable ColorScale from Aspect;
Compute (me : mutable);
---Purpose: Recompute layer with objects
Resized(me : mutable);
---Category: Protected
Begin (me : mutable) returns Boolean from Standard is virtual protected;
---Purpose: Begin layers recomputation
Redraw (me : mutable) is virtual protected;
---Purpose: Perform layers recomputation
End (me : mutable) is virtual protected;
---Purpose: End layers recomputation
fields
myView : ViewPointer from V3d is protected;
myOverlay : Layer from Visual3d is protected;
myColorScale : ColorScale from V3d is protected;
myColorScaleLayerItem: ColorScaleLayerItem from V3d is protected;
end LayerMgr;
|