[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 08:51:05 +00:00
parent 0375a82ed4
commit 4beda885d0
2 changed files with 7 additions and 4 deletions

View 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 )
{
}

View 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