[vtkusers] writing only the point data information for vtp

Bill Lorensen bill.lorensen at gmail.com
Wed Mar 11 14:43:26 EDT 2015


You might be able to create another vtkPolyData and just set its
PointData to the PointData of your original polydata.

On Wed, Mar 11, 2015 at 12:36 PM, Chiranjib Sur <sur.chiranjib at gmail.com> wrote:
> Hi All,
> I am using the class vtkXMLPolyDataWriter to write polydata in my vtp file.
> Is there any way, that I can write only the PointData and  ignore the rest
>
> <CellData>...</ CellData>
> <Points>...</ Points>
> <Verts>...</ Verts>
> <Lines>...</ Lines>
> <Strips>...</ Strips>
> <Polys>...</ Polys>
>
> If I want to do this, do I have to write my own writer class ?
>
> Thanks,
> Chiranjib
>
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list