[vtkusers] Combine mouse events
Jothybasu Selvaraj
jothybasu at gmail.com
Thu Apr 12 11:28:46 EDT 2012
It seems doable.
Thanks
Jothy
On Thu, Apr 12, 2012 at 4:21 PM, David Doria <daviddoria at gmail.com> wrote:
> 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
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120412/9392f73a/attachment.htm>
More information about the vtkusers
mailing list