Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Builder.cdl
1 -- File:        NMTAlgo_Builder.cdl
2 -- Created:     Tue Jan 27 15:09:45 2004
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2004
6
7
8 class Builder from NMTAlgo  
9     inherits Algo from NMTAlgo 
10
11         ---Purpose: 
12
13 uses  
14     Shape from TopoDS, 
15     Face  from TopoDS,
16     Edge  from TopoDS,
17     IndexedMapOfShape                from TopTools, 
18     IndexedDataMapOfShapeListOfShape from TopTools,  
19     IndexedDataMapOfShapeShape       from TopTools,
20     Image from BRepAlgo,
21     DSFiller from NMTTools
22 --raises
23
24 is 
25     Create 
26         returns Builder from NMTAlgo;  
27     ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Builder();" 
28
29     Clear (me:out) 
30         is redefined;             
31      
32     ComputeWithFiller(me:out; 
33         aDSF: DSFiller from NMTTools) 
34         is redefined;  
35      
36     FillImagesEdges (me:out) 
37         is protected; 
38          
39     FillIn2DParts (me:out) 
40         is protected; 
41          
42     FillImagesFaces (me:out) 
43         is protected;  
44          
45     FillSDFaces  (me:out) 
46         is protected; 
47         
48     ---  Queries 
49     SplitVertices  (me:out) 
50         is protected;   
51
52     IsSectionEdge (me;  
53             E : Edge from TopoDS) 
54         returns Boolean from Standard 
55         is protected;     
56          
57     HasSameDomainF(me;  
58             F : Face from TopoDS)
59         returns Boolean from Standard 
60         is protected;
61     
62     IsSameDomainF(me;  
63             F1 : Face from TopoDS;
64             F2 : Face from TopoDS)
65         returns Boolean from Standard 
66         is protected;
67
68 fields 
69
70     myImagesEdges       : Image from BRepAlgo is protected; 
71     myImagesFaces       : Image from BRepAlgo is protected; 
72     
73     myQueryShapes       : IndexedMapOfShape                from TopTools is protected;
74     -- 
75     myIn2DParts         : IndexedDataMapOfShapeListOfShape from TopTools is protected;         
76     mySectionParts      : IndexedDataMapOfShapeListOfShape from TopTools is protected; 
77     mySDFaces           : IndexedDataMapOfShapeShape       from TopTools is protected;
78     --       
79 end Builder;