<div dir="ltr"><div><div><div>Hi Dorian,<br><br></div>Try applying the clip to the original data before you apply the glyphs. That should do what you want. The data will be clipped and then the glyphs will be applied later and not restricted by the bounds of the clip.<br><br></div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 1:25 PM, Dorian Pustina <span dir="ltr"><<a href="mailto:albnet@gmail.com" target="_blank">albnet@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">Thank you Samuel,<div><br></div><div>The "Clip-> Box" filter is definitely better, but it still cuts out portions of arrows. I am ataching a picture for illustration.</div><div><br></div><div><img src="cid:ii_15820e79c0e47968" alt="Inline image 1" width="472" height="334"><br></div><div><br></div><div>These issues seem to arise because the arrows are not seen as unitary objects, but as a tube and a pointer. Using cones instead of arrows is not useful, the cones do not respect the start and end points same as arrows.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dorian</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 12:03 PM, Samuel Key <span dir="ltr"><<a href="mailto:samuelkey@bresnan.net" target="_blank">samuelkey@bresnan.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p><tt>Dorian,</tt></p>
<p><tt>Try the CLIP filter with a box.</tt></p>
<p><tt>Sam Key</tt><br>
</p><div><div class="m_-123788715650415394h5">
<br>
<div class="m_-123788715650415394m_3901862981593099601moz-cite-prefix">On 11/1/2016 9:34 AM, Dorian Pustina
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="m_-123788715650415394h5">
<div dir="ltr">Thank you both for the suggestions. I managed to
have the arrows via python calculator, but couldn't make the
Temporal Particles to Pathlines filter produce arrows.
<div><br>
</div>
<div>Can I bug you with another question?</div>
<div><br>
</div>
<div>I want to apply a Slice filter to see the arrows that
depart from that slice. But the filter in Paraview just cuts
through the objects in that slice, it doesn't show the whole
arrows. It also does not have any tolerance (i.e., to pick
points 2mm before and after the slice). Is there another way
to get a slice with full arrows, and have some tolerance to
pick up more points before and after the slice?</div>
<div><br>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 1, 2016 at 10:20 AM,
Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_-123788715650415394m_3901862981593099601m_-6606603899294626353m_-3876113942550507440WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If
you want to draw a line from point positions at
two subsequent time steps, you can use the
Temporal Particles To Pathlines filter, which
traces a line behind particles as they move
through space and time. When you use this filter
for your purposes, set Mask Points to 1 and Max
Track Length to 2. (You can increase Max Track
Length to lengthen the line to connect more than 2
timesteps.) Note that you will not see any lines
until you step time.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The
Temporal Particles to Pathlines filter actually
has two outputs. The first, named Pathlines,
contains the lines. The second, named Particles,
is a point at the end position of the line. You
can add a glyph to this output to create
arrow-like filters.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Ken</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@parav<wbr>iew.org</a>]
<b>On Behalf Of </b>Dorian Pustina<br>
<b>Sent:</b> Monday, October 31, 2016 8:09 PM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [EXTERNAL] [Paraview] Compute line
between coordinates</span></p>
<span>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hello everyone,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I am working on visualizing
some brain imaging data. I have a bunch of
points in 3D space, which have two sets of
coordinates: x1/y1/z1 and x2/y2/z2. All I need
is to show arrow glyphs starting from the
first coordinate and ending to the second
coordinate. I currently import the data as
csv. I tried using the time series option, and
I can loop through the two time points, but
can't find how to model a line or an arrow for
each point between the two times. I also tried
to compute what is called "velocity fields",
that is a set of 3 scalar factors that if
multiplied with the original coordinates would
yield the second coordinate (using
Calculator):</p>
</div>
<div>
<p class="MsoNormal">iHat*X snapped+jHat*Y
snapped+kHat*Z snapped</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Still, I don't get
reasonable results. The problem looks trivial
but I couldn't find any solution online after
hours of search. It is not even clear to me
what does the above formula do exactly.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Can someone help if this is
possible?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Dorian</p>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="m_-123788715650415394m_3901862981593099601mimeAttachmentHeader"></fieldset>
<br>
</div></div><span><pre>______________________________<wbr>_________________
Powered by <a class="m_-123788715650415394m_3901862981593099601moz-txt-link-abbreviated" href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="m_-123788715650415394m_3901862981593099601moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="m_-123788715650415394m_3901862981593099601moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a>
Search the list archives at: <a class="m_-123788715650415394m_3901862981593099601moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="m_-123788715650415394m_3901862981593099601moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a>
</pre>
</span></blockquote>
<br>
</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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</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>