16 #ifndef __vtkMRMLSliceViewInteractorStyle_h 17 #define __vtkMRMLSliceViewInteractorStyle_h 20 #include "vtkWeakPointer.h" 23 #include "vtkMRMLDisplayableManagerExport.h" 48 void PrintSelf(ostream& os, vtkIndent indent)
override;
65 AdjustWindowLevelBackground = 16,
66 AdjustWindowLevelForeground = 32,
71 SetCursorPosition = 1024,
72 SetCrosshairPosition = 2048,
73 TranslateSliceIntersection = 4096,
74 RotateSliceIntersection = 8192,
75 AllActionsMask = Translate | Zoom | Rotate | Blend | AdjustWindowLevelBackground | AdjustWindowLevelForeground
76 | BrowseSlice | ShowSlice | AdjustLightbox | SelectVolume | SetCursorPosition | SetCrosshairPosition
77 | TranslateSliceIntersection | RotateSliceIntersection
84 void SetActionEnabled(
int actionsMask,
bool enable =
true);
87 bool GetActionEnabled(
int actionsMask);
102 static void SliceViewProcessEvents(vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
void SetMouseCursor(int cursor)
Superclass for displayable manager classes.
vtkMRMLSliceLogic * SliceLogic
void PrintSelf(ostream &os, vtkIndent indent) override
virtual bool DelegateInteractionEventToDisplayableManagers(unsigned long event)
Common base class for processing interaction events in MRML views.
MRML node for representing segmentation display attributes.
static vtkMRMLViewInteractorStyle * New()
Displayable manager for window/level adjustment of volumes.
Provides customizable interaction routines.
Slicer logic class for slice manipulation.
Displayable manager for the crosshair on slice (2D) views.