[Paraview-developers] Is there a way to distinguish user interaction fom prgrammatic changes in PV's lookup table?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jun 15 11:24:29 EDT 2015


Anton,

Not really. I can't think of an easy way to distinguish the two.

Utkarsh

On Mon, Jun 15, 2015 at 9:57 AM <anton.piccardo-selg at stfc.ac.uk> wrote:

> Hi,
>
> I am currently working on a customization of PV 4.3.1.  Currently our
> users can alter the color scale by either interacting with PV's
> CustomEditorPanel or by using our custom widget. Our synchronization
> between the two consists of observers which listen to
> vtkCommand::ModifiedEvent of the the RGBPoints property of the
> representation's lookup table.
>
> As expected, this will pick up all user-induced changes, such as the user
> clicking the "Rescale to All" button in theColorMapEditor as well as
> programmatic changes. I was therefore wondering if there are signatures to
> distinguish if the lookup table was actively changed by the user or
> programmatically (eg are there other, distinct eventIds which might get
> emitted)?
>
> Many thanks and best regards,
>
> Anton
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150615/0f8511fd/attachment.html>


More information about the Paraview-developers mailing list