X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVISU_I%2FVISU_Mesh_i.hh;h=70e4e6ae06983ec228e1f7069a32e7721529082e;hb=9560b540f09562b08da956cb0988791d36a41d33;hp=ebed10ace9222dd38d02bb1e4bab4a4661b6aee9;hpb=8d2ae75b958081482ee3428f6283ebb6bc24cc71;p=modules%2Fvisu.git diff --git a/src/VISU_I/VISU_Mesh_i.hh b/src/VISU_I/VISU_Mesh_i.hh index ebed10ac..70e4e6ae 100644 --- a/src/VISU_I/VISU_Mesh_i.hh +++ b/src/VISU_I/VISU_Mesh_i.hh @@ -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;