[Paraview-developers] custom object panel with additional information

Lodron, Gerald Gerald.Lodron at joanneum.at
Thu Jan 23 01:55:12 EST 2014


Hello

Is there a way to display some additional output from filter computation in the custom object panel or information panel? I programmed a custom paraview plugin with a filter and a custom object panel for some filter settings and now want to display some meta information of computation, e.g. Computation Time, Number of used iterations, etc....

I think I must overwrite the "updateInformationAndDomains()" function in my panel to set a QLabel for outputting such thinks but I have no clue how to get to the "GetProcessingTime" of my filter. I think it must be something like that:

vtkSMSourceProxy* poSourceProxy = vtkSMSourceProxy::SafeDownCast(this->proxy());
    if( !poSourceProxy )
        return;

    vtkSMProperty* poProcessingTime = poSourceProxy->GetProperty("GetProcessingTime");

but I have no clue what to write into the xml or how to get the return value from GetProcessingTime....

I searched for an example doing this but cannot find anything, for any help I would be very thankful...

Best regards,
Gerald

_________________________________________________________________

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://public.kitware.com/pipermail/paraview-developers/attachments/20140123/839cc021/attachment.html>


More information about the Paraview-developers mailing list