I would like to select a region(maybe a region that contains a specific point with very small size) with extremely precision. So I don't know how to set w and h parameters to get this precision ! I know only about x and y . Thanks for help
Is there someone who know others library that can be used to embedd interactif 3D Scatter plot in pyqt ?
I wan to be able to pick a point and start an event with it., zooming, rotate and more. Thancks so much.
I would like to pick a specific region in the plot. So, in the method ItemAt (region) of class GLViewWidget, I don't understand parameters w and h.
In the documentation they say: " " "Return a list of the items displayed in the region (x, y, w, h) relative to the widget." " "
I know that x and y can be obtained as follows: self.mousePos.x () and self.mousePos.y (). What values must be entered in the parameters w and h? is it elevation and azimuth respectively? I don't think.
Indeed, I would like to be able to pick a point with extremely precision in the 3D space in the GLViewWidget which contain as many GLScatterPlotItem as there are they points. by this way, I can get the region of the mouse using the method ItemAt(x,y,w,h). x, y can be obtained by : self.mousePos.x(), self.mousePos.y() and I don't now how to fix w and h to get an extremely precision of region point's region in the 3D Space. I would like to pick a point with very small size maybe. Any idea ?
Also, I would like to know the best way to select(or pick) a point in a 3S Space. I have thow options :
1. create as many instance of GLScatterPlotItem for each point I wand to plot By this way each point is a GLScatterPlotItem and I it's easy to pick each. By this way the visuel is a bit slow.
2. create one instance of GLScatterPlotItem which contains all my points. then add it in the GLViewWidget.
By this way, the visuel is more rapid and fluent but I don't know how I can distinguish/pick a specific point in a 3D Space. Any idea ?
Thans for advance.
Partager