27 #ifndef SMESHGUI_HYPOTHESESUTILS_H
28 #define SMESHGUI_HYPOTHESESUTILS_H
35 #include <QStringList>
38 #include <SALOME_InteractiveObject.hxx>
41 #include <SALOMEDSClient_definitions.hxx>
44 #include <SALOMEconfig.h>
45 #include CORBA_SERVER_HEADER(SMESH_Mesh)
46 #include CORBA_SERVER_HEADER(SMESH_Hypothesis)
52 #include <boost/shared_ptr.hpp>
57 class SALOMEDSClient_SObject;
102 GEOM::GEOM_Object_ptr,
103 const bool =
false );
116 SMESH::SMESH_Hypothesis_ptr );
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Class containing set of hypotheses.
Definition: SMESHGUI_Hypotheses.h:219
Auxiliary class for creation of hypotheses.
Definition: SMESHGUI_Hypotheses.h:48
Definition: SMESH_ControlsDef.hxx:64
SObjectList GetMeshesUsingAlgoOrHypothesis(SMESH::SMESH_Hypothesis_ptr AlgoOrHyp)
Definition: SMESHGUI_HypothesesUtils.cxx:790
std::vector< _PTR(SObject)> SObjectList
Definition: SMESHGUI_HypothesesUtils.h:120
Handle(VTKViewer_Filter) GetFilter(int theId
sequence< AlgoStateError > algo_error_array
Definition: SMESH_Gen.idl:96
void UpdateViewer(SMESH::SMESH_Mesh_ptr theMesh)
Definition: SMESHGUI_HypothesesUtils.cxx:780
_PTR(SObject) getSubShapeSO(int subShapeID
Return SO of a sub-shape.
Definition: SMESHGUI_Utils.cxx:122
const char * Plugin_Name()
Definition: SMESHGUI_HypothesesUtils.h:129
bool IsApplicable(const QString &aHypType, GEOM::GEOM_Object_ptr theGeomObject, const bool toCheckAll)
Definition: SMESHGUI_HypothesesUtils.cxx:617
SMESHGUI_GenericHypothesisCreator * GetHypothesisCreator(const QString &aHypType)
Definition: SMESHGUI_HypothesesUtils.cxx:492
HypothesisData * GetHypothesisData(const QString &aHypType)
Definition: SMESHGUI_HypothesesUtils.cxx:359
QString GetMessageOnAlgoStateErrors(const algo_error_array &errors)
Definition: SMESHGUI_HypothesesUtils.cxx:824
QStringList GetAvailableHypotheses(const bool isAlgo, const int theDim, const bool isAux, const bool hasGeometry, const bool isSubMesh)
Definition: SMESHGUI_HypothesesUtils.cxx:286
bool IsAvailableHypothesis(const HypothesisData *algoData, const QString &hypType, bool &isAuxiliary)
Definition: SMESHGUI_HypothesesUtils.cxx:459
HypothesisData * GetGroupTitle(const HypothesisData *hyp, const bool isAlgo)
Return the HypothesisData holding a name of a group of hypotheses a given hypothesis belongs to.
Definition: SMESHGUI_HypothesesUtils.cxx:382
bool AddHypothesisOnSubMesh(SMESH::SMESH_subMesh_ptr aSubMesh, SMESH::SMESH_Hypothesis_ptr aHyp)
Definition: SMESHGUI_HypothesesUtils.cxx:665
bool RemoveHypothesisOrAlgorithmOnMesh(const Handle(SALOME_InteractiveObject)&IObject)
Definition: SMESHGUI_HypothesesUtils.cxx:707
QStringList GetHypothesesSets(int maxDim)
Definition: SMESHGUI_HypothesesUtils.cxx:318
HypothesesSet * GetHypothesesSet(const QString &theSetName)
Definition: SMESHGUI_HypothesesUtils.cxx:345
bool IsCompatibleAlgorithm(const HypothesisData *algo1Data, const HypothesisData *algo2Data)
Definition: SMESHGUI_HypothesesUtils.cxx:475
void InitAvailableHypotheses()
Definition: SMESHGUI_HypothesesUtils.cxx:182
bool AddHypothesisOnMesh(SMESH::SMESH_Mesh_ptr aMesh, SMESH::SMESH_Hypothesis_ptr aHyp)
Definition: SMESHGUI_HypothesesUtils.cxx:636
SMESH::SMESH_Hypothesis_ptr CreateHypothesis(const QString &aHypType, const QString &aHypName, const bool)
Definition: SMESHGUI_HypothesesUtils.cxx:588
Information about a hypothesis.
Definition: SMESHGUI_Hypotheses.h:180