David-<br><br>I believe that the idea behind invoking the PickEvent multiple times was so that if you could perform multiple "operations" on each prop picked, for example placing a bounding box, or changing the color of each picked prop, etc. I realize that there is an alternative way by processing the pick list after the end pick event is emitted. I guess I don't understand why you want to change behavior, is there a compelling reason? Performance? I agree the risk is small, but I'd rather not aggravate anybody if we can help it.<br>
<br>Will<br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 3:13 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
I'd like to do a little clean-up of vtkPicker so that the code and the<br>
header documentation are in better agreement with each other. There<br>
is a chance that there could be some backwards compatibility problems,<br>
but I think that the risk is very small. The interface of the class<br>
will not be changed.<br>
<br>
So, here is the main adjustment:<br>
<br>
Right now, the picker might invoke PickEvent for more than one prop<br>
during the pick, and I don't think that this is correct behavior. I<br>
want to change the code so that the PickEvent is only invoked for the<br>
front-most prop under the cursor. Any objections? This change will<br>
not require modification to PointPicker or CellPicker, and should not<br>
require modification to any third-party subclasses, either.<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
<input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>