[Paraview] Change to Show Times from PVD Files

Kent Eschenberg eschenbe at psc.edu
Thu Nov 30 11:05:08 EST 2006


With these changes the times from a pvd file will be displayed as an annotation.

The times provided by the pvd reader will be initialized to the integer index of the timestep (0, 1, 2, ...). However, if you add the attribute "timevalue" to the "DataSet" tag then the timevalues will be used instead. A line in the pvd file that uses
this feature would look something like this:

   <DataSet timestep="2" timevalue="0.03" part="9" file="time2/part9.vtu"/>

Tested with version 2.4.4. The following files are attached:

   <source>/Servers/Filters/vtkPVDReader.cxx
   <source>/Servers/Filters/vtkPVDReader.h
   <source>/Servers/ServerManager/Resources/readers.xml

Kent
Pittsburgh Supercomputing Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readers.xml
Type: text/xml
Size: 57554 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20061130/1dbef58c/readers-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPVDReader.cxx
Type: application/octet-stream
Size: 3197 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20061130/1dbef58c/vtkPVDReader-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPVDReader.h
Type: application/octet-stream
Size: 1895 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20061130/1dbef58c/vtkPVDReader-0003.obj


More information about the ParaView mailing list