[Paraview] Time-aware custom reader method to update filename in information tab?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Sep 28 15:20:14 EDT 2009
The xml for the vtkFileSeriesReader should have the following:
-------------------------------------------------------------------------------
<FileSeriesReaderProxy name="MyFileSeriesReader" ...>
* <StringVectorProperty name="FileNameInfo"
command="GetCurrentFileName"
information_only="1" >
<SimpleStringInformationHelper />
</StringVectorProperty>*
<StringVectorProperty name="FileName"
...
*information_property="FileNameInfo"*
...>
<FileListDomain name="files"/>
</StringVectorProperty>
...
</FileSeriesReaderProxy>
-------------------------------------------------------------------------------
Utkarsh
On Mon, Sep 28, 2009 at 3:07 PM, Karl König <kkoenig11 at web.de> wrote:
> Hi,
>
> What method/xml does a custom reader using vtkFileSeriesReader need to
> provide in order to see the file name change in the information tab of
> the object inspector? The reader posted in
> http://www.paraview.org/pipermail/paraview/2009-September/013719.html,
> e.g., does always show the name of the first file of the sequence.
>
> For *.vtu files, the file name does change, but I failed so far to find
> the magic in VTK/IO/vtkXML*Reader.{h,cxx}
>
> Thanks a lot
> Karl
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090928/e4da6d3c/attachment.htm>
More information about the ParaView
mailing list