From 912ae0f27012ccd8a47e497febd3af082a3a7601 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 3 Oct 2005 12:10:04 +0000 Subject: [PATCH] To adjust to polygonal and polyedral datas --- src/CONVERTOR/VISU_Convertor_impl.cxx | 3 + src/CONVERTOR/VISU_MedConvertor.cxx | 97 +++++++++++++++++++++------ 2 files changed, 81 insertions(+), 19 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index 94a61b7e..8b81fe72 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -282,6 +282,9 @@ namespace VISU if(aLeft->myGeom != aRight->myGeom) return aLeft->myGeom < aRight->myGeom; + if(aLeft->myStatus != aRight->myStatus) + return aLeft->myStatus < aRight->myStatus; + return aLeft->myName < aRight->myName; } diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 54d2037e..dae99499 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -173,7 +173,7 @@ namespace const MED::TGeom2Profile& theGeom2Profile) { vtkIdType aVGeom = MEDGeomToVTK(theMGeom); - vtkIdType aVNbNodes = VTKGeom2NbNodes(theMGeom); + vtkIdType aVNbNodes = VTKGeom2NbNodes(aVGeom); PMEDSubProfile aSubProfile(new TMEDSubProfile()); aSubProfile->myGeom = aVGeom; @@ -260,7 +260,8 @@ namespace } } INITMSG(MYDEBUG, - "- aVGeom = "<