From: eap Date: Mon, 21 Jul 2008 09:56:41 +0000 (+0000) Subject: [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics X-Git-Tag: V4_1_4a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=41f4d1b379a497143ee49cadb26f1f88b9d19fd4;p=modules%2Fsmesh.git [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics enum Hypothesis_Status // in the order of severity { + HYP_NEED_SHAPE // algorithm can work on shape only }; Move here MeshPreviewStruct from MeshEditor --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index e821eca18..a29123bc9 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -141,7 +141,8 @@ module SMESH HYP_ALREADY_EXIST,// such hypothesis already exist HYP_BAD_DIM, // bad dimension HYP_BAD_SUBSHAPE, // shape is neither the main one, nor its subshape, nor a group - HYP_BAD_GEOMETRY // geometry mismatches algorithm's expectation + HYP_BAD_GEOMETRY, // geometry mismatches algorithm's expectation + HYP_NEED_SHAPE // algorithm can work on shape only }; /*! @@ -177,6 +178,22 @@ module SMESH const long EXTRUSION_FLAG_BOUNDARY = 1; const long EXTRUSION_FLAG_SEW = 2; + /*! + * Structure used in mesh edit preview data (MeshPreviewStruct) + */ + struct ElementSubType { ElementType SMDS_ElementType; + boolean isPoly; + long nbNodesInElement; }; + + typedef sequence types_array; + + /*! + * Structure containing mesh edit preview data + */ + struct MeshPreviewStruct { nodes_array nodesXYZ; + long_array elementConnectivities; + types_array elementTypes; }; + interface SMESH_IDSource { /*!