29 #ifndef SMESH_Pattern_I_HeaderFile
30 #define SMESH_Pattern_I_HeaderFile
34 #include "SALOMEconfig.h"
35 #include CORBA_SERVER_HEADER(SMESH_Pattern)
36 #include CORBA_SERVER_HEADER(SMESH_Mesh)
37 #include CORBA_CLIENT_HEADER(GEOM_Gen)
39 #include <TopoDS_Shape.hxx>
46 public virtual POA_SMESH::SMESH_Pattern
52 CORBA::Boolean LoadFromFile(
const char* theFileContents);
54 CORBA::Boolean LoadFromFace(SMESH::SMESH_Mesh_ptr theMesh,
55 GEOM::GEOM_Object_ptr theFace,
56 CORBA::Boolean theProject);
58 CORBA::Boolean LoadFrom3DBlock(SMESH::SMESH_Mesh_ptr theMesh,
59 GEOM::GEOM_Object_ptr theBlock);
62 GEOM::GEOM_Object_ptr theVertexOnKeyPoint1,
63 CORBA::Boolean theReverse);
66 GEOM::GEOM_Object_ptr theVertex000,
67 GEOM::GEOM_Object_ptr theVertex001);
71 CORBA::Long theNodeIndexOnKeyPoint1,
72 CORBA::Boolean theReverse);
76 CORBA::Long theNode000Index,
77 CORBA::Long theNode001Index);
84 CORBA::Boolean MakeMesh (SMESH::SMESH_Mesh_ptr theMesh,
85 CORBA::Boolean CreatePolygons,
86 CORBA::Boolean CreatePolyedrs);
92 CORBA::Boolean Is2D();