]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Fri, 27 Apr 2007 15:56:00 +0000 (15:56 +0000)
committerapo <apo@opencascade.com>
Fri, 27 Apr 2007 15:56:00 +0000 (15:56 +0000)
src/PIPELINE/VISUPipeLine.cxx

index ed66b879f5142a2fd240664300b8ff6becc06daf..7a07a67685d4bfe9e7f3fd71e47a9688499f0658 100644 (file)
@@ -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();