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
Superclass for displayable manager classes.
Displayable manager for the crosshair on slice (2D) views.
Displayable manager for window/level adjustment of volumes.
MRML node for representing segmentation display attributes.
Slicer logic class for slice manipulation.
Provides customizable interaction routines.
static vtkMRMLSliceViewInteractorStyle * New()
static void SliceViewProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkMRMLSliceLogic * SliceLogic
void SetActionEnabled(int actionsMask, bool enable=true)
~vtkMRMLSliceViewInteractorStyle() override
bool DelegateInteractionEventToDisplayableManagers(vtkEventData *inputEventData) override
vtkMRMLSliceViewInteractorStyle()
vtkMRMLCrosshairDisplayableManager * GetCrosshairDisplayableManager()
bool GetActionEnabled(int actionsMask)
void SetSliceLogic(vtkMRMLSliceLogic *SliceLogic)
Get/Set the SliceLogic.
vtkMRMLScalarBarDisplayableManager * GetScalarBarDisplayableManager()
void SetMouseCursor(int cursor)
void PrintSelf(ostream &os, vtkIndent indent) override
Common base class for processing interaction events in MRML views.
virtual bool DelegateInteractionEventToDisplayableManagers(unsigned long event)