|
open_iA 2024.7
|
Custom interactor style for slicers, changing some interactions from vtkInteractorStyleImage. More...
#include <iASlicerInteractorStyle.h>
Public Types | |
| enum | InteractionMode { imNormal , imRegionSelect , imWindowLevelAdjust } |
Public Member Functions | |
| iASlicerInteractorStyle () | |
| void | OnLeftButtonDown () override |
| void | OnLeftButtonUp () override |
| void | OnMouseMove () override |
| vtkTypeMacro (iASlicerInteractorStyle, vtkInteractorStyleImage) | |
| void | OnMouseWheelForward () override |
| shift and control + mousewheel are used differently - don't use them for zooming! | |
| void | OnMouseWheelBackward () override |
| void | OnRightButtonDown () override |
| Conditionally disable zooming via right button dragging. | |
| void | setRightButtonDragZoomEnabled (bool enabled) |
| void | setInteractionMode (InteractionMode mode) |
| bool | leftButtonDown () const |
| InteractionMode | interactionMode () const |
| iASlicerInteractionEvents const & | qtEventObject () const |
Static Public Member Functions | |
| static iASlicerInteractorStyle * | New () |
Custom interactor style for slicers, changing some interactions from vtkInteractorStyleImage.
Changed interactions:
| iASlicerInteractorStyle::iASlicerInteractorStyle | ( | ) |
| iASlicerInteractorStyle::InteractionMode iASlicerInteractorStyle::interactionMode | ( | ) | const |
| bool iASlicerInteractorStyle::leftButtonDown | ( | ) | const |
|
static |
|
override |
With m_leftButtonDown it does not work properly if release happens outside!
|
override |
|
override |
|
override |
|
override |
shift and control + mousewheel are used differently - don't use them for zooming!
|
override |
Conditionally disable zooming via right button dragging.
| iASlicerInteractionEvents const & iASlicerInteractorStyle::qtEventObject | ( | ) | const |
| void iASlicerInteractorStyle::setInteractionMode | ( | InteractionMode | mode | ) |
| void iASlicerInteractorStyle::setRightButtonDragZoomEnabled | ( | bool | enabled | ) |
| iASlicerInteractorStyle::vtkTypeMacro | ( | iASlicerInteractorStyle | , |
| vtkInteractorStyleImage | ) |