[vtkusers] GetNumberOfScalarsInFile only reads only first scalar and first vector

Martin Baumann mailsgetlost at web.de
Tue Oct 31 10:44:44 EST 2006


Hi,

I am using vtkUnstructuredGridReader to read a grid file that contains 6
scalar fields and one vector field.
Even though I activated reading all fields
  _reader->ReadAllScalarsOn();
  _reader->ReadAllVectorsOn();
the functions GetNumberOfScalarsInFile() and GetNumberOfVectorsInFile()
return 1.
Does anyone have similar problems or knows what goes wrong?

Regards, M.B.



More information about the vtkusers mailing list