From af4f7de11bb73d2ab39319520c44ae5bd1a33a54 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 21 Jul 2008 09:55:03 +0000 Subject: [PATCH] [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 ) --- idl/SMESH_Gen.idl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.39.2