b311480e |
1 | -- Created on: 1992-08-27 |
2 | -- Created by: Christophe MARION |
3 | -- Copyright (c) 1992-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 | |
17 | class DrawableEdgeTool from HLRTest inherits Drawable3D from Draw |
18 | |
ff8178ef |
19 | ---Purpose: Used to display the results. |
7fd59977 |
20 | |
21 | uses |
22 | Boolean from Standard, |
23 | Integer from Standard, |
24 | Display from Draw, |
25 | Algo from HLRBRep, |
26 | Data from HLRBRep, |
27 | EdgeData from HLRBRep |
28 | |
29 | is |
30 | Create(Alg : Algo from HLRBRep; |
31 | Visible : Boolean from Standard; |
32 | IsoLine : Boolean from Standard; |
33 | Rg1Line : Boolean from Standard; |
34 | RgNLine : Boolean from Standard; |
35 | ViewId : Integer from Standard) |
6e33d3ce |
36 | returns DrawableEdgeTool from HLRTest; |
7fd59977 |
37 | |
38 | DrawOn(me; D : in out Display from Draw); |
39 | |
40 | InternalDraw(me; D :in out Display from Draw; |
41 | typ : Integer from Standard) |
42 | is static private; |
43 | |
44 | DrawFace(me; D : in out Display from Draw; |
45 | typ : Integer from Standard; |
46 | nCB : Integer from Standard; |
47 | iface : Integer from Standard; |
48 | e2,iCB : in out Integer from Standard; |
49 | DS : in out Data from HLRBRep) |
50 | is static private; |
51 | |
52 | DrawEdge(me; D : in out Display from Draw; |
53 | inFace : Boolean from Standard; |
54 | typ : Integer from Standard; |
55 | nCB : Integer from Standard; |
56 | ie : Integer from Standard; |
57 | e2,iCB : in out Integer from Standard; |
58 | ed : in out EdgeData from HLRBRep) |
59 | is static private; |
60 | |
61 | fields |
62 | myAlgo : Algo from HLRBRep; |
63 | myVisible : Boolean from Standard; |
64 | myIsoLine : Boolean from Standard; |
65 | myRg1Line : Boolean from Standard; |
66 | myRgNLine : Boolean from Standard; |
67 | myViewId : Integer from Standard; |
68 | |
69 | end DrawableEdgeTool; |