[Paraview-developers] Time-varying data reader
David E DeMarle
dave.demarle at kitware.com
Thu Aug 23 17:35:08 EDT 2012
To make uniformly increasing time denoted in numbered file sequences,
encapsulate your reader in a sub proxy of a vtkFileSeriesReader. See
readers.xml for numerous examples of that.
If you need nonuniform temporal spacing or need to improve upon the
file series reader's IO performance, make your reader supply temporal
information and respond to time requests appropriately in
RequestInformation and RequestData respectively. See
vtkTimeSourceExample for an example of that.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Aug 23, 2012 at 5:22 PM, Joe Ping-Lin Hsiao <phsiao at cs.unc.edu> wrote:
> Hi,
>
> I have written a customized reader in ParaView which reads 3D stacks.
> Now I'd like to add the function of reading time-varying data to it,
> so I can create animations from stacks.
>
> ParaView has this function already. If I convert time-varying stacks
> and name them stack001.vtk, stack002.vtk, and etc, ParaView would
> recognize the sequence and load them in at once, and I'd be able to
> play the animation just by clicking the 'Play' icon.
>
> I wonder is there any example of how to do that to a reader?
>
> Thanks,
> Joe
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list