Version: 6.3.1
Packages | Defines | Typedefs | Functions | Variables

src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx File Reference

#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>
Include dependency graph for SMESHGUI_HypothesesUtils.cxx:

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)
HypothesesSetSMESH.GetHypothesesSet (const QString &theSetName)
HypothesisDataSMESH.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_GenericHypothesisCreatorSMESH.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 Documentation

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


Variable Documentation

int MYDEBUG = 0 [static]

Definition at line 78 of file SMESHGUI_HypothesesUtils.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS