[vtkusers] probe volume with thick line ( intensity profile with line radius or thickness )
david.gobbi at gmail.com
Sat Feb 3 14:51:18 EST 2018
VTK provides an easy way to replace each point on the line with many points:
replicate = vtk.vtkGlyph3D()
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
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.
The problem with using a tube is that it is hollow. Several concentric
tubes would be needed to get an average over various radii.
On Fri, Feb 2, 2018 at 11:37 PM, gregthom992 <gregthom992 at gmail.com> wrote:
> Hi all
> I can probe my volume with a line given two points of the line. That is
> and fine.
> Suppose I want to probe my volume with a thick line , i.e so that I can
> a line profile averaged over the thickness of the line. Is this possible
> with VTK ? I saw this post about visualizing a thick line but it creates
> actor. How could I proble the image data with the actor after setting the
> line width ?
> I thought about probing with TubeFilter but how to average that over the
> radius of the tube ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers