[Paraview] Adding filters to ParaviewWeb

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Mar 14 17:32:48 EDT 2014


Create a ParaView plugin and use its proxy name.


On Fri, Mar 14, 2014 at 2:25 PM, Arya Mazaheri <aryanet at gmail.com> wrote:

> Thanks,
> You mean it uses the filters already implemented in the paraview core? So
> what if I want to add my own special filter? How should I add it?
>
>
> On Fri, Mar 14, 2014 at 11:44 PM, Sebastien Jourdain <
> sebastien.jourdain at kitware.com> wrote:
>
>> 1) Yes
>> 2) There is no file. Just put the name of the filter that appears in the
>> Python trace.
>>
>> Seb
>>
>>
>> On Fri, Mar 14, 2014 at 10:59 AM, Arya Mazaheri <aryanet at gmail.com>wrote:
>>
>>> Thanks for your reply.
>>> A few questions though:
>>> 1) Should I add --filter argument to the Jetty configuration where it
>>> calls the web visualizer python file?
>>>  2) Where are the implementation files related to the available filters
>>> in the visualizer? For example, where is StreamTracer filter python file?
>>>
>>> Cheers,
>>> Arya
>>>
>>>
>>> On Fri, Mar 14, 2014 at 8:07 PM, Sebastien Jourdain <
>>> sebastien.jourdain at kitware.com> wrote:
>>>
>>>> In order to add filters to the Web Visualizer, you just need to provide
>>>> the path to a json file that contains the list of the filters and sources
>>>> you want to expose.
>>>>
>>>> --filter /.../path/to/file.json
>>>>
>>>> The content of the file should be like that:
>>>>
>>>> [{
>>>>                         'name': 'Cone',
>>>>                         'icon': 'dataset',
>>>>                         'category': 'source'
>>>>                     },{
>>>>                         'name': 'Sphere',
>>>>                         'icon': 'dataset',
>>>>                         'category': 'source'
>>>>                     },{
>>>>                         'name': 'Wavelet',
>>>>                         'icon': 'dataset',
>>>>                         'category': 'source'
>>>>                     },{
>>>>                         'name': 'Clip',
>>>>                         'icon': 'clip',
>>>>                         'category': 'filter'
>>>>                     },{
>>>>                         'name': 'Slice',
>>>>                         'icon': 'slice',
>>>>                         'category': 'filter'
>>>>                     },{
>>>>                         'name': 'Contour',
>>>>                         'icon': 'contour',
>>>>                         'category': 'filter'
>>>>                     },{
>>>>                         'name': 'Threshold',
>>>>                         'icon': 'threshold',
>>>>                         'category': 'filter'
>>>>                     },{
>>>>                         'name': 'StreamTracer',
>>>>                         'icon': 'stream',
>>>>                         'category': 'filter'
>>>>                     },{
>>>>                         'name': 'WarpByScalar',
>>>>                         'icon': 'filter',
>>>>                         'category': 'filter'
>>>>                     }]
>>>>
>>>> The name to use for the filters are the one you will use to create them
>>>> in Python.
>>>>
>>>> Seb
>>>>
>>>>
>>>> On Fri, Mar 14, 2014 at 2:48 AM, Arya Mazaheri <aryanet at gmail.com>wrote:
>>>>
>>>>> Hi,
>>>>> Is there any way to add additional filters beside Slice, Contour, etc.
>>>>> to the ParaviewWeb interface?
>>>>> It would be great if you could describe a little bit about this
>>>>> procedure.
>>>>>
>>>>> Regards,
>>>>> Arya
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Arya Mazaheri
>>> http://arya.id.ir
>>>
>>
>>
>
>
> --
> Arya Mazaheri
> http://arya.id.ir
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140314/96b9f2cb/attachment-0001.html>


More information about the ParaView mailing list