0024624: Lost word in license statement in source files
[occt.git] / src / Draw / Draw_Drawable3D.cdl
CommitLineData
b311480e 1-- Created on: 1991-04-24
2-- Created by: Arnaud BOUZY
3-- Copyright (c) 1991-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17deferred class Drawable3D from Draw inherits TShared from MMgt
18
19 ---Purpose:
20
21uses Color from Draw,
22 Display from Draw,
23 Interpretor from Draw,
24 OStream
25
26is
27
28 Initialize;
29
30 DrawOn(me; dis : in out Display)
31 is deferred;
32
33 PickReject(me; X,Y,Prec : Real) returns Boolean
34 ---Purpose: Returs True if the pick is outside the box
35 is virtual;
36
37 Copy(me) returns mutable Drawable3D from Draw
38 is virtual;
39 ---Purpose: For variable copy.
40
41 Dump(me; S : in out OStream)
42 is virtual;
43 ---Purpose: For variable dump.
44
45 Whatis(me; I : in out Interpretor from Draw)
46 is virtual;
47 ---Purpose: For variable whatis command. Set as a result the
48 -- type of the variable.
49
50 Is3D(me) returns Boolean
51 is virtual;
52 ---Purpose: Is a 3D object. (Default True).
53
54 SetBounds(me : mutable; xmin,xmax,ymin,ymax : Real)
55 is static;
56
57 Bounds(me; xmin,xmax,ymin,ymax : out Real)
58 is static;
59
60 Visible(me) returns Boolean;
61 ---C++: inline
62
63 Visible(me : mutable; V : Boolean);
64 ---C++: inline
65
66 Protected(me) returns Boolean;
67 ---C++: inline
68
69 Protected(me : mutable; P : Boolean);
70 ---C++: inline
71
72 Name(me) returns CString;
73 ---C++: inline
74
75 Name(me : mutable; N : CString)
76 is virtual;
77 ---C++: inline
78
79
80fields
81
82 myXmin : Real;
83 myXmax : Real;
84 myYmin : Real;
85 myYmax : Real;
86
87 isVisible : Boolean;
88 isProtected : Boolean;
89 myName : CString;
90
91end Drawable3D;