blob: cde9f1ae55d0774f2e599b243d3f20a6bfe9404c (
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
|
-- File: Drawable3D.cdl
-- Created: Wed Apr 24 14:19:59 1991
-- Author: Arnaud BOUZY
-- <adn@topsn2>
---Copyright: Matra Datavision 1991
deferred class Drawable3D from Draw inherits TShared from MMgt
---Purpose:
uses Color from Draw,
Display from Draw,
Interpretor from Draw,
OStream
is
Initialize;
DrawOn(me; dis : in out Display)
is deferred;
PickReject(me; X,Y,Prec : Real) returns Boolean
---Purpose: Returs True if the pick is outside the box
is virtual;
Copy(me) returns mutable Drawable3D from Draw
is virtual;
---Purpose: For variable copy.
Dump(me; S : in out OStream)
is virtual;
---Purpose: For variable dump.
Whatis(me; I : in out Interpretor from Draw)
is virtual;
---Purpose: For variable whatis command. Set as a result the
-- type of the variable.
Is3D(me) returns Boolean
is virtual;
---Purpose: Is a 3D object. (Default True).
SetBounds(me : mutable; xmin,xmax,ymin,ymax : Real)
is static;
Bounds(me; xmin,xmax,ymin,ymax : out Real)
is static;
Visible(me) returns Boolean;
---C++: inline
Visible(me : mutable; V : Boolean);
---C++: inline
Protected(me) returns Boolean;
---C++: inline
Protected(me : mutable; P : Boolean);
---C++: inline
Name(me) returns CString;
---C++: inline
Name(me : mutable; N : CString)
is virtual;
---C++: inline
fields
myXmin : Real;
myXmax : Real;
myYmin : Real;
myYmax : Real;
isVisible : Boolean;
isProtected : Boolean;
myName : CString;
end Drawable3D;
|