Salome HOME
Fix regression: storeViewParameters() does not work for OCC view
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo.cdl
1 --  Copyright (C) 2007-2010  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:        GEOMAlgo.cdl
23 -- Created:     Sat Dec 04 12:36:22 2004
24 -- Author:      Peter KURNEV
25 --              <peter@PREFEX>
26
27 package GEOMAlgo 
28
29         ---Purpose: 
30
31 uses  
32     TCollection, 
33     
34     TColgp, 
35     Geom,     
36     Bnd, 
37     gp,   
38     GeomAdaptor,
39     TopAbs,
40     TopoDS, 
41     TopTools, 
42     IntTools, 
43     BOPTools, 
44     BOP, 
45     
46     TColStd, 
47     BOPTColStd,  
48     BRepAlgo, 
49     NMTDS, 
50     NMTTools 
51     
52 is   
53     --
54     -- enumerations 
55     --
56     enumeration State is 
57         ST_UNKNOWN, 
58         ST_IN,
59         ST_OUT,
60         ST_ON, 
61         ST_ONIN, 
62         ST_ONOUT, 
63         ST_INOUT    
64     end State; 
65     --
66     enumeration KindOfShape is 
67         KS_UNKNOWN, 
68         KS_SPHERE,
69         KS_CYLINDER,
70         KS_BOX,
71         KS_TORUS,
72         KS_CONE,
73         KS_ELLIPSE,
74         KS_PLANE,
75         KS_CIRCLE, 
76         KS_LINE, 
77         KS_DEGENERATED 
78     end KindOfShape;   
79     --  
80     enumeration KindOfName is 
81         KN_UNKNOWN, 
82         KN_SPHERE,
83         KN_CYLINDER,
84         KN_TORUS,
85         KN_CONE,
86         KN_ELLIPSE, 
87         KN_CIRCLE,
88         KN_PLANE,
89         KN_LINE, 
90         KN_BOX, 
91         KN_SEGMENT, 
92         KN_ARCCIRCLE, 
93         KN_POLYGON, 
94         KN_POLYHEDRON,
95         KN_DISKCIRCLE, 
96         KN_DISKELLIPSE, 
97         KN_RECTANGLE, 
98         KN_TRIANGLE, 
99         KN_QUADRANGLE, 
100         KN_ARCELLIPSE            
101     end KindOfName;   
102     --
103     enumeration KindOfBounds is  
104         KB_UNKNOWN, 
105         KB_TRIMMED, 
106         KB_INFINITE
107     end KindOfBounds;  
108     --
109     enumeration KindOfClosed is  
110         KC_UNKNOWN, 
111         KC_CLOSED, 
112         KC_NOTCLOSED
113     end KindOfClosed;  
114     --
115     deferred class HAlgo;
116     deferred class Clsf;
117     class ClsfSurf; 
118     class ClsfBox; 
119     --class FinderShapeOn2; 
120     class PassKeyShapeMapHasher; 
121     -- 
122     --  classes 
123     --  
124     deferred class Algo;  
125     deferred class ShapeAlgo;  
126     -- 
127     class ShapeInfo;
128     class ShapeInfoFiller;
129     -- 
130     --  gluer                
131     class Gluer; 
132     class Gluer1;  
133     class GlueAnalyser;  
134     
135     class CoupleOfShapes; 
136     class PassKey;  
137     class PassKeyMapHasher; 
138     class PassKeyShape;  
139     
140     class SurfaceTools; 
141     class Tools;  
142     --       
143     --  finder on 
144     deferred class ShapeSolid;
145     class WireSolid; 
146     class ShellSolid; 
147     class VertexSolid; 
148     class SolidSolid; 
149     --class FinderShapeOn; 
150     -- 
151     --class FinderShapeOn1;
152     class StateCollector; 
153
154     class ClsfSolid;  
155 --    class FinderShapeOn2; 
156 --    class PassKeyShapeMapHasher;
157     --
158     -- Builder/Splitter 
159     deferred class BuilderShape; 
160      
161     class Builder; 
162     class Splitter; 
163     class Tools3D; 
164     class BuilderTools; 
165     class ShapeSet;  
166      
167     deferred class BuilderArea;
168     class BuilderFace; 
169     class BuilderSolid;  
170     
171     class WireSplitter; 
172     class WireEdgeSet; 
173     class WESCorrector; 
174     class WESScaler; 
175     -- 
176     --  Pointers
177     --     
178     pointer PWireEdgeSet to WireEdgeSet from GEOMAlgo;  
179     --     
180     -- 
181     --  Instantiations  
182     class DataMapOfShapeShapeSet instantiates 
183         DataMap from TCollection(Shape from TopoDS, 
184                                  ShapeSet from GEOMAlgo, 
185                                  ShapeMapHasher from TopTools); 
186          
187     class DataMapOfShapeReal instantiates 
188         DataMap from TCollection(Shape from TopoDS, 
189                                  Real from Standard, 
190                                  ShapeMapHasher from TopTools);          
191                                   
192     
193     class DataMapOfRealListOfShape instantiates  
194         DataMap from TCollection(Real from Standard, 
195                                  ListOfShape from TopTools,  
196                                  MapRealHasher from TColStd);      
197     --
198     --  instantiations
199     
200      
201     class IndexedDataMapOfShapeBox  
202         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
203                                                          Box from Bnd,
204                                                          ShapeMapHasher from TopTools);
205     class IndexedDataMapOfIntegerShape  
206         instantiates IndexedDataMap from TCollection    (Integer from Standard,
207                                                          Shape from TopoDS,
208                                                          MapIntegerHasher from TColStd); 
209                                                           
210     class ListOfCoupleOfShapes  
211         instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
212
213
214     class IndexedDataMapOfShapeState
215         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
216                                                          State from TopAbs,  
217                                                          ShapeMapHasher from TopTools);
218     class ListOfPnt
219         instantiates List from TCollection  (Pnt from gp);
220
221     class DataMapOfPassKeyInteger
222         instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
223                                                Integer from Standard, 
224                                                PassKeyMapHasher from GEOMAlgo); 
225      
226     class IndexedDataMapOfPassKeyShapeListOfShape
227         instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
228                                                       ListOfShape from TopTools, 
229                                                       PassKeyShapeMapHasher from GEOMAlgo); 
230
231     class IndexedDataMapOfShapeShapeInfo
232         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
233                                                          ShapeInfo from GEOMAlgo,
234                                                          ShapeMapHasher from TopTools);
235
236     class DataMapOfPassKeyShapeShape   
237         instantiates DataMap from TCollection (PassKeyShape from GEOMAlgo, 
238                                                Shape from TopoDS, 
239                                                PassKeyShapeMapHasher from GEOMAlgo); 
240
241     class DataMapOfOrientedShapeShape instantiates
242         DataMap from TCollection (Shape                  from TopoDS,
243                                   Shape                  from TopoDS,
244                                   OrientedShapeMapHasher from TopTools);
245     
246 end GEOMAlgo;