Hi Andras Lasso,
I got a 3D Vector Field represented by a vtk ascii file this:
<pre># vtk DataFile Version 3.0
Data converted from AVS by write_vtk module
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 30 30 10
ORIGIN 0.000000 0.000000 0.000000
SPACING 1.000000 1.000000 1.000000
POINT_DATA 90000
VECTORS data float
-7 -9 20
-6.5 -9.2 20
... </pre>
Such that the first line of the vectors (-7 -9 20) is the Vector at position 0 0 0 and the very last line is the vector at position 30 30 10.
I want to read in these Vektors and visualize the vectorfield on the one hand. But on the other hand i want to be able to have a function givemevector(x,y,z), which returns the vector at given position (x,y,z)
I didn't get to work any of those things.
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Re-Read-Vector-Field-from-Structured-Point-VTK-file-tp5741498p5741576.html">Re: Read Vector Field from Structured Point VTK file</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>