]> 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 08:51:05 +0000 (08:51 +0000)
committereap <eap@opencascade.com>
Tue, 16 Sep 2008 08:51:05 +0000 (08:51 +0000)
+  bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes

src/SMESHGUI/SMESHGUI_Hypotheses.cxx
src/SMESHGUI/SMESHGUI_Hypotheses.h

index ad1df48b016f376edb1214274f81e77007716255..230491f7b5f40a605501c6a8803fc35939f57be8 100644 (file)
@@ -537,7 +537,8 @@ HypothesisData::HypothesisData( const QString& theTypeName,
                                const QStringList& theOptionalHypos,
                                const QStringList& theInputTypes,
                                const QStringList& theOutputTypes,
-                               const bool theIsNeedGeometry )
+                               const bool theIsNeedGeometry,
+                                const bool supportSub)
   : TypeName( theTypeName ),
     PluginName( thePluginName ),
     ServerLibName( theServerLibName ),
@@ -550,7 +551,8 @@ HypothesisData::HypothesisData( const QString& theTypeName,
     OptionalHypos( theOptionalHypos ),
     InputTypes( theInputTypes ),
     OutputTypes( theOutputTypes ),
-    IsNeedGeometry( theIsNeedGeometry )
+    IsNeedGeometry( theIsNeedGeometry ),
+    IsSupportSubmeshes( supportSub )
 {
 }
 
index f13f89d2264053169909f087dc05ebbc6a56a914..c46be7f34b8d904b967006c40b63e84976df04d5 100644 (file)
@@ -150,7 +150,7 @@ public:
                   const QList<int>&, const bool,
                   const QStringList&, const QStringList&,
                   const QStringList&, const QStringList&,
-                 const bool = true );
+                 const bool=true, const bool supportSub=false );
 
   QString TypeName;        //!< hypothesis type name
   QString PluginName;      //!< plugin name
@@ -160,7 +160,8 @@ public:
   QString IconId;          //!< icon identifier
   QList<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