From 6169d783e205fdf3e14ff1f565576c8aef46fa8b Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 27 Apr 2007 15:56:00 +0000 Subject: [PATCH] Minor changes --- src/PIPELINE/VISUPipeLine.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/PIPELINE/VISUPipeLine.cxx b/src/PIPELINE/VISUPipeLine.cxx index ed66b879..7a07a676 100644 --- a/src/PIPELINE/VISUPipeLine.cxx +++ b/src/PIPELINE/VISUPipeLine.cxx @@ -133,6 +133,19 @@ CreateColoredPL(VISU_Convertor* theConvertor, theFieldName, theTimeStampNumber); aPresent->SetUnstructuredGridIDMapper(anUnstructuredGridIDMapper); + //aPresent->ClearGeometry(); + //{ + // VISU::PUnstructuredGridIDMapper anIDMapper = + // theConvertor->GetMeshOnGroup(theMeshName, + // "TUBEH "); + // aPresent->AddGeometry(anIDMapper->GetOutput()); + //} + //{ + // VISU::PUnstructuredGridIDMapper anIDMapper = + // theConvertor->GetMeshOnGroup(theMeshName, + // "STRI "); + // aPresent->AddGeometry(anIDMapper->GetOutput()); + //} return aPresent; } @@ -151,6 +164,7 @@ main(int argc, char** argv) iren->SetRenderWindow(renWin); VISU_Convertor* aConvertor = CreateConvertor(argv[1]); aConvertor->BuildEntities(); + aConvertor->BuildGroups(); aConvertor->BuildFields(); aConvertor->BuildMinMax(); const VISU::TMeshMap& aMeshMap = aConvertor->GetMeshMap(); -- 2.39.2