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 <[email protected]> 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
>
_______________________________________________
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