[Paraview] Animating simple legacy formats files

John Biddiscombe biddisco at cscs.ch
Mon Jun 25 11:18:05 EDT 2007


Perhaps time would be better spent writing a very simple vtk to vtk* 
command line utility that could be compiled as part of the test suite 
and integrated into the script posted earlier

vtkDataSetReader->SetFileName
Update
GetOutput()

switch type
case : write XML poly
case : write XML image
case : write XML unstructured
...

for each vtk file



>>  You mentioned  using vtu files; are you sure the same method will 
>> work for
>> the legacy vtk format that Hom is using? I've been under the 
>> impression that
>> Paraview 3 doesn't support timesteps with that format, and that the 
>> xml and
>> legacy formats can't be mixed. I'd be happy to learn otherwise, though,
>> since I've also been using legacy vtk files for unstructured grids of 
>> FEM
>> data, and could animate them in earlier Paraview versions. (My plan 
>> so far
>> has been to switch to the .vtu format and then use a pvd file, as you 
>> said.)
>
> I am afraid it is not possible to point to .vtk files from a .pvd
> file. A pvd file can only point to .vtX files (X being s, i, p, u
> ...). We are working on adding  the time series animation support to
> ParaView 3 now. It will be in 3.2 (to be release at the end of
> summer).
>
> -berk
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82



More information about the ParaView mailing list