Version: 9.12.0
HypothesisData Struct Reference

Information about a hypothesis. More...

#include <SMESHGUI_Hypotheses.h>

Public Member Functions

 HypothesisData (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, const int, const int, const QList< int > &, const bool, const QStringList &, const QStringList &, const QStringList &, const QStringList &, const int, const bool supportSub)
 

Data Fields

QString TypeName
 hypothesis type name More...
 
QString PluginName
 plugin name More...
 
QString ServerLibName
 server library name More...
 
QString ClientLibName
 client library name More...
 
QString Label
 label More...
 
QString IconId
 icon identifier More...
 
QString Context
 ["GLOBAL","LOCAL","ANY"(default)] More...
 
int GroupID
 group ID (staring from zero) More...
 
int Priority
 integer, priority within the group More...
 
QList< int > Dim
 list of supported dimensions (see SMESH::Dimension enumeration) More...
 
bool IsAuxOrNeedHyp
 TRUE if given HYPOTHESIS is auxiliary one, FALSE otherwise. More...
 
int IsNeedGeometry
 1 if the algorithm works with shapes only, More...
 
bool IsSupportSubmeshes
 TRUE if the algorithm building all-dim elems supports sub-meshes. More...
 
QStringList BasicHypos
 list of basic hypotheses More...
 
QStringList OptionalHypos
 list of optional hypotheses More...
 
QStringList InputTypes
 list of element types required as a prerequisite More...
 
QStringList OutputTypes
 list of types of generated elements More...
 

Detailed Description

Information about a hypothesis.

Constructor & Destructor Documentation

◆ HypothesisData()

HypothesisData::HypothesisData ( const QString &  theTypeName,
const QString &  thePluginName,
const QString &  theServerLibName,
const QString &  theClientLibName,
const QString &  theLabel,
const QString &  theIconId,
const QString &  theContext,
const int  theGroupID,
const int  thePriority,
const QList< int > &  theDim,
const bool  theIsAuxOrNeedHyp,
const QStringList &  theBasicHypos,
const QStringList &  theOptionalHypos,
const QStringList &  theInputTypes,
const QStringList &  theOutputTypes,
const int  theIsNeedGeometry,
const bool  supportSub 
)

Field Documentation

◆ BasicHypos

QStringList HypothesisData::BasicHypos

list of basic hypotheses

Referenced by SMESH::IsAvailableHypothesis().

◆ ClientLibName

QString HypothesisData::ClientLibName

◆ Context

QString HypothesisData::Context

["GLOBAL","LOCAL","ANY"(default)]

Referenced by SMESH::GetAvailableHypotheses().

◆ Dim

◆ GroupID

int HypothesisData::GroupID

group ID (staring from zero)

Referenced by SMESHGUI_MeshOp::availableHyps(), and SMESH::GetGroupTitle().

◆ IconId

QString HypothesisData::IconId

icon identifier

◆ InputTypes

QStringList HypothesisData::InputTypes

list of element types required as a prerequisite

Referenced by SMESHGUI_MeshOp::isSubmeshIgnored().

◆ IsAuxOrNeedHyp

bool HypothesisData::IsAuxOrNeedHyp

TRUE if given HYPOTHESIS is auxiliary one, FALSE otherwise.

TRUE if given ALGORITHM can't work w/o hypotheses

Referenced by SMESHGUI_MeshOp::existingHyps(), SMESH::GetAvailableHypotheses(), and SMESHGUI_MeshOp::onAlgoSelected().

◆ IsNeedGeometry

int HypothesisData::IsNeedGeometry

1 if the algorithm works with shapes only,

-1 if the algorithm works without shapes only, 0 if the algorithm works in both cases

Referenced by SMESH::GetAvailableHypotheses().

◆ IsSupportSubmeshes

bool HypothesisData::IsSupportSubmeshes

TRUE if the algorithm building all-dim elems supports sub-meshes.

Referenced by SMESHGUI_MeshOp::isSubmeshIgnored().

◆ Label

◆ OptionalHypos

QStringList HypothesisData::OptionalHypos

list of optional hypotheses

Referenced by SMESH::IsAvailableHypothesis().

◆ OutputTypes

QStringList HypothesisData::OutputTypes

list of types of generated elements

Referenced by SMESH::IsCompatibleAlgorithm(), and SMESHGUI_MeshOp::isCompatibleToMeshType().

◆ PluginName

QString HypothesisData::PluginName

plugin name

Referenced by SMESH::GetHypothesisCreator().

◆ Priority

int HypothesisData::Priority

integer, priority within the group

Referenced by SMESHGUI_MeshOp::availableHyps().

◆ ServerLibName

◆ TypeName