MantisBT - VTK
View Issue Details
0007057VTK(No Category)public2008-05-20 04:472016-08-12 09:54
Laurent PAUL 
Kitware Robot 
normalfeaturealways
closedmoved 
 
 
0007057: vtkImplicitPlaneWidget does not change state in RightButtonDown if scale is disabled
When left clicking in the widget (normal or plane), plane state switch to Rotationg or Pushing. If right clicking outside of the widget, plane does not turn its state to Outside because of the "if" test on ScaleEnabled member.
If Scale is off, widget remains in its initial state eg. Start and camera is zooming in and out...

I added an "else" to the "if" test which turns state of the widget to Outside. If we are not interested in scaling the widget, so it has to act as if we were always right clicking outside the widget.
No tags attached.
Issue History
2008-05-20 04:47Laurent PAULNew Issue
2009-02-18 07:24Fabio MenegazzoNote Added: 0015124
2009-02-18 07:36Laurent PAULNote Added: 0015125
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036974
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0015124)
Fabio Menegazzo   
2009-02-18 07:24   
Are you using a custom interactor style?

Because I had a similar problem but I solved it with VTK 5.2.1 using the vtkImplicitPlaneWidget2 instead of vtkImplicitPlaneWidget.
(0015125)
Laurent PAUL   
2009-02-18 07:36   
No, I use the vtkInteractorStyleTrackballCamera.
I work with FLTK and events are propagated to VTK using a vtkFlRenderWindowInteractor class that interprets all events into vtkCommands.
I no longer have this bug since I corrected it using the tip provided with the report.
Laurent.
(0036974)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.