[vtkusers] How to create Sturctured Grid with vector data fields

Songbo Chen bobbydog102 at hotmail.com
Tue Aug 3 16:05:22 EDT 2004


Hi, now I am working with the STF(simple text format) vector files. What I am going to do is read the vector data from stf files and then use vector algorithm to represent it.

the question is:the stf vector data files only contain the vector data, like this:

NAME fibres
RANK 3
DIMENSIONS 229 159 150
BOUNDS -203 26 87 246 -149 1
VECTOR 3
INTERLACED
DATA
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000

But for creating a structured grid, from the example of the VTK book, it is said that I have to create points first, which is the dataset of vtkPoints and specify the geometry. 

How can I generate points from vector data of stf files?

Thanks in advanced that if anyone who can help me.


-----------------------------
Songbo Chen

bobbydog102 at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040803/d62fd9aa/attachment.htm>


More information about the vtkusers mailing list