[vtkDistanceWidget] 2D point handle does not follow mouse interaction

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[vtkDistanceWidget] 2D point handle does not follow mouse interaction

sonogi1979@live.jp
Hi,

In use of a 2D widget such as vtkDistanceWidget + vtkDistanceRepresentation2D, the point handles are fixed on the display position even when the view is zoomed, spun, or etc. after the handles are moved by mouse interaction. Meanwhile, axis actor follows such mouse operations.

The reason is the world position of the point handle is not updated in vtkPointHandleRepresentation2D::Translate. But, distance widget uses world position to draw the axis actor (c.f. ctor of vtkDistanceRepresentation2D).

Is it bug or designed?

Thanks,
Shinya
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [vtkDistanceWidget] 2D point handle does not follow mouse interaction

minyang
Hi Shinya,

I met the same problem. Is there any solution for it?

thanks,
min

Loading...