Checkout the SLAC plugin reader it reads in a set of files and sets up a pipeline and adds some gui buttons for some of SLAC's common operations. After you load in the plugin you can click on the SLAC folder to bring up the files to read in which are all in ParaView/Data/SLAC/pic-example/ and are;<br>
Mesh File: mrdh.ncdf<br>Mode File: fields_..,mod<br>Particle Files: particles_..ncdf<br><br>That plugin reader does a boat-load of stuff. Unfortunately I just use it for showing off paraview and have never actually looked at the code so I can't give you much more direction than that.<br>
<br>Andy<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 9:36 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I want to make a plugin that will read a file (which contains a<br>
transform) and apply it to the input of the plugin. Classically I have<br>
had either:<br>
<br>
<ProxyGroup name="sources"> // for readers, lets me file->open to<br>
select a file<br>
<br>
or<br>
<br>
<ProxyGroup name="filters"> // for filters, to do something to the<br>
selected object in the pipeline<br>
<br>
For this plugin I want to do both. Is this possible?<br>
<br>
I have attached my xml files. Could someone let me know how it needs<br>
to be structured to achieve this?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>