Hi All,
I recently began using the vtkBalloonWidget
in my c++ application, and I noticed that when it’s enabled, navigation with vtkInteractorStyleTrackballCamera
continues until the mouse button is released. This behavior occurs for all types of navigation, including panning, rotating, and zooming. However, when the balloon widget is disabled, navigation only occurs when the mouse button is pressed and moved (i.e., button press followed by mouse drag).
Is this the intended behavior? If so, what steps should I take to disable the vtkBalloonWidget
while navigation is in progress?
You can observe this behavior by adding the following two lines to the vtkexample:
vtkNew<vtkInteractorStyleTrackballCamera> style;
iRen->SetInteractorStyle(style);
Please execute the example both with and without enabling the balloonWidget
to observe the difference.
Thank you for your assistance.