[vtkusers] increase the number of points on a streamline
Yifei Li
yifli82 at gmail.com
Tue Feb 28 11:40:16 EST 2012
Hi all,
I use vtkStreamTracer to trace streamlines as follows:
integ = vtk.vtkRungeKutta45()
self.streamer = vtk.vtkStreamTracer()
self.streamer.SetComputeVorticity(True)
self.streamer.SetIntegrator(integ)
self.streamer.SetIntegrationDirectionToBoth()
self.streamer.SetMaximumPropagation(2000)
However, when I tried to increase the number of points on a streamline by
calling
self.streamer.SetMaximumIntegrationStep(0.01)
The generated streamlines are much shorter than previous ones.
So what is the correct way to make vtkStreamTracer to generate more points
along a streamline?
Thanks
Yifei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120228/5792b2e3/attachment.htm>
More information about the vtkusers
mailing list