[vtkusers] reading a vtu file with vtkXMLUnstructuredGridReader

Murat Aydın murat.aydin at netcad.com.tr
Mon Dec 7 09:29:49 EST 2009


Hi,

Block is a result of the following pipeline:

vtkDelaunay3D-> vtkTransformFilter - > 
vtkTransformFilter->vtkTransformFilter -> vtkVoxelModeller -> 
vtkThreshold -> vtkTransformFilter - > 
vtkTransformFilter->vtkTransformFilter

so its a vtkUnstructuredGrid.

Kind Regards,

murat
----- Original Message ----- 
From: "David Doria" <daviddoria+vtk at gmail.com>
Cc: <vtkusers at vtk.org>
Sent: Monday, December 07, 2009 3:43 PM
Subject: Re: [vtkusers] reading a vtu file with vtkXMLUnstructuredGridReader


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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 




More information about the vtkusers mailing list