[vtkusers] Program to write .VTK

Berk Geveci berk.geveci at kitware.com
Thu Feb 12 08:39:30 EST 2009


Can you describe in detail what the .dat format looks like?

-berk

On Thu, Feb 12, 2009 at 3:01 AM, Renan Leser <leser21 at gmail.com> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list