[Paraview] How to know that the filter was applied?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Mar 26 10:14:04 EDT 2018
There's no such thing as "already applied", since even an already
applied filter may be re-executed if a filter downstream makes a
different request. Whenever a filter is executed, however,
`pqPipelineSource::dataUpdated` signal is fired. You can look at the
implementation of this signal to see that it's connected to
`vtkCommand::DataUpdateEvent` event fired by the vtkSMSourceProxy.
Hopefully that helps.
Utkarsh
On Fri, Mar 23, 2018 at 11:38 AM, Artem Bodrin <art.bodrin at gmail.com> wrote:
> Hello, dear community.
>
> Does anyone can help me with this question: I'd like to know, if a filter in a pipeline have already been applied/calculated. Maybe there are some observers exists (e.g. vtkSMPProgressObserver)? Or I have to dig into vtkDemandDrivenPipeline?
>
> The overall task is to modify some GUI elements depending on a pipeline execution state...
>
> Can anyone push me to a right direction please?
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
More information about the ParaView
mailing list