[vtkusers] Generate Imagedata
Imre Goretzki
goretzki.imre at gmail.com
Tue Dec 8 04:10:01 EST 2015
Use
vtkXMLPolyDataWriter
to write your data:
vtkSmartPointer<vtkXMLPolyDataWriter > writer=
vtkSmartPointer<vtkXMLPolyDataWriter >::New();
writer->SetFileName("test.vtp");
#if VTK_MAJOR_VERSION <= 5
writer->SetInput(polydata);
#else
writer->SetInputData(polydata);
#endif
Am 08.12.2015 um 10:06 schrieb saravanakumar:
> Hi,
> I need to create .vtp files from the TIFF Image.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-to-write-vtp-files-tp5734916p5735386.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151208/d02f1ac6/attachment.html>
More information about the vtkusers
mailing list