Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BOPTest / BOPTest_DrawableShape.cdl
... / ...
CommitLineData
1-- File: BOPTest_DrawableShape.cdl
2-- Created: Thu May 25 14:55:46 2000
3-- Author: Peter KURNEV
4-- <pkv@irinox>
5---Copyright: Matra Datavision 2000
6
7
8class DrawableShape from BOPTest inherits DrawableShape from DBRep
9
10 ---Purpose:
11
12uses
13
14 Shape from TopoDS,
15 Color from Draw,
16 Display from Draw,
17 Text3D from Draw,
18 Marker3D from Draw,
19 CString from Standard,
20 Pnt from gp
21
22is
23
24 Create (S : Shape from TopoDS;
25 FreeCol : Color from Draw; -- color for free edges
26 ConnCol : Color from Draw; -- color for shared edges
27 EdgeCol : Color from Draw; -- color for other edges
28 IsosCol : Color from Draw; -- color for Isos
29 size : Real; -- size for infinite isos
30 nbisos : Integer; -- # of isos on each face
31 discret : Integer; -- # of points on curves
32 Text : CString from Standard;
33 TextColor : Color from Draw
34 )
35 returns mutable DrawableShape from BOPTest;
36
37 Create (S : Shape from TopoDS;
38 Text : CString from Standard;
39 TextColor : Color from Draw
40 )
41 returns mutable DrawableShape from BOPTest;
42
43 Pnt(me) returns Pnt from gp is private;
44
45 DrawOn(me; dis : in out Display from Draw)
46 is redefined;
47
48fields
49
50 myText : Text3D from Draw;
51 myTextColor : Color from Draw;
52
53end DrawableShape;