7fd59977 |
1 | -- File: HLRTopoBRep_OutLiner.cdl |
2 | -- Created: Wed Aug 3 16:06:05 1994 |
3 | -- Author: Christophe MARION |
4 | -- <cma@ecolox> |
5 | ---Copyright: Matra Datavision 1994 |
6 | |
7 | class OutLiner from HLRTopoBRep inherits TShared from MMgt |
8 | |
9 | uses |
10 | Integer from Standard, |
11 | Shape from TopoDS, |
12 | Face from TopoDS, |
13 | Projector from HLRAlgo, |
14 | Data from HLRTopoBRep, |
15 | MapOfShapeTool from BRepTopAdaptor |
16 | is |
17 | Create |
18 | returns mutable OutLiner from HLRTopoBRep; |
19 | |
20 | Create (OriSh : Shape from TopoDS) |
21 | returns mutable OutLiner from HLRTopoBRep; |
22 | |
23 | Create (OriS : Shape from TopoDS; |
24 | OutS : Shape from TopoDS) |
25 | returns mutable OutLiner from HLRTopoBRep; |
26 | |
27 | OriginalShape(me : mutable; OriS : Shape from TopoDS) |
28 | ---C++: inline |
29 | is static; |
30 | |
31 | OriginalShape(me : mutable) returns Shape from TopoDS |
32 | ---C++: inline |
33 | ---C++: return & |
34 | is static; |
35 | |
36 | OutLinedShape(me : mutable; OutS : Shape from TopoDS) |
37 | ---C++: inline |
38 | is static; |
39 | |
40 | OutLinedShape(me : mutable) returns Shape from TopoDS |
41 | ---C++: inline |
42 | ---C++: return & |
43 | is static; |
44 | |
45 | DataStructure(me : mutable) returns Data from HLRTopoBRep |
46 | ---C++: inline |
47 | ---C++: return & |
48 | is static; |
49 | |
50 | Fill(me : mutable; |
51 | P : Projector from HLRAlgo; |
52 | MST :in out MapOfShapeTool from BRepTopAdaptor; |
53 | nbIso : Integer from Standard) |
54 | is static; |
55 | |
56 | ProcessFace(me : mutable; F : Face from TopoDS; |
57 | S : in out Shape from TopoDS; |
58 | M : in out MapOfShapeTool from BRepTopAdaptor) |
59 | ---Purpose: Builds faces from F and add them to S. |
60 | is static private; |
61 | |
62 | BuildShape(me : mutable; M : in out MapOfShapeTool from BRepTopAdaptor) |
63 | is static private; |
64 | |
65 | fields |
66 | myOriginalShape : Shape from TopoDS; |
67 | myOutLinedShape : Shape from TopoDS; |
68 | myDS : Data from HLRTopoBRep; |
69 | |
70 | end OutLiner; |