How to check if a QwtMarker is currently inside an QwtSymbol (Ellipse)?
The markers on my plot are constantly moving, and I want only the markers in the symbol to show (I would just detach them temporarily from the plot).
Problem is, the Symbol uses QSize (I guess this is in pixels), and my points have their X/Y coordinates. So if I'm not wrong the only thing I know about my ellipse is it's center and size in pixel.
Any Ideas how to solve this?
Re: How to check if a QwtMarker is currently inside an QwtSymbol (Ellipse)?
You can use QwtPlot::canvasMap() to convert between plot and widget coordinates.
Uwe
Re: How to check if a QwtMarker is currently inside an QwtSymbol (Ellipse)?
That should do the trick. Thank you very much.