Salome HOME
PAL13330( When mesh generation does not success, trace where )
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Swig.hxx
index 3cfe7c11eb1c8a3e4a2f0944ba28cc30893170e1..c67876090a8be0bde48432801a1f1a1f0cd9a87a 100644 (file)
@@ -1,4 +1,4 @@
-//  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 
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #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);
@@ -63,24 +61,17 @@ public:
 
   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, const bool isEmpty);
+
 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;
 };