Ok, i found the solution: the reference proxy holds all input info: pqPipelineFilter* poFilter = qobject_cast<pqPipelineFilter*>(this->referenceProxy()); QList<pqOutputPort*> oPorts = poFilter->getAllInputs();
thanks Von: [email protected] [mailto:[email protected]] Im Auftrag von Lodron, Gerald Gesendet: Donnerstag, 28. November 2013 08:12 An: Paraview Developer ([email protected]); Paraview User ([email protected]) Betreff: [Paraview-developers] custom object panel with access to input Hi I currently made my own custom object panel in PV 3.98.1 and successfully made buttons and input dialogs which are calling functions of my filter. Now I want to make a list widget which depends on the input of the filter, so the number of entries in the list and their name should depend on the number of point/cell based arrays in the input, but how do I get access to the filters input data? I currently invoke function calls over the source proxy: vtkSMSourceProxy* poSourceProxy = vtkSMSourceProxy::SafeDownCast(this->proxy()); poSourceProxy->InvokeCommand("MyFunction"); now i need something like vtkPolyData* poInputPolydata = vtkPolyData::SafeDownCast( poSourceProxy->GetInput() ); can anyone help me or give a hint where to look? thanks _________________________________________________________________ JOANNEUM RESEARCH Forschungsgesellschaft mbH DIGITAL - Institute for Information and Communication Technologies Steyrergasse 17, 8010 Graz, Austria phone: +43 316 876-1751 fax: +43 316 8769-1751 e-mail: [email protected]<mailto:[email protected]> web: www.joanneum.at/digital<http://www.joanneum.at/digital> _________________________________________________________________ This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission. Please consider the environment before printing this page.
_______________________________________________ Paraview-developers mailing list [email protected] http://public.kitware.com/mailman/listinfo/paraview-developers
_______________________________________________ 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
