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

anton.piccardo-selg at stfc.ac.uk anton.piccardo-selg at stfc.ac.uk
Mon Jun 15 11:27:50 EDT 2015


Hi Utkarsh,

Thanks for the info. I will try to find a way on our side of things then.

Thanks again and best regards,

Anton
________________________________
From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com]
Sent: 15 June 2015 16:24
To: Piccardo-Selg, Anton (-,RAL,ISIS); paraview-developers at paraview.org
Subject: Re: [Paraview-developers] Is there a way to distinguish user interaction fom prgrammatic changes in PV's lookup table?

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<mailto: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<http://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


More information about the Paraview-developers mailing list