[Paraview] pqAutoApplyReaction

papa ndéné NDIAYE pnwireframe at gmail.com
Thu Jul 7 11:13:55 EDT 2011


I have built a Toolbar plugin in paraview with a button that applies
extractblock filter to a multiblock dataset
so as to get all the blocks seperately in different objects in the pipeline
browser.

I achieve getting the number of blocks from the selected multiblock but I
don't
want to push apply button for each filter that has been created

so got suggested about creating a pqAutoApplyReaction object and setting
auto-apply to true, creating my filters
and setting it back to false.

pqAutoApplyReaction * autoapply=new pqAutoApplyReaction();
gives me an error:
ASSERT: "parentObject != NULL"

and:
pqAutoApplyReaction * autoapply=new pqAutoApplyReaction(a);
where "a" is a QAction* attribute of my GUI class
gives me an error:
libGUIMyToolBar.so: undefined symbol:
_ZN19pqAutoApplyReaction12setAutoApplyEb

do I have to put a specific object in pqAutoApplyReaction constructor?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110707/67c1ad4d/attachment.htm>


More information about the ParaView mailing list