From 114b148354686533d9bc18d7115fe8a25c9934b5 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 1 Sep 2005 07:11:02 +0000 Subject: [PATCH] To introduce ID's mapping (improve MeshOnEntity ID's mapping) --- src/CONVERTOR/VISU_Convertor_impl.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index bfe9c21e..0f008c8f 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -28,7 +28,6 @@ #include "VISU_ConvertorUtils.hxx" #include -#include #include #include @@ -59,7 +58,7 @@ static int MYVTKDEBUG = 0; #ifdef _DEBUG_ static int MYDEBUG = 1; -static int MYDEBUGWITHFILES = 0; +static int MYDEBUGWITHFILES = 1; #else static int MYDEBUG = 0; static int MYDEBUGWITHFILES = 0; @@ -1155,6 +1154,8 @@ namespace return; const TVTKAppendFilter& anAppendFilter = theProfile->GetFilter(); + anAppendFilter->SetPoints(GetPoints(theMesh)); + if(theProfile->myIsAll){ TDataSet* aDataSet = theMeshOnEntity->GetDataSet(); anAppendFilter->AddInput(aDataSet); @@ -1484,6 +1485,7 @@ VISU_Convertor_impl if(MYVTKDEBUG) anAppendFilter->DebugOn(); LoadMeshOnEntity(aMesh,aMeshOnEntity); + anAppendFilter->SetPoints(GetPoints(aMesh)); const TGeom2SubMesh& aGeom2SubMesh = aMeshOnEntity->myGeom2SubMesh; TGeom2SubMesh::const_iterator anIter = aGeom2SubMesh.begin(); @@ -1621,6 +1623,7 @@ VISU_Convertor_impl if(!aGroup->myIsVTKDone){ const VISU::TFamilySet& aFamilySet = aGroup->myFamilySet; LoadMeshOnGroup(aMesh,aFamilySet); + anAppendFilter->SetPoints(GetPoints(aMesh)); TFamilySet::const_iterator anIter = aFamilySet.begin(); -- 2.39.2