<div dir="ltr"><div>      <InputProperty name="Input" command="SetInputConnection"></div><div>        <ProxyGroupDomain name="groups"></div><div>          <Group name="sources"/></div><div>          <Group name="filters"/></div><div>        </ProxyGroupDomain></div><div><br></div><div>?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Thu, Jan 29, 2015 at 7:13 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">David<br>
<br>
I used to make my writers the same as filters and even allow them to shallow copy their input to the output. Then in paraview they can appear in the filters menu and can be inserted in the middle of a pipeline and each time a render is activated, the writer would be triggered. (I used it for saving particles out from animations of advected flows). (you can check if the timestep has changed or other stuff is different and skip writes if necessary).<br>
<br>
Adding the writer as a filter is an easy option!<br>
<br>
JB<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a>] On Behalf Of David Thompson<br>
Sent: 28 January 2015 17:35<br>
To: ParaView<br>
Subject: [Paraview] Writer plugin?<br>
<br>
Hi all,<br>
<br>
I have a ParaView plugin that contains a new writer which I would like to expose. However, while the plugin does properly expose a new view and representation, the writer does not appear to get added (when I try to save a vtkTable such as a statistics filter output, it doesn't appear as an option).<br>
<br>
1. Is there any documentation for adding writers in plugins? This page has a comment or two but doesn't appear complete:<br>
<br>
    <a href="http://www.paraview.org/Wiki/ParaView/Plugin_HowTo" target="_blank">http://www.paraview.org/Wiki/ParaView/Plugin_HowTo</a><br>
<br>
2. If you're willing to look over the XML, I've attached it below. See any mistakes?<br>
<br>
        Thanks,<br>
        David<br>
<br>
<ServerManagerConfiguration><br>
  <!-- Other proxy groups for views and representations here --><br>
<br>
  <ProxyGroup name="writers"><br>
    <WriterProxy<br>
      class="vtkPJSONTableWriter"<br>
      name="PJSONTableWriter"><br>
      <Documentation><br>
        Write tabular data to a JSON file.<br>
      </Documentation><br>
      <InputProperty<br>
        command="SetInputConnection"<br>
        name="Input"><br>
        <DataTypeDomain<br>
          composite_data_supported="0"<br>
          name="input_type"><br>
          <DataType value="vtkTable"/><br>
        </DataTypeDomain><br>
        <Documentation>The input filter/source whose output dataset is to<br>
        written to the file.</Documentation><br>
      </InputProperty><br>
      <Hints><br>
        <WriterFactory extensions="json" file_description="JSON tabular data" /><br>
      </Hints><br>
    </WriterProxy><br>
<br>
  </ProxyGroup><br>
</ServerManagerConfiguration><br>
<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>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><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>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>