1 -- Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 -- File: GEOMAlgo_BuilderShape.cdl
22 -- Author: Peter KURNEV
26 deferred class BuilderShape from GEOMAlgo
27 inherits Algo from GEOMAlgo
29 ---Purpose: Root class for algorithms that has shape as result
33 ListOfShape from TopTools,
34 MapOfShape from TopTools,
35 IndexedDataMapOfShapeListOfShape from TopTools
41 ---Purpose: Empty constructor
42 returns BuilderShape from GEOMAlgo;
43 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_BuilderShape();"
46 ---Purpose: Returns the result of algorithm
47 returns Shape from TopoDS;
48 ---C++: return const &
51 ------------------------------------------------------------------
52 --- The following methods are not implemented at this level.
53 -- An empty list is returned.
54 --- They are optional and can be redefined.
55 ------------------------------------------------------------------
57 theS : Shape from TopoDS)
58 ---Purpose: Returns the list of shapes generated from the
60 returns ListOfShape from TopTools
62 ---C++: return const &
65 theS : Shape from TopoDS)
66 ---Purpose: Returns the list of shapes modified from the
68 returns ListOfShape from TopTools
70 ---C++: return const &
73 theS : Shape from TopoDS)
74 ---Purpose: Returns true if the shape theS has been deleted.
75 returns Boolean from Standard
79 ---Purpose: Returns true if the at least one shape(or subshape)
80 -- of arguments has been deleted.
81 returns Boolean from Standard;
84 ---Purpose: Returns true if the at least one shape(or subshape)
85 -- of arguments has generated shapes.
86 returns Boolean from Standard;
89 ---Purpose: Returns true if the at least one shape(or subshape)
90 -- of arguments has modified shapes.
91 returns Boolean from Standard;
93 PrepareHistory (me:out)
94 ---Purpose: Prepare information for history support
97 --modified by NIZNHY-PKV Thu Dec 7 11:13:17 2006f
99 returns IndexedDataMapOfShapeListOfShape from TopTools;
100 ---C++: return const &
101 --modified by NIZNHY-PKV Thu Dec 7 11:13:20 2006t
103 myShape : Shape from TopoDS is protected;
105 myHistShapes : ListOfShape from TopTools is protected;
106 myMapShape : MapOfShape from TopTools is protected;
107 myHasDeleted : Boolean from Standard is protected;
108 myHasGenerated : Boolean from Standard is protected;
109 myHasModified : Boolean from Standard is protected;
110 --modified by NIZNHY-PKV Thu Dec 7 11:13:10 2006f
111 myImagesResult : IndexedDataMapOfShapeListOfShape from TopTools is protected;
112 --modified by NIZNHY-PKV Thu Dec 7 11:13:13 2006t