[Paraview-developers] Loading file sequences in reader plugins

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jun 4 16:16:16 EDT 2015


Hanqi,

Look at this [1]. We do the same for *.vtk file reader. You can simply
setup the XML that user your reader as the internal reader to use for
reading the file series.

Utkarsh

[1]
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml#L4042-4089


On Thu, Jun 4, 2015 at 3:34 PM Hanqi Guo <guohanqi at gmail.com> wrote:

> Hi,
>
> I've written a reader plugin, which works fine for loading single files
> right now. I would like to further load a sequence and animate them. In the
> dataset, each time frame is stored in a separate file, e.g.
>
>   GL3D_Xfieldramp_inter_0000_cop.dat
>   GL3D_Xfieldramp_inter_0001_cop.dat
>   ..
>   GL3D_Xfieldramp_inter_1000_cop.dat
>
> Each file also has the wall time of the simulation. Seems ParaView can
> automatically detect the file patterns as
> "GL3D_Xfieldramp_inter_.._cop.dat". I notice that there is an "animateable"
> option in the plugin configuration. Are there any examples, or what is the
> canonical way to load file sequences? Thanks.
>
> Best,
> Hanqi Guo
>
> --
> Hanqi Guo
>  _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150604/fbe5d677/attachment.html>


More information about the Paraview-developers mailing list