Ken,
Yes, that's correct. The "Meta" (.mha, .mhd) reader exists in ParaView
(actually in VTK) and I want to load in a file series. And that answers
my question, i.e., ParaView will load files of the same extension using
the new plugin reader instead of the original one.
The reason I asked was that I seem to recall earlier versions of
ParaView always using the _first_ reader for a given file extension if
the extension conflicted with another reader. I assume that has been
changed recently. Anyway, thanks for the answer. I didn't want to
spend time on this if there was no hope of it working.
-Sean
Moreland, Kenneth wrote:
Sean,
I am a little confused. Are you saying that there exists a reader in
ParaView that you want to use to load in a file series? And the issue
is that because the reader already exists in ParaView in the “sources”
group and you cannot move it to “internal_sources” or some other naming
conflict?
If this is the case, I don’t think there is anything special you have to
do. Just make a new <FileSeriesReaderProxy> tag in the “sources” group.
The Reader subproxy can be in any group; it does not mater if it also
came from “sources”. The FileSeriesReaderProxy can also co-exist with
the single file reader so long as they have unique names. You can also
make your reader read files with the same file extension; ParaView will
use the plugin reader instead of the one defined in ParaView.
-Ken
On 1/8/09 12:19 PM, "Sean Ziegeler" <[email protected]> wrote:
I'd like to write a plugin that makes the Meta format time-aware. I've
looked at: http://www.vtk.org/Wiki/Animating_legacy_VTK_file_series .
From that, I see that I can modify
VTK/Servers/ServerManager/Resources/reader.xml, but I'd prefer it to be
plugin that I can send to someone else with requiring a complete rebuild
of Paraview/VTK. It should be possible to write a .xml file that gets
loaded as a plugin and that wraps the Meta reader in a
vtkFileSeriesReader.
However, if I do it without modifying readers.xml, the original Meta
reader does not get moved to a different ProxyGroup. Does that mean my
new Meta Series reader won't ever be used? Is there some other way to
do it that doesn't require a rebuild of Paraview?
Thanks,
Sean
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: [email protected]
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview