From: apo Date: Fri, 27 Apr 2007 15:56:00 +0000 (+0000) Subject: Minor changes X-Git-Tag: mergeto_BR_Dev_For_4_0_21May07~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6169d783e205fdf3e14ff1f565576c8aef46fa8b;p=modules%2Fvisu.git Minor changes --- 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();