[vtkusers] vtkXMLStructuredGridWriter example
David Doria
daviddoria+vtk at gmail.com
Tue Nov 3 16:45:51 EST 2009
On Tue, Nov 3, 2009 at 4:07 PM, Абакумов Андрей <scratchboom at gmail.com> wrote:
> Hello All!
>
> Where can I find complete example to write a density in *.vts file using
> vtkXMLStructuredGridWriter?
>
> Thanks!
I'd imagine it is something like:
vtkSmartPointer<vtkXMLStructuredGridWriter> Writer =
vtkSmartPointer<vtkXMLStructuredGridWriter>::New();
Writer->SetInput(YourStructuredGrid);
Writer->SetFileName("test.vts");
Writer->Write();
Give that a shot and let us know how it goes.
Thanks,
David
More information about the vtkusers
mailing list