[vtkusers] Program to write .VTK
Renan Leser
leser21 at gmail.com
Thu Feb 12 03:01:16 EST 2009
Hello everybody,
I'm searching for a program to write some .DAT files in .VTK format.
These .DATs contains grid structure, scalars and vectors. I'm writing them *
manually* in .VTK, like these:
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET STRUCTURED_POINTS
*DIMENSIONS 387 312 1 *
SPACING 1 1 1
ORIGIN 0 0 0
*POINT_DATA 120744 *
SCALARS batimetria float
*LOOKUP_TABLE default
0.0000000e+000 0.0000000e+000 0.0000000e+000 0.0000000e+000
0.0000000e+000...
0.0000000e+000 0.0000000e+000 0.0000000e+000 0.0000000e+000
0.0000000e+000...*
...
The DAT files holds the grid, then I spent lots of time copying and pasting
the grid form .DAT to *LOOKUP_TABLE default*, and writing the *dimensions
and point data*.
Since I'm working with large time data-steps files, I would like to known if
anybody use or recommend a program to speed up this process.
Thanks a lot,
Renan.
--
Renan Leser de Medeiros
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
P.O.Box 68552 - ZIP 21949-900
Rio de Janeiro, RJ, Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090212/09d77d1a/attachment.htm>
More information about the vtkusers
mailing list