[Paraview-developers] Plugin based on vtkExtractBlock calls twice RequestData
r holbrey
redkite at virgin.net
Thu Oct 30 08:47:20 EDT 2014
Hi,
I had something like this at some point. I had a call in the filter
code, something like
vtkSMProxy* proxy = .....
proxy->UpdateVTKObjects();
which I think was causing the filter to "auto-apply" ie run with default
parameters. You might need to switch off "Auto-apply" too.
Richard
On 29/10/2014 16:49, Utkarsh Ayachit wrote:
> I don't follow. How do you mean by "second time when actually does
> what is supposed to be". What's the input when it gets executed the
> first time? Try putting a break point in the RequestData and see
> where its getting called. If you can share a simple plugin code that
> demonstrates the issue, that'd make it easier to identify the issue.
> In general, filters are not expected to execute twice unless needed.
>
> Utkarsh
>
> On Thu, Oct 23, 2014 at 10:12 AM, RIVERA, Orlando<Orlando.RIVERA at mtu.de> wrote:
>>
>> Hi
>>
>>
>>
>> I have a plugin based on vtkExtractBlock and when executed calls
>> RequestData twice , and it is the second time when actually does what is
>> supposed to be . It work fine but I have no clue why it is like that
>>
>>
>>
>> Any Ideas ?
>>
>>
>>
>> --
>> MTU Aero Engines AG
>> Vorstand/Board of Management: Reiner Winkler, Vorsitzender/CEO; Dr. Rainer
>> Martens, Michael Schreyögg, Dr. Stefan Weingartner
>> Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Klaus
>> Eberhardt
>> Sitz der Gesellschaft/Registered Office: Muenchen
>> Handelsregister/Commercial Register: Muenchen HRB 157206
>>
>> Diese E-Mail sowie ihre Anhaenge enthalten MTU-eigene vertrauliche oder
>> rechtlich geschuetzte Informationen.
>> Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte den
>> Absender und loeschen Sie diese
>> E-Mail sowie die Anhaenge. Das unbefugte Speichern, Kopieren oder
>> Weiterleiten ist nicht gestattet.
>>
>> This e-mail and any attached documents are proprietary to MTU, confidential
>> or protected by law.
>> If you are not the intended recipient, please advise the sender and delete
>> this message and its attachments.
>> Any unauthorised storing, copying or distribution is prohibited.
>>
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list