<div dir="ltr"><div>Hi Greg,</div><div><br></div><div>VTK provides an easy way to replace each point on the line with many points:</div><div><br></div><div>replicate = vtk.vtkGlyph3D()</div><div>replicate.SetInputConnection(lineSource.GetOutputPort())</div><div>replicate.SetSourceConnection(otherSource.GetOutputPort())</div><div><br></div><div>The output of "replicate" will replace each single point in "lineSource" with all of the points in "otherSource".  For example, "otherSource" could be a short line at a right angle to the original line.  The result would be a ribbon.  Or "otherSource" could be a </div><div><br></div><div>So if "otherSource" has N points, then after probing with the replicate output, it would be necessary to average every "N" points in order to get the value of each point on the "thick" line. </div><div><br></div><div>The problem with using a tube is that it is hollow.  Several concentric tubes would be needed to get an average over various radii.</div><div><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"> - David</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 2, 2018 at 11:37 PM, gregthom992 <span dir="ltr"><<a href="mailto:gregthom992@gmail.com" target="_blank">gregthom992@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
I can probe my volume with a line given two points of the line. That is good<br>
and fine.<br>
<br>
            lineSource=vtk.vtkLineSource()<br>
            lineSource.SetPoint1(prf_<wbr>start)<br>
            lineSource.SetPoint2(prf_stop)<br>
            probeFilter=vtk.<wbr>vtkProbeFilter()<br>
            probeFilter.<wbr>SetInputConnection(lineSource.<wbr>GetOutputPort())<br>
<br>
Suppose I want to probe my volume with a thick line , i.e so that I can have<br>
a line profile averaged over the thickness of the line. Is this possible<br>
with VTK ? I saw this post about visualizing a thick line but it creates and<br>
actor. How could I proble the image data with the actor after setting the<br>
line width ?<br>
<a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/LineWidth" rel="noreferrer" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Visualization/<wbr>LineWidth</a><br>
<br>
I  thought about probing with TubeFilter but how to average that over the<br>
radius of the tube ?<br>
<br>
Thanks<br>
<br>
GT<br></blockquote></div></div></div>