[vtk-developers] Problem with Unstructured Grid Binary VTK File

Berk Geveci berk.geveci at gmail.com
Wed May 17 16:08:26 EDT 2006


Can you post a small example data file?

On 5/17/06, Fanis Kalatzis <tkalatz at cc.uoi.gr> wrote:
>
> 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.
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20060517/0783fc60/attachment.html>


More information about the vtk-developers mailing list