25 #ifndef _SMESH_GEN_IDL_
26 #define _SMESH_GEN_IDL_
28 #include "SALOME_Exception.idl"
29 #include "SALOME_Component.idl"
30 #include "SALOMEDS.idl"
32 #include "GEOM_Gen.idl"
120 interface SMESH_Gen : Engines::EngineComponent, SALOMEDS::Driver
123 void SetGeomEngine( in GEOM::GEOM_Gen geomcompo );
134 void SetEmbeddedMode( in
boolean theMode );
139 boolean IsEmbeddedMode();
144 void SetCurrentStudy( in SALOMEDS::Study theStudy );
149 SALOMEDS::Study GetCurrentStudy();
159 in
string theLibName )
160 raises ( SALOME::SALOME_Exception );
170 in
string theLibName,
172 in GEOM::GEOM_Object theGeom,
174 raises ( SALOME::SALOME_Exception );
185 out GEOM::GEOM_Object theShape);
200 void SetName( in
string theObjectIOR,
201 in
string theObjectName )
202 raises ( SALOME::SALOME_Exception );
212 raises ( SALOME::SALOME_Exception );
218 raises ( SALOME::SALOME_Exception );
224 SMESH_Mesh CreateMeshesFromUNV( in
string theFileName )
225 raises ( SALOME::SALOME_Exception );
230 mesh_array CreateMeshesFromMED( in
string theFileName,
232 raises ( SALOME::SALOME_Exception );
237 mesh_array CreateMeshesFromSAUV( in
string theFileName,
239 raises ( SALOME::SALOME_Exception );
244 SMESH_Mesh CreateMeshesFromSTL( in
string theFileName )
245 raises ( SALOME::SALOME_Exception );
250 mesh_array CreateMeshesFromCGNS( in
string theFileName,
252 raises ( SALOME::SALOME_Exception );
259 SMESH_Mesh CreateMeshesFromGMF( in
string theFileName,
260 in
boolean theMakeRequiredGroups,
262 raises ( SALOME::SALOME_Exception );
274 in
boolean toCopyGroups,
275 in
boolean toKeepIDs)
276 raises ( SALOME::SALOME_Exception );
286 in
boolean theUniteIdenticalGroups,
287 in
boolean theMergeNodesAndElements,
288 in
double theMergeTolerance)
289 raises ( SALOME::SALOME_Exception );
300 in
boolean theUniteIdenticalGroups,
301 in
boolean theMergeNodesAndElements,
302 in
double theMergeTolerance)
303 raises ( SALOME::SALOME_Exception );
311 in GEOM::GEOM_Object theSubObject )
312 raises ( SALOME::SALOME_Exception );
318 in GEOM::GEOM_Object theSubObject );
323 boolean IsReadyToCompute( in
SMESH_Mesh theMesh,
324 in GEOM::GEOM_Object theSubObject )
325 raises ( SALOME::SALOME_Exception );
331 in GEOM::GEOM_Object theSubObject)
332 raises ( SALOME::SALOME_Exception );
340 in GEOM::GEOM_Object theSubObject,
343 raises ( SALOME::SALOME_Exception );
350 in GEOM::GEOM_Object theSubObject )
351 raises ( SALOME::SALOME_Exception );
357 compute_error_array GetComputeErrors( in
SMESH_Mesh theMesh,
358 in GEOM::GEOM_Object theSubObject )
359 raises ( SALOME::SALOME_Exception );
365 in
short theSubShapeID )
366 raises ( SALOME::SALOME_Exception );
372 in
short theSubShapeID,
373 in
string theGroupName)
374 raises ( SALOME::SALOME_Exception );
380 long_array GetSubShapesId( in GEOM::GEOM_Object theMainObject,
381 in object_array theListOfSubObjects )
382 raises ( SALOME::SALOME_Exception );
389 GEOM::GEOM_Object GetGeometryByMeshElement( in
SMESH_Mesh theMesh,
390 in
long theElementID,
391 in
string theGeomName)
392 raises ( SALOME::SALOME_Exception );
398 GEOM::GEOM_Object FindGeometryByMeshElement( in
SMESH_Mesh theMesh,
399 in
long theElementID)
400 raises ( SALOME::SALOME_Exception );
407 long GetObjectId(in Object theObject);
412 boolean GetMEDVersion(in
string theFileName, out
MED_VERSION theVersion);
427 void Move( in sobject_list what,
439 in
string theLibName,
440 in GEOM::GEOM_Object theShapeObject,
441 in
boolean toCheckAll );
511 in GEOM::GEOM_Object theGeom,
512 in
double theTolerance );