[vtk-developers] Problem with Unstructured Grid Binary VTK File
Fanis Kalatzis
tkalatz at cc.uoi.gr
Wed May 17 09:30:06 EDT 2006
Hello,
I have a binary vtk file which is output from OpenFOAM.
Paraview correctly opens the vtk file and denotes that theres is the
scalar filed "p" and the vector field "V"
I have developed a code using vtk5.0.0 library to display the vtk model
colored with the scalar values
but, i can't read the scalar field.
Actually: the
reader->ReadNumberOfScalars();
returns 0
The same code works ok for other vtk examples returning the correct
number of scalars or vector fields.
Thanks,
for any help.
More information about the vtk-developers
mailing list