[Paraview] Custom display panel for a source or filter
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Jan 3 09:24:41 EST 2008
Hi Paul,
In your plugin, you need to implement the pqDisplayPanelInterface (just
what the pqStandardDisplayPanels in pqDisplayProxyEditorWidget.cxx does)
and the register it with the plugin manager. If you look at
pqDisplayProxyEditorWidget::updatePanel, you'll see that it checks for
all pqDisplayPanelInterface implementations registered and asks them to
create the panel for the source.
Utkarsh
Robert Maynard wrote:
>
> Last time I asked the same question, I was told I would have to include
> the xmlName of my class to the conditional statement, and recompile
> paraview to get custom display panels like TextSource to work.
>
> On Jan 3, 2008 9:12 AM, Paul Edwards <paul.m.edwards at gmail.com
> <mailto:paul.m.edwards at gmail.com>> wrote:
>
> I am trying to provide a custom display panel for a plugin I have
> created. The plugin is for a new source which is a subclass of
> vtkMultiBlockPLOT3DReader (the plot3d file is generated from inputs
> selected in the object panel) and I would like to customize the
> display options for my users.
>
> I can see this is done for "TextSource" and "TimeToTextConverter"
> but when looking through the code (pqObjectBuilder.cxx, line 400)
> there is a conditional statement to check specifically for these
> sources. Does this mean that it is not possible from a plugin? (Or
> am I looking in the wrong place here?)
>
> Any help would be appreciated, thanks in advance,
> Paul
>
> PS Great software ;)
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org <mailto:ParaView at paraview.org>
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list