[Paraview] End Location of Stream lines obtained with vtkStreamTracer
Moreland, Kenneth
kmorel at sandia.gov
Tue Apr 18 10:52:29 EDT 2017
There is no direct way to get the end location. However, the stream tracer generates a single polyline cell for each point that it traces. You can look at each polyline cell and get its last point. Then look up the point coordinates in the vtkPoints object. That will be the location of the termination of each stream line.
Note that the stream tracer by default follows streams both forward and backward, and you will get the ends for both.
-Ken
From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of philipp jung
Sent: Tuesday, April 18, 2017 3:51 AM
To: paraview at paraview.org
Subject: [EXTERNAL] [Paraview] End Location of Stream lines obtained with vtkStreamTracer
Dear all,
I was wondering if and how it is possible to access the end location of stream lines obtained with the vtkStreamTracer within a custom vtk class. I found this (http://www.vtk.org/Wiki/VtkStreamTracer) wiki article explaining how one can access the reason for determination of stream lines.
Maybe one can access the end location similarly.
Any help is much appreciated.
Best Regards,
Philipp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170418/42ab4838/attachment.html>
More information about the ParaView
mailing list