-// SMESH SMESHGUI : GUI for SMESH component
+// SMESH SMESH : GUI for SMESH component
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include CORBA_SERVER_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-class SMESHGUI_Swig
+class SMESH_Swig
{
public:
- SMESHGUI_Swig();
- ~SMESHGUI_Swig();
+ SMESH_Swig();
+ ~SMESH_Swig();
- static void setOrb();
-
void Init(int studyID);
const char* AddNewMesh(const char* IOR);
void SetName(const char* Entry, const char* Name);
+ /*!
+ * \brief Set mesh icon according to compute status
+ * \param Mesh_Entry - entry of a mesh
+ * \param isComputed - is mesh computed or not
+ */
+ void SetMeshIcon(const char* Mesh_Entry, const bool isComputed);
+
private:
SALOMEDS::Study_var myStudy;
SALOMEDS::StudyBuilder_var myStudyBuilder;
SALOMEDS::SComponent_var mySComponentMesh;
-
- // Tags definition
- long Tag_HypothesisRoot;
- long Tag_AlgorithmsRoot;
-
- long Tag_RefOnShape;
- long Tag_RefOnAppliedHypothesis;
- long Tag_RefOnAppliedAlgorithms;
-
- long Tag_SubMeshOnVertex;
- long Tag_SubMeshOnEdge;
- long Tag_SubMeshOnFace;
- long Tag_SubMeshOnSolid;
- long Tag_SubMeshOnCompound;
};