From: apo Date: Thu, 1 Sep 2005 07:11:02 +0000 (+0000) Subject: To introduce ID's mapping (improve MeshOnEntity ID's mapping) X-Git-Tag: BR-D5-38-2003_D2005-12-09~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=114b148354686533d9bc18d7115fe8a25c9934b5;p=modules%2Fvisu.git To introduce ID's mapping (improve MeshOnEntity ID's mapping) --- 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();