<div dir="ltr">Thanks David! That was exactly what I was looking for. Can I store a string array into FieldData?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 3:17 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Donny,<div><br></div><div>The usual way of doing this is by adding FieldData arrays to the VTK data objects:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/FieldData" target="_blank">http://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/PolyData/<wbr>FieldData</a><br></div><div><br></div><div>The field data can be retrieved from the data object during a pick.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div> - David</div></font></span><div><div class="h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 1:56 PM, Donny Zimmerman <span dir="ltr"><<a href="mailto:zmanvortex@gmail.com" target="_blank">zmanvortex@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have tried asking this question before without response so i am going to try to explain one of my use cases in hopes of clarifying the question.<div><br></div><div>I have vtkactors that are polyline and/or polygon objects that I am rendering. These polyline/polygons represent National Weather Service watch and warning areas. I would like to allow the user to pick a polygon and I will pop up a window with the watch/warning information text. I need a way to store some kind of ID with the actor so that when it is picked I am able to look up the correct informative text from my database. I am struggling with finding a way to store some kind of metadata with the vtkactor that can be referenced when picked. Any help would be appreciated.</div><div><br></div><div>Thanks.</div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>