[Paraview] custom object panel with access to input

Lodron, Gerald Gerald.Lodron at joanneum.at
Thu Nov 28 02:12:24 EST 2013


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: gerald.lodron at joanneum.at<mailto:gerald.lodron at joanneum.at>
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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131128/8118cfe6/attachment.htm>


More information about the ParaView mailing list