[vtk-developers] VtkLineWidget2 InteractionEvent distance

David Cole dlrdave at aol.com
Wed Jul 16 11:57:56 EDT 2014


The documentation for "Pick" says "Return non-zero if something was 
successfully picked."

But you are ignoring the return value of Pick.

So how do you know if something was successfully picked or not?

Calling GetPickPosition is only well-defined, and will only give you a 
good value if Pick returned non-zero.....


HTH,
David C




More information about the vtk-developers mailing list