Even name to be used when setup a add_callback for mouse pick event #750
Replies: 1 comment 1 reply
-
LeftButtonRelease Event? |
Beta Was this translation helpful? Give feedback.
-
LeftButtonRelease Event? |
Beta Was this translation helpful? Give feedback.
-
We are proposing to monitor the mouse click event to show the coordinates of picked pt from 3D point cloud. The plan is to use add_callback function from Plotter Class. From the document, the method definition is :
def add_callback (self, eventName, func, priority=0.0)
Furthermore, there is an example script shown in the document, as :
It seems that the evenName is "mouse hover" in the example. However the frequently used event names listed in the same document are:
No “mouse hover” in the list Are there anything wrong? As for our case that is to show the “mouse picked” pt's coordinates, what is the right "eventName" to be used when setup add_callback?
Thanks in advance!
Regards,
DR, Ling
Beta Was this translation helpful? Give feedback.
All reactions