Salome HOME
Fix regression: storeViewParameters() does not work for OCC view
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo.cdl
index 40a2084be215d537f06bf0547d1d6a24fd52c5d0..3d5fadbb9a30ad206f593fc41a8b700c2fef5bb8 100755 (executable)
@@ -1,28 +1,28 @@
-// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-// 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
+--  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+--
+--  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+--  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+--
+--  This library is free software; you can redistribute it and/or
+--  modify it under the terms of the GNU Lesser General Public
+--  License as published by the Free Software Foundation; either
+--  version 2.1 of the License.
+--
+--  This library is distributed in the hope that it will be useful,
+--  but WITHOUT ANY WARRANTY; without even the implied warranty of
+--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+--  Lesser General Public License for more details.
+--
+--  You should have received a copy of the GNU Lesser General Public
+--  License along with this library; if not, write to the Free Software
+--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+--
+--  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+--
 -- File:       GEOMAlgo.cdl
 -- Created:    Sat Dec 04 12:36:22 2004
 -- Author:     Peter KURNEV
 --             <peter@PREFEX>
----Copyright:   Matra Datavision 2004
-
 
 package GEOMAlgo 
 
@@ -30,7 +30,8 @@ package GEOMAlgo
 
 uses  
     TCollection, 
-    TColStd, 
+    
+    TColgp, 
     Geom,     
     Bnd, 
     gp,          
@@ -40,10 +41,17 @@ uses
     TopTools, 
     IntTools, 
     BOPTools, 
-    BOP     
+    BOP, 
+    
+    TColStd, 
+    BOPTColStd,  
+    BRepAlgo, 
+    NMTDS, 
+    NMTTools 
     
 is   
-    --  enumerations 
+    --
+    -- enumerations 
     --
     enumeration State is 
        ST_UNKNOWN, 
@@ -53,23 +61,84 @@ is
        ST_ONIN, 
        ST_ONOUT, 
        ST_INOUT    
-    end State;
+    end State; 
+    --
+    enumeration KindOfShape is 
+       KS_UNKNOWN, 
+       KS_SPHERE,
+       KS_CYLINDER,
+       KS_BOX,
+       KS_TORUS,
+       KS_CONE,
+       KS_ELLIPSE,
+       KS_PLANE,
+       KS_CIRCLE, 
+       KS_LINE, 
+       KS_DEGENERATED 
+    end KindOfShape;   
+    --  
+    enumeration KindOfName is 
+       KN_UNKNOWN, 
+       KN_SPHERE,
+       KN_CYLINDER,
+       KN_TORUS,
+       KN_CONE,
+       KN_ELLIPSE, 
+       KN_CIRCLE,
+       KN_PLANE,
+       KN_LINE, 
+       KN_BOX, 
+       KN_SEGMENT, 
+       KN_ARCCIRCLE, 
+        KN_POLYGON, 
+       KN_POLYHEDRON,
+       KN_DISKCIRCLE, 
+       KN_DISKELLIPSE, 
+       KN_RECTANGLE, 
+       KN_TRIANGLE, 
+       KN_QUADRANGLE, 
+       KN_ARCELLIPSE            
+    end KindOfName;   
+    --
+    enumeration KindOfBounds is  
+       KB_UNKNOWN, 
+       KB_TRIMMED, 
+       KB_INFINITE
+    end KindOfBounds;  
+    --
+    enumeration KindOfClosed is  
+       KC_UNKNOWN, 
+       KC_CLOSED, 
+       KC_NOTCLOSED
+    end KindOfClosed;  
+    --
+    deferred class HAlgo;
+    deferred class Clsf;
+    class ClsfSurf; 
+    class ClsfBox; 
+    --class FinderShapeOn2; 
+    class PassKeyShapeMapHasher; 
     -- 
     --  classes 
+    --  
+    deferred class Algo;  
+    deferred class ShapeAlgo;  
     -- 
-    deferred class Algo;
-    deferred class ShapeAlgo; 
+    class ShapeInfo;
+    class ShapeInfoFiller;
     -- 
     --  gluer               
     class Gluer; 
