[vtkusers] Combine mouse events
David Doria
daviddoria at gmail.com
Thu Apr 12 11:21:15 EDT 2012
On Thu, Apr 12, 2012 at 10:13 AM, Jothybasu Selvaraj
<jothybasu at gmail.com> wrote:
> Hi ,
>
> I am picking some poits on a vtkImageActor. I want to show the picked values
> only when both "OnLeftButtonDown" and "OnMouseMove" occurs.
>
> How to do that?
>
> Thanks
>
> --
> Jothy
I would just set a flag in the OnLeftButtonDown function (and remember
to unset it in OnLeftButtonUp). Then in OnMouseMove just check if the
flag is set or not.
David
More information about the vtkusers
mailing list