[Paraview] Custom Filters MENU
Eric E. Monson
emonson at cs.duke.edu
Thu Apr 30 15:12:25 EDT 2009
Hey again,
Thanks Utkarsh -- with your description I was able to figure out how
to put a custom filter in some servermanager xml to load it through a
plugin. I was also able to combine this with some GUI xml which adds a
new menu item and puts the custom filter there, plus a custom icon for
the menu (by using CMake and building against ParaView).
In reading through the Plugin HowTo, though, it seems to imply that
both the icon and the GUI xml can be combined into a binary .bqrc file
(using Qt's rcc) so that I could do all of this without having to
build against ParaView (and just load servermanager xml and bqrc
through the Plugin Manager).
I can load the servermanager xml and use the filter, but I can't seem
to get the menu item and/or icon to show up when I load the bqrc file
-- is there a special way to build the qrc and GUI xml together with
rcc to make this work?
Thanks a lot,
-Eric
On Apr 30, 2009, at 10:20 AM, Utkarsh Ayachit wrote:
> What I mean by a plugin for a custom filter, is almost like a new
> plugin for a filter with the servermanager xml and the gui xmls
> however, instead of a new filter, the servermanager xml will inlcude
> the custom filter definition. Having said that, it may a good feature
> request to add support for specifying filter menu category in cpd
> files. Please feel free to add a feature request to the bug tracker.
>
> Utkarsh
>
> On Thu, Apr 30, 2009 at 9:56 AM, Eric E. Monson
> <emonson at cs.duke.edu> wrote:
>> Hey all,
>>
>> For my users, too, I've been thinking that it would be nice if all
>> custom
>> filters showed up in a special menu item by themselves.
>>
>> I'm having trouble understanding, Utkarsh, what you mean by "a
>> plugin that
>> provides the custom filter you want"... Is it possible for a plugin
>> to just
>> load cpd files? Could you please clarify that point a bit?
>>
>> Thanks a lot,
>> -Eric
>>
>> ------------------------------------------------------
>> Eric E Monson
>> Duke Visualization Technology Group
>>
>>
>> On Apr 30, 2009, at 8:16 AM, Utkarsh Ayachit wrote:
>>
>>> Menu position cannot be controlled from the cpd files. You can
>>> write a
>>> plugin that provides the custom filter you want and then add it to
>>> the
>>> custom menu.
>>>
>>> Utkarsh
>>>
>>> On Thu, Apr 30, 2009 at 4:57 AM, Jacques Papper
>>> <jpapper at ara.co.uk> wrote:
>>>>
>>>> Hi All,
>>>>
>>>> When I write my own plugin filters, I can choose to have them
>>>> appear in a
>>>> menu of my choice rather than having them under Alphabetical.
>>>> I would like to modify the .cpd files of custom filters so that
>>>> some
>>>> custom
>>>> filters appear in another menu than Alphabetical as well. How do
>>>> I do
>>>> this ?
>>>> Is this supported ?
>>>>
>>>> Jacques PAPPER
>>>> Applied CFD Team Leader
>>>> Tel: +44 (0) 1234 324677
>>>>
>>>>
>>>> ---------------------------
>>>> This email contains information that is private and confidential
>>>> and is
>>>> intended only for the addressee. If you are not the intended
>>>> recipient
>>>> please delete it and notify us immediately by e-mailing the sender.
>>>> Note: All email sent to or from this address may be accessed by
>>>> someone
>>>> other than the recipient, for system management and security
>>>> reasons.
>>>> Aircraft Research Association Ltd. Registered in England,
>>>> Registration
>>>> No 503668 Registered Office: Manton Lane, Bedford MK41 7PF
>>>> England VAT No GB
>>>> 196351245
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>> _______________________________________________
>>> 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
>>
>>
More information about the ParaView
mailing list