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<EDataType>::TResult TVTKDataArray;
TVTKDataArray *aSelectedDataArray = TVTKDataArray::New();