I am trying to display some geometries in the Conduit and I want to be able to select them. So far I managed to do that. Learning from this example: http://wiki.mcneel.com/developer/sdksamples/pickobjects
I simply got my point with CRhinoGetPoint gp; and then retrieved the FrustrumLine from the viewport and checked if the line intersects the BoundingBox of my object…if it does - bingo!
However this method is pretty slow…Rhino objects can be instantly grabbed and dragged just by clicking on them and holding the mouse button. Is there a way for me to control
a mouse event in the same way for my conduit objects? To basically recognize the mouse event when the user presses somewhere on the viewport and find out which viewport was it and what were the screen coordinates?
P.S. I am programming in C++