[Paraview] Writer plugin?
David E DeMarle
dave.demarle at kitware.com
Thu Jan 29 09:24:46 EST 2015
<InputProperty name="Input" command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
?
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Jan 29, 2015 at 7:13 AM, Biddiscombe, John A. <biddisco at cscs.ch>
wrote:
> David
>
> 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).
>
> Adding the writer as a filter is an easy option!
>
> JB
>
> -----Original Message-----
> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of David
> Thompson
> Sent: 28 January 2015 17:35
> To: ParaView
> Subject: [Paraview] Writer plugin?
>
> Hi all,
>
> 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).
>
> 1. Is there any documentation for adding writers in plugins? This page has
> a comment or two but doesn't appear complete:
>
> http://www.paraview.org/Wiki/ParaView/Plugin_HowTo
>
> 2. If you're willing to look over the XML, I've attached it below. See any
> mistakes?
>
> Thanks,
> David
>
> <ServerManagerConfiguration>
> <!-- Other proxy groups for views and representations here -->
>
> <ProxyGroup name="writers">
> <WriterProxy
> class="vtkPJSONTableWriter"
> name="PJSONTableWriter">
> <Documentation>
> Write tabular data to a JSON file.
> </Documentation>
> <InputProperty
> command="SetInputConnection"
> name="Input">
> <DataTypeDomain
> composite_data_supported="0"
> name="input_type">
> <DataType value="vtkTable"/>
> </DataTypeDomain>
> <Documentation>The input filter/source whose output dataset is to
> written to the file.</Documentation>
> </InputProperty>
> <Hints>
> <WriterFactory extensions="json" file_description="JSON tabular
> data" />
> </Hints>
> </WriterProxy>
>
> </ProxyGroup>
> </ServerManagerConfiguration>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150129/a4ea094b/attachment.html>
More information about the ParaView
mailing list