From: eap Date: Mon, 25 Apr 2005 13:01:46 +0000 (+0000) Subject: "Clipping on Structured mesh". Move myMeshName field to Prs3d_i X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f68bcfbc27eb61cf40eace287faa99435685240;p=modules%2Fvisu.git "Clipping on Structured mesh". Move myMeshName field to Prs3d_i --- 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;