Mon, 06/19/2023 - 17:16
Forums:
Hi,
I am trying to retrieve the X and Y coordinates of the objects clicked or hovered in an OpenGLWidget. I get X and Y positions of clicked objects but their values are not compatible with the values that they are put into the widget with for example gp_Pnt X and Y coordinates. How can I get(or convert) this the same X and Y coordinates of the objects which are pointed(or hovered) with mouse?
Thanks in advance.
Development Platform: Qt