Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTTools / NMTTools_DSFiller.cdl
1 -- File:        NMTTools_DSFiller.cdl
2 -- Created:     Fri Dec  5 13:57:03 2003
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2003
6
7
8 class DSFiller from NMTTools 
9
10         ---Purpose: 
11
12 uses
13     Shape from TopoDS,  
14     InterferencePool     from BOPTools, 
15     PInterferencePool    from BOPTools,
16     ShapesDataStructure  from NMTDS, 
17     PShapesDataStructure from NMTDS,
18     PPaveFiller          from NMTTools, 
19     PaveFiller           from NMTTools
20 --raises
21
22 is  
23     Create  
24         returns DSFiller from NMTTools; 
25          
26     Destroy (me:out);
27     ---C++: alias ~
28     ---Purpose: Destructor 
29     -- 
30     --  Selectors/Modifiers   
31     SetCompositeShape (me:out;  
32             aS:  Shape from TopoDS);  
33      
34     CompositeShape(me) 
35         returns  Shape from TopoDS; 
36         ---C++:  return  const& 
37      
38     SetNewFiller(me;  
39             aFlag:Boolean from  Standard); 
40      
41     IsNewFiller(me) 
42         returns Boolean from  Standard;  
43     --   
44     --  Perform the algo      
45     Perform (me:out);   
46     --
47     --  Protected section 
48     Clear   (me:out) 
49         is protected;  
50     --
51     -- Query section 
52     DS  (me) 
53         returns  ShapesDataStructure from NMTDS; 
54         ---C++:  return const &    
55          
56     InterfPool (me) 
57         returns  InterferencePool from BOPTools;
58     ---C++:  return const & 
59          
60     IsDone(me) 
61         returns  Boolean  from  Standard; 
62       
63     PaveFiller(me) 
64         returns PaveFiller from NMTTools; 
65     ---C++:  return const &
66
67     ChangePaveFiller (me:out) 
68         returns PaveFiller from NMTTools; 
69     ---C++:  return &
70
71 fields
72     myCompositeShape  :  Shape from TopoDS is protected;
73     myDS              :  PShapesDataStructure from NMTDS is protected; 
74     myInterfPool      :  PInterferencePool    from BOPTools is protected;  
75     myPaveFiller      :  PPaveFiller from NMTTools is protected;   
76
77     myIsDone          :  Boolean from  Standard is protected; 
78     myIsNewFiller     :  Boolean from  Standard is protected;  
79
80 end DSFiller;