<br>
I am using VTK (c++) to create a CMYK color mixer.<br>
<br>
Imagine four cylinders representing color primaries: Cyan, Magenta, Yellow and White.<br>
And a fifth cylinder representing the resulting color.<br>
<br>
My question is: how do I change an actor's property (ie. color) with a left mouse click?<br>
<br>
I do not need any other interaction and I do know how to adjust the color.<br>
What I'm having trouble with is catching the clicked object.<br>
<br>
Any suggestions, pointers, pseudocode would be very welcome indeed!<br>
<br clear="all">
Thank you,<br>
-- <br><a href="mailto:stoptv@gmail.com">stoptv@gmail.com</a><br>
<br>