Salome HOME
NPAL19769: Null rotation do a translation (sometime).
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Algo.cdl
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 -- File:        NMTAlgo_Algo.cdl
21 -- Created:     Tue Jan 27 14:41:04 2004
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24 ---Copyright:    Matra Datavision 2004
25
26
27 deferred class Algo from NMTAlgo 
28
29         ---Purpose: 
30
31 uses 
32     Shape     from TopoDS, 
33     
34     DSFiller  from NMTTools,
35     PDSFiller from NMTTools
36
37 --raises
38
39 is
40     Initialize 
41         returns Algo from NMTAlgo;  
42     ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Algo();" 
43       
44      
45     SetFiller(me:out; 
46             aDSF: DSFiller from NMTTools);
47      
48     Filler(me)
49         returns DSFiller from NMTTools; 
50     ---C++:  return const &     
51      
52     ComputeWithFiller(me:out; 
53         aDSF: DSFiller from NMTTools) 
54         is virtual;  
55          
56     Clear (me:out) 
57         is virtual; 
58         
59     Shape (me) 
60         returns Shape from TopoDS;
61     ---C++:  return const &                               
62      
63     IsDone(me) 
64         returns Boolean from Standard; 
65      
66     ErrorStatus (me) 
67         returns Integer from Standard; 
68
69 fields 
70     myDSFiller       : PDSFiller from NMTTools          is protected; 
71     myShape          : Shape   from TopoDS              is protected;
72     -- 
73     myIsDone         : Boolean from Standard            is protected; 
74     myIsComputed     : Boolean from Standard            is protected; 
75     myErrorStatus    : Integer from Standard            is protected;    
76     myDraw           : Integer from Standard            is protected;  
77     
78 end Algo;