From: eap Date: Mon, 21 Jul 2008 09:55:03 +0000 (+0000) Subject: [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics X-Git-Tag: V4_1_4a1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af4f7de11bb73d2ab39319520c44ae5bd1a33a54;p=modules%2Fsmesh.git [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics struct ComputeError { + boolean hasBadMesh; // there are elements preventing computation available for visualization } + SMESH::MeshPreviewStruct* GetBadInputElements( SMESH::SMESH_Mesh_ptr theMesh, + CORBA::Short theSubShapeID ) --- diff --git a/idl/SMESH_Gen.idl b/idl/SMESH_Gen.idl index 362bea45a..cad0d9f62 100644 --- a/idl/SMESH_Gen.idl +++ b/idl/SMESH_Gen.idl @@ -101,10 +101,11 @@ module SMESH }; struct ComputeError { - short code; // ComputeErrorName or, if negative, algo specific code - string comment; // textual problem description - string algoName; - short subShapeID; // id of subshape of a shape to mesh + short code; // ComputeErrorName or, if negative, algo specific code + string comment; // textual problem description + string algoName; + short subShapeID; // id of subshape of a shape to mesh + boolean hasBadMesh; // there are elements preventing computation available for visualization }; typedef sequence compute_error_array; @@ -236,6 +237,13 @@ module SMESH in GEOM::GEOM_Object theSubObject ) raises ( SALOME::SALOME_Exception ); + /*! + * Return mesh elements preventing computation of a subshape + */ + MeshPreviewStruct GetBadInputElements( in SMESH_Mesh theMesh, + in short theSubShapeID ) + raises ( SALOME::SALOME_Exception ); + /*! * Return indeces of faces, edges and vertices of given subshapes * within theMainObject