[Paraview] Custom Panel Plugin Changes
Brian Panneton
brian.panneton at gmail.com
Thu Jan 12 13:56:39 EST 2012
I'm updating my custom plugin to the latest version of ParaView. Most
everything works as I would expect, however I have run into an issue.
My plugin has a reader and a filter each with a custom panel that follows
the same layout. The panel has a ComboBox and a ListBox with CheckBoxItems.
When the dropdown is changed in the ComboBox, the ListBox gets immediately
repopulated to show the change. Then you select some items and hit apply.
The reader is able to do that exactly as it did in the older version of
ParaView. However, the filter shows a ListBox without the option to Check
the items. The code between the reader/filter for the panel is almost
identical with the exception of the names. The function updateTitleList()
never gets called in the filter yet in the reader's version of the panel it
does. I can't figure out why it only works with one. I would assume it
would act the same for both.
Also, I believe with the new changes (in ParaViewCollaborationChanges.pdf),
a lot of my code can be simplified. From what I understand, I should not
need to call things like 'this->proxy()->UpdateProperty("cbType", 1) since
the vtkSMProperties can talk to the VTKObjects. Is this true?
Any help would be appreciated or if there is a more convenient way to do
what I'm doing that would be great.
I have attached my cxx for the panel and my XML.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120112/76e3d7fe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetDMFStatisticPanel.cxx
Type: text/x-c++src
Size: 2373 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120112/76e3d7fe/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetDMF.xml
Type: text/xml
Size: 10615 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120112/76e3d7fe/attachment.bin>
More information about the ParaView
mailing list