Version: 8.3.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< intDim
 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 ( 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

QStringList HypothesisData::BasicHypos

list of basic hypotheses

Referenced by SMESH::IsAvailableHypothesis().

QString HypothesisData::ClientLibName
QString HypothesisData::Context

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

Referenced by SMESH::GetAvailableHypotheses().

QList<int> HypothesisData::Dim
int HypothesisData::GroupID

group ID (staring from zero)

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

QString HypothesisData::IconId

icon identifier

QStringList HypothesisData::InputTypes
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().

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().

bool HypothesisData::IsSupportSubmeshes

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

Referenced by SMESHGUI_MeshOp::isSubmeshIgnored().

QStringList HypothesisData::OptionalHypos

list of optional hypotheses

Referenced by SMESH::IsAvailableHypothesis().

QStringList HypothesisData::OutputTypes

list of types of generated elements

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

QString HypothesisData::PluginName

plugin name

Referenced by SMESH::GetHypothesisCreator().

int HypothesisData::Priority

integer, priority within the group

Referenced by SMESHGUI_MeshOp::availableHyps().