From 8c6e0520096db7fd1c602c6c08c72a3e30f7db87 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 28 Dec 2006 06:52:32 +0000 Subject: [PATCH] To generalize implementation of direct passing MED node coordinates to VTK (for GaussPoint coords) --- src/CONVERTOR/VISU_Convertor_impl.cxx | 39 ++++++++++++++++++--------- src/CONVERTOR/VISU_Convertor_impl.hxx | 5 ++-- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index fe77253d..f632a6f1 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -308,6 +308,31 @@ namespace VISU TPointCoords ::GetPoints() const { + if(!myIsVTKDone){ + vtkIdType aNbPoints = GetNbPoints(); + vtkIdType aDim = GetDim(); + + INITMSG(MYDEBUG,"TPointCoords::GetPoints - aNbPoints = "<