RES: RES: [Paraview] VTK formats and Fortran (again...)

Renato N. Elias rnelias at nacad.ufrj.br
Fri Apr 13 20:04:28 EDT 2007


First of all I'd like to thank Fred, Kent and Bruno for the help...

I've finally got something working here... Fortran, Binary and VTK
(unfortunately only the Legacy format...)

I left a very simple Fortran90 program available in
http://www.nacad.ufrj.br/~rnelias/paraview/VTKFormat.f90 . Please, if you
find what's wrong with the XML version contact me.

Now, I have another very silly doubt regarding the Legacy format:

-- What is a "partitioned VTK Legacy" file? Would it be a simple VTK Legacy
file with *.pvtk extension?! 

BTW, I can't understand why there is a bunch of different file extensions
for those XML/VTK based files... if they are all XML files why they should
be distinguished by their extension and not by a simple XML tag?!
 
Regards

Renato N. Elias
===============================================
PhD student - http://www.nacad.ufrj.br/~rnelias
High Performance Computing Center (NACAD)
Federal University of Rio de Janeiro (UFRJ)
Rio de Janeiro, Brazil 


 
-----Mensagem original-----
De: paraview-bounces+rnelias=nacad.ufrj.br at paraview.org
[mailto:paraview-bounces+rnelias=nacad.ufrj.br at paraview.org] Em nome de fred
Enviada em: Friday, April 13, 2007 07:55
Para: vtkusers at vtk.org
Cc: paraview at paraview.org
Assunto: Re: RES: [Paraview] VTK formats and Fortran (again...)

Renato N. Elias a écrit :
> Fred wrote: You also have ASCII and binary (not base64) formats.
>
> I've reread and found this information hidden in the VTK file format's
> guide. A footnote in page 12 which says:
>
> "* There is one case in which the file is not a valid XML document. ***
When
> the AppendedData section is not encoded as base64,
> raw binary data *** is present that may violate the XML specification.
This
> is not default behavior, and must be explicitly enabled
> by the user."
>
>   
Yes, I know this, but not a problem for me.
By the way, XML base64 files size are little bigger than binary.
> However, there is no further information regarding such form of writing
raw
> binary data in "XML files" for VTK and PV. I'll try to write a file with
raw
> binary data in the AppendedData section to see what happen.
>   
I began to write my C code to write legacy VTK files, which does not 
require any VTK libs.
Then, I added a few routines, which do use VTK libs, to write my files 
in XML.
But once again, only in C.
But if it can help...

-- 
/F

_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list