[vtkusers] time-series; streaklines

Robert Belleman robbel at wins.uva.nl
Thu Sep 7 04:33:12 EDT 2000


On Wed, Sep 06, 2000 at 03:08:01PM -0500, Randy Heiland wrote:
> Before I start thinking about this too hard and hurt my brain, has
> anyone given much thought/work towards an implementation of
> streaklines/particles for time-dependent vector fields within VTK?

I'm not sure exactly whether you mean particle visualization in vector
fields that change over time or animated particle releases in a static
vector field. If you mean the latter; I have played with vtkStreamLine to
create animated particle releases.

Attached you will find a Vtk/Tcl script and an example data set that
illustrate the idea. I have stripped it of all decorative code in the
hope that it's simple enough to understand. The basic idea is to use the
data generated by vtkStreamLine to animate a sphere-shaped particle over
the positions of the streamline.

Good luck,
-- Rob

[] Robert Belleman         X  Section Computational Science            []
[] robbel at wins.uva.nl     |X| University of Amsterdam, the Netherlands []
[] tel: (+31) 20 525 7510  X  http://www.wins.uva.nl/~robbel/          []
-------------- next part --------------
A non-text attachment was scrubbed...
Name: particles.tcl
Type: application/x-tcl
Size: 3799 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20000907/f943ff90/attachment.tcl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reactor.vtk.gz
Type: application/x-gunzip
Size: 102572 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20000907/f943ff90/attachment.bin>


More information about the vtkusers mailing list