-    class GlueAnalyser; 
+    class Gluer1;  
+    class GlueAnalyser;  
+    
     class CoupleOfShapes; 
     class PassKey;  
     class PassKeyMapHasher; 
     class PassKeyShape;  
+    
     class SurfaceTools; 
     class Tools;  
-    
     --      
     --  finder on 
     deferred class ShapeSolid;
@@ -77,16 +146,57 @@ is
     class ShellSolid; 
     class VertexSolid; 
     class SolidSolid; 
-    class FinderShapeOn; 
+    --class FinderShapeOn; 
     -- 
-    class FinderShapeOn1;
-    class StateCollector;
+    --class FinderShapeOn1;
+    class StateCollector; 
+
+    class ClsfSolid;  
+--    class FinderShapeOn2; 
+--    class PassKeyShapeMapHasher;
+    --
+    -- Builder/Splitter 
+    deferred class BuilderShape; 
+     
+    class Builder; 
+    class Splitter; 
+    class Tools3D; 
+    class BuilderTools; 
+    class ShapeSet;  
+     
+    deferred class BuilderArea;
+    class BuilderFace; 
+    class BuilderSolid;  
+    
+    class WireSplitter; 
+    class WireEdgeSet; 
+    class WESCorrector; 
+    class WESScaler; 
+    -- 
+    --  Pointers
+    --     
+    pointer PWireEdgeSet to WireEdgeSet from GEOMAlgo;  
+    --    
+    -- 
+    --  Instantiations 
+    class DataMapOfShapeShapeSet instantiates 
+       DataMap from TCollection(Shape from TopoDS, 
+                                ShapeSet from GEOMAlgo, 
+                                ShapeMapHasher from TopTools); 
+        
+    class DataMapOfShapeReal instantiates 
+       DataMap from TCollection(Shape from TopoDS, 
+                                Real from Standard, 
+                                ShapeMapHasher from TopTools);          
+                                 
+    
+    class DataMapOfRealListOfShape instantiates  
+       DataMap from TCollection(Real from Standard, 
+                                ListOfShape from TopTools,  
+                                MapRealHasher from TColStd);      
     --
     --  instantiations
-    class IndexedDataMapOfPassKeyShapeListOfShape   
-       instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
-                                                     ListOfShape from TopTools, 
-                                                      PassKeyMapHasher from GEOMAlgo); 
+    
      
     class IndexedDataMapOfShapeBox  
        instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
@@ -101,24 +211,36 @@ is
        instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
 
 
-    class IndexedDataMapOfShapeState  
+    class IndexedDataMapOfShapeState
        instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
                                                         State from TopAbs,  
                                                         ShapeMapHasher from TopTools);
---
-    class ListOfPnt  
+    class ListOfPnt
        instantiates List from TCollection  (Pnt from gp);
 
---    class IndexedDataMapOfPassKeyInteger   
---     instantiates IndexedDataMap from TCollection (PassKeyRoot from GEOMAlgo, 
---                                                   Integer from Standard, 
---                                                      PassKeyMapHasher from GEOMAlgo); 
-                                                      
-
-    class DataMapOfPassKeyInteger   
+    class DataMapOfPassKeyInteger
        instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
                                               Integer from Standard, 
-                                               PassKeyMapHasher from GEOMAlgo);
+                                               PassKeyMapHasher from GEOMAlgo); 
+     
+    class IndexedDataMapOfPassKeyShapeListOfShape
+       instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
+                                                     ListOfShape from TopTools, 
+                                                      PassKeyShapeMapHasher from GEOMAlgo); 
 
+    class IndexedDataMapOfShapeShapeInfo
+       instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
+                                                        ShapeInfo from GEOMAlgo,
+                                                        ShapeMapHasher from TopTools);
 
+    class DataMapOfPassKeyShapeShape   
+       instantiates DataMap from TCollection (PassKeyShape from GEOMAlgo, 
+                                              Shape from TopoDS, 
+                                              PassKeyShapeMapHasher from GEOMAlgo); 
+
+    class DataMapOfOrientedShapeShape instantiates
+        DataMap from TCollection (Shape                  from TopoDS,
+                                  Shape                  from TopoDS,
+                                  OrientedShapeMapHasher from TopTools);
+    
 end GEOMAlgo;