<div dir="ltr"><div>Thanks. I need to do everything in terms of pipeline connections. Casting back to polydata works for if you're doing everything as a stand-alone dataset, but as far as I'm aware, you can't do that in terms of a pipeline. My pipeline is:<br><br><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>vtkPolyData->vtkExtractSelecte<wbr>dIds->vtkWarpVector->vtkDistan<wbr>ceToCamera->vtkGlyph3D<br><br></span></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>I add the points and arrays to the polydata at the beginning. They just aren't around anymore by the time I get to vtkGlyph3D and it seems like vtkWarpVector is the culprit. Everything is connected with SetInputConnection and it seems that polydata doesn't have an output port so it has to be at the beginning and can't get created in the middle. I can't use your workaround to get the arrays back in there. :/<br></span></span></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 7:49 AM, Charles Kind <span dir="ltr"><<a href="mailto:charles.kind@bristol.ac.uk" target="_blank">charles.kind@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As long as the arrays match the points you can move them between VTK data<br>
structures. I move arrays freely between polydata and structured grid in<br>
particular due to the nature of my research. I am not sure of your exact set<br>
up, maybe some pseudo code would help me understand.<br>
In my current VTK app I reconstruct with nearly every change/filter apart<br>
from subsampling which requires all arrays attached, some arrays I leave in<br>
their original data formats and only copy them over before creating actors<br>
and rendering. Again this may not be the 'correct' way of doing things and<br>
can be horribly memory intensive.<br>
<div class="HOEnZb"><div class="h5"><br>
Charlie<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>