Hi,

I dig out this old thread when searching how to Update the pipeline from
code. In my
case, I don't want an auto-apply behaviour. But as soon as a special
interaction occurs,
I want the whole pipeline to update.
I tried different things I though suitable, but it was not:
- renderAllViews( true ) from a newly object-builder-created
pqPipelineSource
- UpdatePipeline from the same proxy
- Render from the underlying vtkRenderWindowInteractor

I didn't find in the code what the click-apply-button signal actually does.
What I want is to embed in a single clck on a image the following
interaction steps:
1) add a PointSource to the server
2) set the position in the image
3) click the Apply button

The first 2 steps are OK. Still remain the 3rd, which I have to do by hand.
Reminder: I am *very* lazy!

Thanks for your suggestions
Jerome

2009/2/3 Michael Geppert <[email protected]>

> Hi David,
>
> thanks, I haven't tried the Auto Accept yet, I'm going to try it as soon as
> possible... It is still a workaround, is there any other possibility?
>
> Best regards,
> Michael
>
> David E DeMarle schrieb:
>
>  Does the Auto Accept toggle work for you?
>> It is under Options->General
>>
>>
>> On Mon, Feb 2, 2009 at 10:40 AM, Michael Geppert <[email protected]>
>> wrote:
>>
>>
>>> Hi everyone,
>>>
>>> I wrote a toolbar plugin with a copy & paste function for filter
>>> pipelines.
>>> My toolbar button just copies the selected part of the pipeline to the
>>> selected source. Now I would like my filter to auto-press the apply
>>> button
>>> of every newly-created filter, is this possible somehow?
>>>
>>> Thanks!
>>>
>>> Michael Geppert
>>> _______________________________________________
>>> ParaView mailing list
>>> [email protected]
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> ParaView mailing list
> [email protected]
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
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

Reply via email to