Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to draw rubber band selection in CNiGraph3D

I already done a Region of Interest selection in my graph 3D but I would like to draw the rectangle corresponding to the selection. When using PlotMouseMove, I cannot retrieve correctly the coordinates of the mouse (as a result the rectangle is drawn in the wrong part of the window with a wrong size). When using MouseMove, this time I cannot retrieve my graph plots (as a consequence I cannot redraw the ROI in another Graph). Can you help me about this problem?
Thank you,
Alia
0 Kudos
Message 1 of 2
(3,027 Views)
Take a look at this previous post about drawing rubber band selections and see if that helps.

- Elton
0 Kudos
Message 2 of 2
(3,027 Views)