#include "SMESHGUI_HypothesesUtils.h"#include "SMESHGUI.h"#include "SMESHGUI_Hypotheses.h"#include "SMESHGUI_XmlHandler.h"#include "SMESHGUI_Utils.h"#include "SMESHGUI_GEOMGenUtils.h"#include <SUIT_Desktop.h>#include <SUIT_MessageBox.h>#include <SUIT_OverrideCursor.h>#include <SUIT_ResourceMgr.h>#include <SalomeApp_Study.h>#include <SalomeApp_Tools.h>#include <utilities.h>#include <string>#include <QMap>#include <QDir>#include <dlfcn.h>
Go to the source code of this file.
Packages | |
| package | SMESH |
Defines | |
| #define | LibHandle void* |
| #define | LoadLib(name) dlopen( name, RTLD_LAZY ) |
| #define | GetProc dlsym |
| #define | UnLoadLib(handle) dlclose( handle ); |
| #define | CASE2MESSAGE(enum) case SMESH::enum: msg = QObject::tr( "STATE_" #enum ); break; |
Typedefs | |
| typedef QMap< QString, HypothesisData * > | SMESH.THypothesisDataMap |
Functions | |
| void | SMESH.processHypothesisStatus (const int theHypStatus, SMESH::SMESH_Hypothesis_ptr theHyp, const bool theIsAddition) |
| static QString | SMESH.mangledHypoSetName (HypothesesSet *hypSet) |
| Prepends dimension and appends '[custom]' to the name of hypothesis set. | |
| static QString | SMESH.demangledHypoSetName (QString name) |
| Removes dimension and '[custom]' from the name of hypothesis set. | |
| void | SMESH.InitAvailableHypotheses () |
| QStringList | SMESH.GetAvailableHypotheses (const bool isAlgo, const int theDim, const bool isAux, const bool isNeedGeometry) |
| QStringList | SMESH.GetHypothesesSets (int maxDim) |
| HypothesesSet * | SMESH.GetHypothesesSet (const QString &theSetName) |
| HypothesisData * | SMESH.GetHypothesisData (const QString &aHypType) |
| bool | SMESH.IsAvailableHypothesis (const HypothesisData *algoData, const QString &hypType, bool &isAuxiliary) |
| bool | SMESH.IsCompatibleAlgorithm (const HypothesisData *algo1Data, const HypothesisData *algo2Data) |
| SMESHGUI_GenericHypothesisCreator * | SMESH.GetHypothesisCreator (const QString &aHypType) |
| SMESH::SMESH_Hypothesis_ptr | SMESH.CreateHypothesis (const QString &aHypType, const QString &aHypName, const bool isAlgo) |
| bool | SMESH.AddHypothesisOnMesh (SMESH::SMESH_Mesh_ptr aMesh, SMESH::SMESH_Hypothesis_ptr aHyp) |
| bool | SMESH.AddHypothesisOnSubMesh (SMESH::SMESH_subMesh_ptr aSubMesh, SMESH::SMESH_Hypothesis_ptr aHyp) |
| bool | SMESH.RemoveHypothesisOrAlgorithmOnMesh (const Handle(SALOME_InteractiveObject)&IObject) |
| bool | SMESH.RemoveHypothesisOrAlgorithmOnMesh (_PTR(SObject) MorSM, SMESH::SMESH_Hypothesis_ptr anHyp) |
| SObjectList | SMESH.GetMeshesUsingAlgoOrHypothesis (SMESH::SMESH_Hypothesis_ptr AlgoOrHyp) |
| QString | SMESH.GetMessageOnAlgoStateErrors (const algo_error_array &errors) |
Variables | |
| static int | MYDEBUG = 0 |
| THypothesisDataMap | SMESH.myHypothesesMap |
| THypothesisDataMap | SMESH.myAlgorithmsMap |
| QList< HypothesesSet * > | SMESH.myListOfHypothesesSets |
| #define CASE2MESSAGE | ( | enum | ) | case SMESH::enum: msg = QObject::tr( "STATE_" #enum ); break; |
Definition at line 682 of file SMESHGUI_HypothesesUtils.cxx.
Referenced by SMESH.GetMessageOnAlgoStateErrors().
| #define GetProc dlsym |
Definition at line 71 of file SMESHGUI_HypothesesUtils.cxx.
Referenced by SMESH.GetHypothesisCreator().
| #define LibHandle void* |
Definition at line 69 of file SMESHGUI_HypothesesUtils.cxx.
Referenced by SMESH.GetHypothesisCreator().
| #define LoadLib | ( | name | ) | dlopen( name, RTLD_LAZY ) |
Definition at line 70 of file SMESHGUI_HypothesesUtils.cxx.
Referenced by SMESH.GetHypothesisCreator().
| #define UnLoadLib | ( | handle | ) | dlclose( handle ); |
Definition at line 72 of file SMESHGUI_HypothesesUtils.cxx.
Referenced by SMESH.GetHypothesisCreator().
Definition at line 78 of file SMESHGUI_HypothesesUtils.cxx.