[vtkusers] writers

Hila Hiler hilahiler at gmail.com
Tue May 15 08:00:01 EDT 2012


Hi Gonza,

As far as I know,
vtkXMLPolyDataWriter is preserved the data which returns from the filters
that your poly has manipulated.
so, if you open your poly (after the saving process) in Paraview (which is
VERY helpful to poly visualization) you will be able to view that data.

for example, I had a poly which was manipulated by BBDicer filter. the
output is some arrays of vtkIdType (indexes on the poly) which each of them
represents the region in that poly that has divided by this filter.

So, as for your question, most of the data is maintained by the XMLWriter-
so use this for vtkPolyData ...

Good Luck
Hila

On Tue, May 15, 2012 at 1:18 PM, Gonzalo Amadio <gonzaloama at yahoo.com.ar>wrote:

> What is the difference between VtkPolyDataWriter and VtkXMLPolyDataWriter ?
>
> Is one better ?
>
> In my case I transform an mitk::image to a polydata with
>  mitk::ImageToSurfaceFilter. And then I want to save the result to see if
> the filter is working properly.
>
> Thank you!
> --
> --------
> Gonzalo
>
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120515/b7dc0c76/attachment.htm>


More information about the vtkusers mailing list