From 9d433925b740664122363730e3fb99c1d6cf7423 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 29 Aug 2005 05:46:17 +0000 Subject: [PATCH] To introduce ID's --- src/CONVERTOR/VISU_Convertor.hxx | 40 ++++++++++++++------------------ 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor.hxx b/src/CONVERTOR/VISU_Convertor.hxx index 73bba7e2..e7d04964 100644 --- a/src/CONVERTOR/VISU_Convertor.hxx +++ b/src/CONVERTOR/VISU_Convertor.hxx @@ -85,12 +85,6 @@ namespace VISU struct TValForTime; typedef SharedPtr PValForTime; - struct TMeshValForTime; - typedef SharedPtr PMeshValForTime; - - struct TGaussPtsValForTime; - typedef SharedPtr PGaussPtsValForTime; - typedef std::string TName; typedef TVector TNames; @@ -140,7 +134,15 @@ namespace VISU //--------------------------------------------------------------- struct TProfile: virtual TBaseStructure - {}; + { + virtual + vtkIdType + GetNodeObjId(int theVtkI) const = 0; + + virtual + vtkIdType + GetElemObjId(int theVtkI) const = 0; + }; //--------------------------------------------------------------- @@ -170,7 +172,9 @@ namespace VISU struct TGaussMesh: virtual TBaseStructure { - virtual TGaussPointID GetObjId(int theVtkI)=0; + virtual + TGaussPointID + GetObjId(int theVtkI) const = 0; }; @@ -218,7 +222,7 @@ namespace VISU //--------------------------------------------------------------- - typedef std::map TValField; + typedef std::map TValField; struct TField: virtual TIntId { @@ -244,18 +248,8 @@ namespace VISU TName myMeshName; TName myFieldName; TTime myTime; - }; - - //--------------------------------------------------------------- - struct TMeshValForTime: virtual TValForTime - { PProfile myProfile; - }; - - - struct TGaussPtsValForTime: virtual TValForTime - { PGaussMesh myGaussMesh; }; @@ -342,10 +336,10 @@ public: virtual TOutput* - GetGaussPointsOnMesh(const std::string& theMeshName, - const VISU::TEntity& theEntity, - const std::string& theFieldName, - int theStampsNum) = 0; + GetTimeStampOnGaussPts(const std::string& theMeshName, + const VISU::TEntity& theEntity, + const std::string& theFieldName, + int theStampsNum) = 0; virtual VISU::PGaussMesh -- 2.39.2