[vtkusers] Attaching meta data to vtkPolyline/vtkPolydata

Alex Malyushytskyy alexmalvtk at gmail.com
Fri May 24 14:42:40 EDT 2013


Polydata can manage data associated with nodes ( scales number of nodes),
cell or with polydata  itself.
In general you are forced to put arrays into nodal or cell data in order to
display them, but you might chose to store any type of your data in above
mentioned forms.
It is entirely up to you,










On Fri, May 24, 2013 at 5:32 AM, Luke Bloy <luke.bloy at gmail.com> wrote:

> Hi all, ****
>
> ** **
>
> In my application I generate a large number of polylines, which I then
> collect into a polydata object to store. What I would like to do is to
> attach some meta data to each polyline. I have thought about using the
> SetPointdata or SetCelldata of the polydata object but since this
> information is related directly to the lines themselves that seems like a
> less than ideal solution. SetCellData seems like it might be a possibility
> but I’m not entirely sure what it’s intended usage was.****
>
> ** **
>
> So I’m here for ideas on best to handle this.****
>
> ** **
>
> Thanks for the help.****
>
> Best,****
>
> Luke****
>
> _______________________________________________
> 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/20130524/a2abfaab/attachment.htm>


More information about the vtkusers mailing list