[Paraview] Custom Panel Plugin for Custom Reader

clinton at elemtech.com clinton at elemtech.com
Wed Feb 13 16:44:31 EST 2008


On Wednesday 13 February 2008 2:24:16 pm Mike Jackson wrote:
> I would like to write a custom object panel for my custom reader so
> that I can display some information from the file and allow the user
> to do things like select the VOI and such. I read the wiki pages and
> got an idea what where to start. From there I proceeded to look
> through the ParaView source, specifically at the XDMF reader since it
> has a custom panel associated with it. I think I have most of the
> parts in place but the one connection that I am missing is how does
> ParaView know to display the pqXdmfPanel when the user selects an
> Xdmf file?

The CMake macro for declaring an object panel generates the code to do that.
ADD_PARAVIEW_OBJECT_PANEL(...)

Clint


More information about the ParaView mailing list