Can you post a small example data file?<br><br><div><span class="gmail_quote">On 5/17/06, <b class="gmail_sendername">Fanis Kalatzis</b> <<a href="mailto:tkalatz@cc.uoi.gr">tkalatz@cc.uoi.gr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 Hello,<br><br> I have a binary vtk file which is output from OpenFOAM.<br> Paraview correctly opens the vtk file and denotes that theres is the<br>scalar filed "p" and the vector field "V"<br><br> I have developed a code using 
vtk5.0.0 library to display the vtk model<br>colored with the scalar values<br> but, i can't read the scalar field.<br> Actually: the<br><br> reader->ReadNumberOfScalars();<br><br>returns 0<br><br> The same code works ok for other vtk examples returning the correct
<br>number of scalars or vector fields.<br><br><br> Thanks,<br>  for any help.<br>_______________________________________________<br>vtk-developers mailing list<br><a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org
</a><br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br></blockquote></div><br>