[Paraview] Press Apply Button from Toolbar (Michael Geppert)

Nehme Bilal nbilal at mirarco.org
Mon Feb 2 13:04:00 EST 2009


Hi Michael,

I think you need to look on:
- pqProxy::setModifiedState(ModifiedState modified);
- vtkSMProxy::Modified();
- vtkSMProperty::SetImmediateUpdate();

I did a similar copy/paste application but also you can 
copy and paste sources and readers on the root. I didn't 
try to add the auto-apply because some time the users 
wants to changes a value before applying.

I have a question: Is your copy/paste work on clip filter 
? I mean is the widget position copying working or the 
widget always reset it's position ?

Nehme



> 
> Message: 1
> Date: Mon, 02 Feb 2009 16:40:55 +0100
>From: Michael Geppert <MichaelGeppert at gmx.net>
> Subject: [Paraview] Press Apply Button from Toolbar
> To: paraview at paraview.org
> Message-ID: <49871407.3050502 at gmx.net>
> Content-Type: text/plain; charset=ISO-8859-15; 
>format=flowed
> 
> 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
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 
> 
> End of ParaView Digest, Vol 58, Issue 1
> ***************************************



More information about the ParaView mailing list