Salome HOME
Start implementation of methods, manipulating view parameters (position, size, splitt...
[modules/visu.git] / src / VISU_I / VISU_Mesh_i.hh
index ebed10ace9222dd38d02bb1e4bab4a4661b6aee9..70e4e6ae06983ec228e1f7069a32e7721529082e 100644 (file)
@@ -1,23 +1,23 @@
 //  VISU OBJECT : interactive object for VISU entities implementation
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  This library is free software; you can redistribute it and/or 
-//  modify it under the terms of the GNU Lesser General Public 
-//  License as published by the Free Software Foundation; either 
-//  version 2.1 of the License. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  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 
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  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
 //
 //
 //  File   : VISU_PrsObject_i.hxx
@@ -42,7 +42,7 @@ namespace VISU{
     explicit
     Mesh_i(Result_i* theResult);
     explicit
-    Mesh_i(Result_i* theResult, 
+    Mesh_i(Result_i* theResult,
           SALOMEDS::SObject_ptr theSObject);
     virtual void SameAs(const Mesh_i* theOrigin);
     virtual ~Mesh_i();
@@ -71,7 +71,8 @@ namespace VISU{
     VISU_MeshPL* myMeshPL;
 
     string myMeshName;
-    TEntity myEntity;
+    //jfa IPAL9284:TEntity myEntity;
+    int myEntity;//jfa IPAL9284
     string mySubMeshName;
     VISU::VISUType myType;
 
@@ -81,10 +82,14 @@ namespace VISU{
   public:
     static int IsPossible(Result_i* theResult, const char* theMeshName, Entity theEntity, const char* theFamilyName = "");
     virtual Storable* Create(const char* theMeshName, Entity theEntity, const char* theFamilyName = "");
-    
+
     static int IsPossible(Result_i* theResult, const char* theMeshName, const char* theGroupName);
     virtual Storable* Create(const char* theMeshName, const char* theGroupName);
 
+    const std::string& GetMeshName() const { return myMeshName;}
+    VISU::Entity GetEntity() const { return VISU::Entity(myEntity);}
+    const string& GetSubMeshName() const { return mySubMeshName;}
+
     virtual void ToStream(std::ostringstream& theStr);
 
     virtual const char* GetComment() const;