<div dir="ltr"><div dir="auto"></div><div class="gmail_extra">Robby,</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you can post a complete compilable C++  or Python example with a small dataset we can take a look.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Bill<br><div class="gmail_quote">On Dec 20, 2017 10:42 PM, "Robby Aungst" <<a href="mailto:robert.aungst@gmail.com" target="_blank">robert.aungst@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Hello,<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">I'm having an issue where my end
 goal is to be able to have a set of warped points displaying a variety 
of glyphs with different colors and scales. I'm able to get it to work 
without the vtkWarpVector introduced to the pipeline, but as soon as 
that is introduced the array that I'm using for the indexes seems to no 
longer be found (as well as the scalar data), and the glyph defaults to 
the first in the set and no longer uses the scalar data for color. Is 
there something about vtkWarpVector where it doesn't pass along arrays?<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">My working pipeline is:<br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>vtkPolyData->vtkExtractSelecte<wbr>dIds->vtkDistanceToCamera->vtk<wbr>Glyph3D<br><br></span></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>I store a vtkIntArray on the vtkPolyData with </span><span style="background-color:rgb(228,228,255)">self</span>.pointSet.GetPointData().</span></font><font size="2"><span style="font-family:arial,helvetica,sans-serif">A<wbr>ddArray(indexArray) and then later use it on the vtkGlyph3D<span style="background-color:rgb(228,228,255)"> to set the indexes into my glyph table: self</span>.glyph.</span></font><font size="2"><span style="font-family:arial,helvetica,sans-serif">SetInputArrayToProc<wbr>ess(<span style="color:rgb(0,0,255)">0</span>, <span style="color:rgb(0,0,255)">0</span>, <span style="color:rgb(0,0,255)">0</span>, <span style="color:rgb(0,0,255)">0</span>, <span style="color:rgb(0,128,128);font-weight:bold">"indexes"</span>). This works great, but when I change the pipeline to:<br><br><span></span></span></font><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>vtkPolyData->vtkExtractSelecte<wbr>dIds->vtkWarpVector->vtkDistan<wbr>ceToCamera->vtkGlyph3D</span></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br><span></span></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>the
 vtkGlyph3D can no longer find the "indexes" array from the original 
polydata. It can still find the "DistanceToCamera" array which is used 
for the scale - I'm guessing because it gets created after the 
vtkWarpVector in the pipeline?</span></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span><br></span></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span>I
 don't think that vtkWarpVector is supposed to remove the arrays, so 
what's happening? Is there any other way to get the arrays to </span>SetInputArrayToProcess? Or some other way to combine vtkWarpVector and vtkGlyph3D?<br></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Thanks!</span></font></div></div>
<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/opensou<wbr>rce/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_FA<wbr>Q</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/listin<wbr>fo/vtkusers</a><br>
<br></blockquote></div></div>
</div>