Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Algo.cdl
1 --  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 --
6 --  This library is free software; you can redistribute it and/or
7 --  modify it under the terms of the GNU Lesser General Public
8 --  License as published by the Free Software Foundation; either
9 --  version 2.1 of the License.
10 --
11 --  This library is distributed in the hope that it will be useful,
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 --  Lesser General Public License for more details.
15 --
16 --  You should have received a copy of the GNU Lesser General Public
17 --  License along with this library; if not, write to the Free Software
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 --
20 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22 --  File:       NMTAlgo_Algo.cdl
23 --  Created:    Tue Jan 27 14:41:04 2004
24 --  Author:     Peter KURNEV
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;