From c480bfdced1095fbe6595a432478cc00113e3cdd Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 29 Dec 2006 14:59:00 +0000 Subject: [PATCH] To apply the Gauss Points data to VTK points, not to cells to use them in direclt vtkWarpVector filter for applying deformation --- src/CONVERTOR/VISU_Convertor_impl.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index 730d4d63..9f5ef876 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -1759,14 +1759,7 @@ namespace VISU vtkIdType aNbTuples = theSource->GetNumberOfPoints(); std::string aFieldName = VISU::GenerateFieldName(theField, theValForTime); - vtkDataSetAttributes* aDataSetAttributes; - switch(theField->myEntity){ - case VISU::NODE_ENTITY : - aDataSetAttributes = theSource->GetPointData(); - break; - default: - aDataSetAttributes = theSource->GetCellData(); - } + vtkDataSetAttributes* aDataSetAttributes = theSource->GetPointData(); typedef typename TL::TEnum2VTKArrayType::TResult TVTKDataArray; TVTKDataArray *aSelectedDataArray = TVTKDataArray::New(); -- 2.39.2