[SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D

+  bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes
This commit is contained in:
eap 2008-09-16 14:49:07 +00:00
parent dacb38a9d9
commit 2bc1c40f58

View 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