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... | |
Information about a hypothesis.
| 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 | ||
| ) |
| QStringList HypothesisData::BasicHypos |
list of basic hypotheses
Referenced by SMESH::IsAvailableHypothesis().
| QString HypothesisData::ClientLibName |
client library name
Referenced by SMESHGUI_MeshOp::createHypothesis(), SMESHGUI_MeshOp::getAlgo(), and SMESH::GetHypothesisCreator().
| QString HypothesisData::Context |
["GLOBAL","LOCAL","ANY"(default)]
Referenced by SMESH::GetAvailableHypotheses().
| QList<int> HypothesisData::Dim |
list of supported dimensions (see SMESH::Dimension enumeration)
Referenced by SMESHGUI_MeshOp::existingHyps(), SMESH::GetGroupTitle(), SMESH::IsCompatibleAlgorithm(), and SMESHGUI_MeshOp::processSet().
| int HypothesisData::GroupID |
group ID (staring from zero)
Referenced by SMESHGUI_MeshOp::availableHyps(), and SMESH::GetGroupTitle().
| QString HypothesisData::IconId |
icon identifier
| QStringList HypothesisData::InputTypes |
list of element types required as a prerequisite
Referenced by SMESHGUI_MeshOp::availableHyps(), SMESHGUI_MeshOp::isSubmeshIgnored(), SMESHGUI_MeshOp::onAlgoSelected(), and SMESHGUI_MeshOp::setFilteredAlgoData().
| 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().
| QString HypothesisData::Label |
label
Referenced by SMESHGUI_MeshOp::availableHyps(), SMESHGUI_MeshOp::createHypothesis(), SMESHGUI_MeshOp::getAlgo(), SMESH::GetAvailableHypotheses(), SMESH::GetGroupTitle(), StdMeshersGUI_LayerDistributionParamWdg::init(), SMESHGUI_MeshOp::isCompatibleToGeometry(), and StdMeshersGUI_LayerDistributionParamWdg::onHypTypePopup().
| 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().
| QString HypothesisData::ServerLibName |
server library name
Referenced by SMESHGUI_MeshOp::createHypothesis(), SMESH::GetHypothesisCreator(), SMESH::IsApplicable(), and StdMeshersGUI_LayerDistributionParamWdg::onHypTypePopup().
| QString HypothesisData::TypeName |
hypothesis type name
Referenced by StdMeshersGUI_LayerDistributionParamWdg::init(), isCompatible(), SMESHGUI_MeshOp::isCompatibleToGeometry(), and StdMeshersGUI_LayerDistributionParamWdg::onHypTypePopup().