[Paraview] Custom Panel Plugin for Custom Reader

Mike Jackson imikejackson at gmail.com
Wed Feb 13 18:59:55 EST 2008


On Feb 13, 2008 4:44 PM,  <clinton at elemtech.com> wrote:
>
> 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
>

Great that was easy.
   Next Question.  If I want a custom UI panel for a Reader I am
assuming I am going to need both a server and a client plugin?

Mike


-- 
Mike Jackson
imikejackson _at_ gee-mail dot com


More information about the ParaView mailing list