[Paraview] Custom Filter Not Seen in 3.2.1 Filter Menu
clinton at elemtech.com
clinton at elemtech.com
Tue Dec 11 19:29:46 EST 2007
I see now why it isn't showing up. At startup, the entries in the filters
menu are the ones listed in
ParaView3/Qt/Components/Resources/XML/ParaViewFilters.xml.
If any new ones are introduced after startup, they are added, which is why it
works with plugins.
To get it in there, try this...
=== cloudGUI.xml ===
<ParaViewFilters>
<Filter name="Cloud" />
</ParaViewFilters>
================
Then add this in your cloudParaViewImport.cmake file.
PARAVIEW_INCLUDE_GUI_RESOURCES("${cloud_SOURCE_DIR}/cloudGUI.xml")
Hmm.. I wish that wasn't necessary.
For fun, if you want to make your own menu category, you could do
<ParaViewFilters>
<Category name="CloudFilters" menu_label="&CloudFilters">
<Filter name="Cloud"/>
</Category>
<Filter name="Cloud" />
</ParaViewFilters>
Clint
On Tuesday 11 December 2007 3:08:31 pm Kent Eschenberg wrote:
> Clint: Thanks! Yes and yes; files attached. - Kent
>
> clinton at elemtech.com wrote:
> > Are your custom filters in the "filters" group in your server manager
> > xml? <ProxyGroup name="filters">
> >
> > And your server manager xml for the filters was added to the build using
> > PARAVIEW_INCLUDE_SERVERMANAGER_RESOURCES?
> >
> > Clint
> >
> > On Tuesday 11 December 2007 2:40:22 pm Kent Eschenberg wrote:
> >> Using the notes at
> >>
> >> http://www.paraview.org/Wiki/ExtendingParaView
> >>
> >> I've successfully added two custom readers to 3.2.1. However my custom
> >> filter does not show up in the pulldown menu for filters. All 3 are
> >> assigned to
> >>
> >> PARAVIEW_EXTRA_EXTERNAL_MODULE
> >>
> >> and the "USE" and "ON" CMake options for all 3 are set. The debugger can
> >> find the constructor for the custom filter. Is there anything needed to
> >> add the name of the custom filter to the filter menu?
> >>
> >> The Tools->Manage Plugins menu is empty.
> >>
> >> TIA!
> >> Kent
> >> Pittsburgh Supercomputing Center
More information about the ParaView
mailing list