[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 09:46:17 EDT 2015


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



More information about the Paraview-developers mailing list