Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V9_11_BR'
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_HypothesesUtils.h
diff --git
a/src/SMESHGUI/SMESHGUI_HypothesesUtils.h
b/src/SMESHGUI/SMESHGUI_HypothesesUtils.h
index 2841b7a7f6c412f04d76bb3e91d7e194cdf1ca07..20d7eccc6b7b94062d4d63ed78fab6dec7bbf211 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_HypothesesUtils.h
+++ b/
src/SMESHGUI/SMESHGUI_HypothesesUtils.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
14 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
23 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-58,8
+58,6
@@
class SALOMEDSClient_SObject;
class algo_error_array;
class algo_error_array;
-#define PLUGIN_NAME "PLUGIN_NAME"
-
namespace SMESH
{
SMESHGUI_EXPORT
namespace SMESH
{
SMESHGUI_EXPORT
@@
-80,6
+78,9
@@
namespace SMESH
SMESHGUI_EXPORT
HypothesisData* GetHypothesisData( const QString& );
SMESHGUI_EXPORT
HypothesisData* GetHypothesisData( const QString& );
+ SMESHGUI_EXPORT
+ HypothesisData* GetGroupTitle( const HypothesisData* hyp, const bool isAlgo );
+
SMESHGUI_EXPORT
bool IsAvailableHypothesis( const HypothesisData*,
const QString&,
SMESHGUI_EXPORT
bool IsAvailableHypothesis( const HypothesisData*,
const QString&,
@@
-114,11
+115,18
@@
namespace SMESH
bool RemoveHypothesisOrAlgorithmOnMesh( _PTR(SObject),
SMESH::SMESH_Hypothesis_ptr );
bool RemoveHypothesisOrAlgorithmOnMesh( _PTR(SObject),
SMESH::SMESH_Hypothesis_ptr );
+ SMESHGUI_EXPORT void UpdateViewer(SMESH::SMESH_Mesh_ptr);
+
typedef std::vector<_PTR(SObject)> SObjectList;
typedef std::vector<_PTR(SObject)> SObjectList;
+ SMESHGUI_EXPORT
SObjectList GetMeshesUsingAlgoOrHypothesis( SMESH::SMESH_Hypothesis_ptr );
SMESHGUI_EXPORT
QString GetMessageOnAlgoStateErrors( const algo_error_array& );
SObjectList GetMeshesUsingAlgoOrHypothesis( SMESH::SMESH_Hypothesis_ptr );
SMESHGUI_EXPORT
QString GetMessageOnAlgoStateErrors( const algo_error_array& );
+
+ SMESHGUI_EXPORT
+ // name of proprty saving plug-in of a hypothesis
+ inline const char* Plugin_Name() { return "PLUGIN_NAME"; }
}
#endif // SMESHGUI_HYPOTHESESUTILS_H
}
#endif // SMESHGUI_HYPOTHESESUTILS_H