X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_HypothesesUtils.h;h=2fb920af91c60e99f87f4ee7322916b5a17685b3;hb=617421a2a3ad1e00f319646c1057cd3bce591252;hp=16d935b1e3f70e6fb842d70d32d2b22bb08111e0;hpb=c38c10811a065cf5b13e8807ed71864d92ca7d80;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.h b/src/SMESHGUI/SMESHGUI_HypothesesUtils.h index 16d935b1e..2fb920af9 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.h +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.h @@ -20,7 +20,7 @@ // // // -// File : SMESHGUI_Hypotheses.h +// File : SMESHGUI_HypothesesUtils.h // Author : Julia DOROVSKIKH // Module : SMESH // $Header$ @@ -42,14 +42,22 @@ #include class HypothesisData; +class HypothesesSet; class SMESHGUI_GenericHypothesisCreator; class SALOMEDSClient_SObject; +class algo_error_array; namespace SMESH{ void InitAvailableHypotheses(); - QStringList GetAvailableHypotheses(const bool isAlgo); + QStringList GetAvailableHypotheses( const bool isAlgo, + const int theDim = -1, + const bool isAux = false); + + QStringList GetHypothesesSets(); + + HypothesesSet* GetHypothesesSet(const QString theSetName); HypothesisData* GetHypothesisData(const char* aHypType); @@ -71,6 +79,7 @@ namespace SMESH{ typedef std::vector<_PTR(SObject)> SObjectList; SObjectList GetMeshesUsingAlgoOrHypothesis(SMESH::SMESH_Hypothesis_ptr AlgoOrHyp ) ; + QString GetMessageOnAlgoStateErrors(const algo_error_array& errors); } #endif