[vtkusers] Which mouse button in vtkImagePlaneWidget?

Ralph Brecheisen ralph.brecheisen at gmail.com
Fri Nov 13 11:05:25 EST 2009


Hi,

I have a vtkImagePlaneWidget that I also use to move around clipping
planes. I'm catching its vtkCommand::InteractionEvent but I only want to
update the clipping planes if I'm actually moving the slices (which I
assigned to the left mouse button), not when I'm adjusting window level
(which I assigned to the right mouse button). Is there a way to find out
which mouse button I'm pressing? Someone asked a similar question
in vtkusers but there was no reply (
http://www.vtk.org/pipermail/vtkusers/2009-July/101727.html).

Thanks,

Ralph

-- 
"The only Zen you can find on the tops of mountains, is the Zen you bring up
there."
- Robert M. Pirsig

--
Ir. Ralph Brecheisen

Biomedical Image Analysis @ Technical University of Eindhoven, Den Dolech 2,
5600 MB, Eindhoven, Netherlands
Image-Guided Neurosurgery @ Maastricht University Hospital
P. Debyelaan 25, 6229 HX, Maastricht, Netherlands

Tel: +31-40-2475571 (Eindhoven)
Tel: +31-43-3876292 (Maastricht)
E-mail: r.brecheisen at tue.nl, ralph.brecheisen at gmail.com
--------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091113/1510f237/attachment.htm>


More information about the vtkusers mailing list