[vtkusers] vtkStreamTracer Multiple start positions

Rocco Gasteiger post at rocco-gasteiger.de
Fri Sep 23 10:53:33 EDT 2011


Hi Tijmen,

 

Just an idea but you can create a vtkPolyData where you only specify your
number of points (as vtkPoints) and use this dataset as input for
setSource(). I think this should work.

 

Best regards, Rocco

 

Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag
von Tijmen Klein
Gesendet: Freitag, 23. September 2011 16:33
An: vtkusers at vtk.org
Betreff: [vtkusers] vtkStreamTracer Multiple start positions

 

Hello Everyone,

 

I am wondering what the easiest method is to specify multiple start
positions for a vtkStreamTracer. For example, if I want to trace 5 lines
from 5 arbitrary start positions, what would be the most convenient way to
do this? This will probably involve the setSource() or SetSourceConnection()
method, but I do not know how to specify arbitrary input points for these
method. The examples don't show this either, one uses a single point as
input, the other a vtkLineSource and vtkPointSource (which is for random
points).

 

Cheers,

Tijmen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110923/57d3ca65/attachment.htm>


More information about the vtkusers mailing list