// 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
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();
VISU_MeshPL* myMeshPL;
- string myMeshName;
- TEntity myEntity;
- string mySubMeshName;
+ // std::string myMeshName; move it to Prs3d_i
+ int myEntity;//jfa IPAL9284: TEntity myEntity;
+ std::string mySubMeshName;
VISU::VISUType myType;
VISU::PresentationType myPresentType;
struct SALOMEDS::Color myCellColor, myNodeColor, myLinkColor;
public:
- static int IsPossible(Result_i* theResult, const char* theMeshName, Entity theEntity, const char* theFamilyName = "");
+ 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;
- static const string myComment;
+ static const std::string myComment;
virtual QString GenerateName();
virtual Storable* Restore(const Storable::TRestoringMap& theMap);
}
#endif
-
-