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?
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
