<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>What version of ParaView are you using?<br><br></div>From my testing it looks like each direction for the stream tracer seeds has a separate reason for termination in PV 5.3 -- see the attached image. The domain is a box with length 20 on each side, the velocity is [1, 0, 0], the seeds are a line source going from min to max of the bounding box ([-10, -10, -10] to [10,10,10]). The red is for when the maximum streamline length has exceeded my specified max length of 5 and the blue is for when the streamline exited the domain.<br><br></div>Is there a case where the same reason for termination value is being used for multiple termination criteria?<br><br></div>You can use the SeedIds cell data array in the Threshold filter or use the Edit->Find Data option to select a given streamline from the seed id. <br><br></div>Cheers,<br></div>Andy<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 2:24 PM, Liang Wang <span dir="ltr"><<a href="mailto:frank0734@gmail.com" target="_blank">frank0734@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">If the IntegrationDirection is set to BOTH, the two segments of the streamlines from the seed might terminate for different reasons. For example, one end might end due to STAGNATION, the other due to OUT_OF_DOMAIN. When coloring by ReasonForTermination, then the two segments are colored differently.<div><br></div><div>My question is: Can a user create more cases of ReasonForTermination so that we can tell examples like above? Or, how can I select individual streamlines by its SeedIds (I tried IdsSelection, but that appears to work for cell/point data only, not for polydata?)</div><div><br></div><div>My current solution is to use threshold filter to select lines in the different regions and apply different solid colors. But it would be nice if I can handle a few different cases more directly, even if that involves some coding in C++ or Python.</div><div><br></div><div>Thanks.</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/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>