[Paraview] how to add custom filter to custom menu

FISSELL at pitt.edu FISSELL at pitt.edu
Wed Aug 31 11:28:02 EDT 2011


Hi,

I made a custom filter and added a new dropdown menu to the main
Paraview menubar, as per wiki tutorials.
My filter works in the filters menu, and I can call the OK dialog from my
new menu.
I would like to add my filter to my new menu and have Paraview understand
it as,
and treat it just like, filters in the filter menu.
I saw this posting very relevant to my question:
http://www.cmake.org/pipermail/paraview/2010-March/016211.html
but I'd like a little more help.

What program do I put that code snippet in ?  Do I make a special
client side plugin just to get my filter in my toolbar ?
Is there a way to do this just via XML specification ?
Note I am not developing a standalone application, I am just adding plugins
to ParaView.
If I put my filter in my custom menu, not the ParaView filters menu,
will ParaView know my plugin is a filter, eg should be added to pipeline when
invoked, only be added if datatypes match, etc etc ?

Is it a bad design to create an additional menu of filters rather than
making a sub-section in the existing filters menu ?  I just think the
current set of filters is so large it would be easier for our users to make
a separate menu.

thanks
kate



More information about the ParaView mailing list