[vtkusers] reading a vtu file with vtkXMLUnstructuredGridReader

David Doria daviddoria+vtk at gmail.com
Mon Dec 7 08:43:27 EST 2009


2009/12/7 Murat Aydın <murat.aydin at netcad.com.tr>:
> Hi,
>
> How can i prevent generating CellData and PointData XML elements?
> Should i manually delete CellData and PointData XML elements?
>
> Kind Regards
>
> murat

Try first opening the output file in paraview. If the output is not
right, of course the input when you read it will not be right.

I'm not sure about this cast:
w.SetInput(((vtk.vtkUnstructuredGrid)block));

you don't explain what 'block' is.

Thanks,

David



More information about the vtkusers mailing list