Version: 8.3.0
SMESHGUI_HypothesesUtils.cxx File Reference
#include "SMESHGUI_HypothesesUtils.h"
#include "SMESHGUI.h"
#include "SMESHGUI_GEOMGenUtils.h"
#include "SMESHGUI_Hypotheses.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_VTKUtils.h"
#include "SMESHGUI_XmlHandler.h"
#include "SMESH_Actor.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 <QDir>
#include <dlfcn.h>
Include dependency graph for SMESHGUI_HypothesesUtils.cxx:

Namespaces

namespace  SMESH
 

Macros

#define LibHandle   void*
 
#define LoadLib(name)   dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
 
#define GetProc   dlsym
 
#define UnLoadLib(handle)   dlclose( handle );
 
#define CASE2MESSAGE(enum)   case SMESH::enum: msg = QObject::tr( "STATE_" #enum ); break;
 

Typedefs

typedef IMap< QString,
HypothesisData * > 
SMESH::THypothesisDataMap
 

Functions

void SMESH::processHypothesisStatus (const int theHypStatus, SMESH::SMESH_Hypothesis_ptr theHyp, const bool theIsAddition, const char *theError=0)
 
static QString SMESH::mangledHypoSetName (HypothesesSet *hypSet)
 Prepends dimension and appends '[custom]' to the name of hypothesis set. More...
 
static QString SMESH::demangledHypoSetName (QString name)
 Removes dimension and '[custom]' from the name of hypothesis set. More...
 
void SMESH::InitAvailableHypotheses ()
 
QStringList SMESH::GetAvailableHypotheses (const bool isAlgo, const int theDim, const bool isAux, const bool hasGeometry, const bool isSubMesh)
 
QStringList SMESH::GetHypothesesSets (int maxDim)
 
HypothesesSetSMESH::GetHypothesesSet (const QString &theSetName)
 
HypothesisDataSMESH::GetHypothesisData (const QString &aHypType)
 
HypothesisDataSMESH::GetGroupTitle (const HypothesisData *hyp, const bool isAlgo)
 Return the HypothesisData holding a name of a group of hypotheses a given hypothesis belongs to. More...
 
bool SMESH::IsAvailableHypothesis (const HypothesisData *algoData, const QString &hypType, bool &isAuxiliary)
 
bool SMESH::IsCompatibleAlgorithm (const HypothesisData *algo1Data, const HypothesisData *algo2Data)
 
SMESHGUI_GenericHypothesisCreatorSMESH::GetHypothesisCreator (const QString &aHypType)
 
SMESH::SMESH_Hypothesis_ptr SMESH::CreateHypothesis (const QString &aHypType, const QString &aHypName, const bool isAlgo)
 
bool SMESH::IsApplicable (const QString &aHypType, GEOM::GEOM_Object_ptr theGeomObject, const bool toCheckAll)
 
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
 

Macro Definition Documentation

#define CASE2MESSAGE (   enum)    case SMESH::enum: msg = QObject::tr( "STATE_" #enum ); break;
#define GetProc   dlsym
#define LibHandle   void*
#define LoadLib (   name)    dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
#define UnLoadLib (   handle)    dlclose( handle );

Variable Documentation

int MYDEBUG = 0
static