]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D...
authoreap <eap@opencascade.com>
Tue, 16 Sep 2008 14:49:07 +0000 (14:49 +0000)
committereap <eap@opencascade.com>
Tue, 16 Sep 2008 14:49:07 +0000 (14:49 +0000)
+  bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes

src/SMESHGUI/SMESHGUI_Hypotheses.h

index 759765ee83f6d3688a2a166e2ee8ffe43d4e741e..4d25f86c15d0a4d98db3dc5dadff5aed937ed200 100644 (file)
@@ -151,7 +151,8 @@ class HypothesisData
                   const QStringList& theOptionalHypos,
                   const QStringList& theInputTypes,
                   const QStringList& theOutputTypes,
-                 const bool theIsNeedGeometry = true)
+                 const bool theIsNeedGeometry = true,
+                  const bool theSupportSub)
     : TypeName( theTypeName ),
     PluginName( thePluginName ),
     ServerLibName( theServerLibName ),
@@ -162,7 +163,8 @@ class HypothesisData
     IsAux( theIsAux ),
     NeededHypos( theNeededHypos ), OptionalHypos( theOptionalHypos ),
     InputTypes( theInputTypes ), OutputTypes( theOutputTypes ),
-    IsNeedGeometry( theIsNeedGeometry )
+    IsNeedGeometry( theIsNeedGeometry ),
+    IsSupportSubmeshes( theSupportSub )
     {};
 
  QString TypeName;        //!< hypothesis type name
@@ -173,7 +175,8 @@ class HypothesisData
  QString IconId;          //!< icon identifier
  QValueList<int> Dim;     //!< list of supported dimensions (see SMESH::Dimension enumeration)
  bool IsAux;              //!< TRUE if given hypothesis is auxiliary one, FALSE otherwise
- bool IsNeedGeometry;     //!< TRUE if for given hypothesis need shape, FALSE otherwise
+ bool IsNeedGeometry;     //!< TRUE if the algorithm works with shapes only, FALSE otherwise
+ bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes
 
  // for algorithm only: dependencies algo <-> algo and algo -> hypos
  QStringList NeededHypos;  //!< list of obligatory hypotheses