I would like to be able to perform different tasks, depending on how the user clicks on a control point used define a ColorTransferfunction in a XYChart?
Adding an Observer works to receive the CurrentPointEditEvent in the following way:
controlPoint ->AddObserver(vtkControlPointsItem::CurrentPointEditEvent, this,
How can I distinguish between a left-button-double-click event and a right-button-click-event.
I tried to adjust the observer in the following way:
controlPoint ->AddObserver(vtkControlPointsItem::MouseDoubleClickEvent, this,
But this would not compile…
How can I achieve this?
Thanks for your help!