Hi,<div><br></div><div>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 (<a href="http://www.vtk.org/pipermail/vtkusers/2009-July/101727.html">http://www.vtk.org/pipermail/vtkusers/2009-July/101727.html</a>).</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Ralph<br clear="all"><br>-- <br>"The only Zen you can find on the tops of mountains, is the Zen you bring up there."<br>- Robert M. Pirsig<br><br>--<br>Ir. Ralph Brecheisen<br>
<br>Biomedical Image Analysis @ Technical University of Eindhoven, Den Dolech 2, 5600 MB, Eindhoven, Netherlands<br>Image-Guided Neurosurgery @ Maastricht University Hospital<br>P. Debyelaan 25, 6229 HX, Maastricht, Netherlands<br>
<br>Tel: +31-40-2475571 (Eindhoven)<br>Tel: +31-43-3876292 (Maastricht)<br>E-mail: <a href="mailto:r.brecheisen@tue.nl">r.brecheisen@tue.nl</a>, <a href="mailto:ralph.brecheisen@gmail.com">ralph.brecheisen@gmail.com</a><br>
--------------------------------------------------------------------------------------------------<br>
</div>