From 8f68bcfbc27eb61cf40eace287faa99435685240 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 25 Apr 2005 13:01:46 +0000 Subject: [PATCH] "Clipping on Structured mesh". Move myMeshName field to Prs3d_i --- src/VISU_I/VISU_Mesh_i.hh | 2 +- src/VISU_I/VISU_Prs3d_i.hh | 2 ++ src/VISU_I/VISU_ScalarMap_i.hh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISU_Mesh_i.hh b/src/VISU_I/VISU_Mesh_i.hh index f08a9fc2..3efdee74 100644 --- a/src/VISU_I/VISU_Mesh_i.hh +++ b/src/VISU_I/VISU_Mesh_i.hh @@ -66,7 +66,7 @@ namespace VISU{ VISU_MeshPL* myMeshPL; - std::string myMeshName; + // std::string myMeshName; move it to Prs3d_i TEntity myEntity; std::string mySubMeshName; VISU::VISUType myType; diff --git a/src/VISU_I/VISU_Prs3d_i.hh b/src/VISU_I/VISU_Prs3d_i.hh index 20c84319..32c53c8e 100644 --- a/src/VISU_I/VISU_Prs3d_i.hh +++ b/src/VISU_I/VISU_Prs3d_i.hh @@ -63,6 +63,7 @@ namespace VISU{ Result_i *myResult; VISU_PipeLine *myPipeLine; SALOMEDS::SObject_var mySObject; + std::string myMeshName; void CreateActor(VISU_Actor* theActor, const Handle(SALOME_InteractiveObject)& theIO = NULL); virtual VISU_PipeLine* GetPipeLine(); @@ -88,6 +89,7 @@ namespace VISU{ Result_i* GetResult() const { return myResult;} virtual SALOMEDS::SObject_var GetSObject(); + const std::string& GetMeshName() const { return myMeshName; } // Clipping planes void RemoveAllClippingPlanes(); diff --git a/src/VISU_I/VISU_ScalarMap_i.hh b/src/VISU_I/VISU_ScalarMap_i.hh index eca96624..767eb887 100644 --- a/src/VISU_I/VISU_ScalarMap_i.hh +++ b/src/VISU_I/VISU_ScalarMap_i.hh @@ -127,7 +127,7 @@ namespace VISU{ VISU_ScalarMapPL* myScalarMapPL; PField myField; - std::string myMeshName; + // std::string myMeshName; move it to Prs3d_i TEntity myEntity; std::string myFieldName; int myIteration; -- 2.39.2