Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMESH_I / SMESH_topo.hxx
1 //=============================================================================
2 // File      : SMESH_topo.hxx
3 // Created   : lun mai 13 15:17:20 CEST 2002
4 // Author    : Paul RASCLE, EDF
5 // Project   : SALOME
6 // Copyright : EDF 2002
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SMESH_TOPO_HXX_
11 #define _SMESH_TOPO_HXX_
12
13 #include <SALOMEconfig.h>
14 #include CORBA_CLIENT_HEADER(GEOM_Shape)
15
16 #include <TopExp.hxx>
17 #include <TopExp_Explorer.hxx>
18 #include <TopoDS.hxx>
19 #include <TopoDS_Iterator.hxx>
20 #include <TopoDS_Compound.hxx>
21 #include <TopoDS_CompSolid.hxx>
22 #include <TopoDS_Solid.hxx>
23 #include <TopoDS_Shell.hxx>
24 #include <TopoDS_Face.hxx>
25 #include <TopoDS_Wire.hxx>
26 #include <TopoDS_Edge.hxx>
27 #include <TopoDS_Vertex.hxx>
28 #include <TopoDS_Shape.hxx>
29 #include <TopTools_IndexedMapOfShape.hxx>
30
31 #include <string>
32 #include <map>
33
34 static const char* const SMESH_shapeTypeNames[9] = { "0=TopAbs_COMPOUND",
35                                                      "1=TopAbs_COMPSOLID",
36                                                      "2=TopAbs_SOLID",
37                                                      "3=TopAbs_SHELL",
38                                                      "4=TopAbs_FACE",
39                                                      "5=TopAbs_WIRE",
40                                                      "6=TopAbs_EDGE",
41                                                      "7=TopAbs_VERTEX",
42                                                      "8=TopAbs_SHAPE" };
43
44 class SMESH_topo
45 {
46 public:
47
48   static string GetShapeLocalId(GEOM::GEOM_Shape_ptr aShape);
49
50   SMESH_topo();
51   virtual ~SMESH_topo();
52
53   map <string, int> _mapIndShapes[9];
54   TopTools_IndexedMapOfShape _myShapes[9];
55
56 protected:
57
58
59 };
60
61 #endif