|
| enum | {
ActionNone = 0
, ActionTranslate = 1
, ActionZoom = 2
, ActionRotate = 4
,
ActionBlend = 8
, ActionBrowseSlice = 64
, ActionShowSlice = 128
, ActionAdjustLightbox = 256
,
ActionSelectVolume = 512
, ActionSetCursorPosition = 1024
, ActionSetCrosshairPosition = 2048
, ActionTranslateSliceIntersection = 4096
,
ActionRotateSliceIntersection = 8192
, ActionAll
} |
| | Action State values and management. More...
|
| |
| enum | {
WidgetEventTouchGestureStart = WidgetEventUser
, WidgetEventTouchGestureEnd
, WidgetEventTouchRotateSliceIntersection
, WidgetEventTouchZoomSlice
,
WidgetEventTouchTranslateSlice
, WidgetEventMoveCrosshairStart
, WidgetEventMoveCrosshairEnd
, WidgetEventBlendStart
,
WidgetEventBlendEnd
, WidgetEventToggleLabelOpacity
, WidgetEventToggleForegroundOpacity
, WidgetEventIncrementSlice
,
WidgetEventDecrementSlice
, WidgetEventZoomInSlice
, WidgetEventZoomOutSlice
, WidgetEventToggleSliceVisibility
,
WidgetEventToggleAllSlicesVisibility
, WidgetEventResetFieldOfView
, WidgetEventShowNextBackgroundVolume
, WidgetEventShowPreviousBackgroundVolume
,
WidgetEventShowNextForegroundVolume
, WidgetEventShowPreviousForegroundVolume
, WidgetEventRotateIntersectingSlicesStart
, WidgetEventRotateIntersectingSlicesEnd
,
WidgetEventTranslateSliceStart
, WidgetEventTranslateSliceEnd
, WidgetEventZoomSliceStart
, WidgetEventZoomSliceEnd
,
WidgetEventSetCrosshairPosition
, WidgetEventSetCrosshairPositionBackground
, WidgetEventMaximizeView
, WidgetEventTranslateIntersectingSlicesHandleStart
,
WidgetEventTranslateIntersectingSlicesHandleEnd
, WidgetEventRotateIntersectingSlicesHandleStart
, WidgetEventRotateIntersectingSlicesHandleEnd
, WidgetEventTranslateSingleIntersectingSliceHandleStart
,
WidgetEventTranslateSingleIntersectingSliceHandleEnd
, WidgetEventTranslateIntersectingThickSlabHandleStart
, WidgetEventTranslateIntersectingThickSlabHandleEnd
} |
| | Widget events. More...
|
| |
| enum | {
WidgetStateMoveCrosshair = WidgetStateUser
, WidgetStateBlend
, WidgetStateTranslateSlice
, WidgetStateRotateIntersectingSlices
,
WidgetStateZoomSlice
, WidgetStateTouchGesture
, WidgetStateOnTranslateIntersectingSlicesHandle
, WidgetStateTranslateIntersectingSlicesHandle
,
WidgetStateOnRotateIntersectingSlicesHandle
, WidgetStateRotateIntersectingSlicesHandle
, WidgetStateOnTranslateSingleIntersectingSliceHandle
, WidgetStateTranslateSingleIntersectingSliceHandle
,
WidgetStateOnTranslateIntersectingThickSlabHandle
, WidgetStateTranslateIntersectingThickSlabHandle
, WidgetState_Last
} |
| | Widget states. More...
|
| |
| typedef vtkMRMLAbstractWidget | Superclass |
| |
| enum | {
WidgetStateAny
, WidgetStateIdle
, WidgetStateOnWidget
, WidgetStateTranslate
,
WidgetStateRotate
, WidgetStateScale
, WidgetStateUser
} |
| | The state of the widget. More...
|
| |
| typedef vtkObject | Superclass |
| | Standard methods for a VTK class.
|
| |
| enum | WidgetEvents {
WidgetEventNone
, WidgetEventMouseMove
, WidgetEventTranslateStart
, WidgetEventTranslateEnd
,
WidgetEventRotateStart
, WidgetEventRotateEnd
, WidgetEventScaleStart
, WidgetEventScaleEnd
,
WidgetEventPick
, WidgetEventJumpCursor
, WidgetEventAction
, WidgetEventCustomAction1
,
WidgetEventCustomAction2
, WidgetEventCustomAction3
, WidgetEventCustomAction4
, WidgetEventCustomAction5
,
WidgetEventCustomAction6
, WidgetEventSelect
, WidgetEventUnselect
, WidgetEventToggleSelect
,
WidgetEventMenu
, WidgetEventReset
, WidgetEventUser
} |
| | Widget events. More...
|
| |
|
| bool | CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2) override |
| | Return true if the widget can process the event.
|
| |
| void | CreateDefaultRepresentation () |
| |
| bool | GetActionEnabled (int actionsMask) |
| |
| int | GetActionsEnabled () |
| | Set full list of enabled actions.
|
| |
| virtual const char * | GetClassName () |
| |
| int | GetMouseCursor () override |
| |
| vtkMRMLSliceDisplayNode * | GetSliceDisplayNode () |
| |
| vtkMRMLSliceNode * | GetSliceNode () |
| |
| virtual int | IsA (const char *type) |
| |
| void | Leave (vtkMRMLInteractionEventData *eventData) override |
| | Called when the the widget loses the focus.
|
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| bool | ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override |
| | Process interaction event.
|
| |
| void | SetActionEnabled (int actionsMask, bool enable=true) |
| |
| void | SetActionsEnabled (int actions) |
| | Set exact list of actions to enable.
|
| |
| void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *applicationLogic) override |
| |
| void | SetSliceNode (vtkMRMLSliceNode *sliceNode) |
| |
| void | UpdateInteractionEventMapping () |
| |
| virtual vtkWidgetEventTranslator * | GetEventTranslator (int widgetState) |
| |
| virtual bool | GetGrabFocus () |
| |
| vtkMRMLInteractionNode * | GetInteractionNode () |
| |
| virtual bool | GetInteractive () |
| |
| vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () |
| |
| virtual bool | GetNeedToRender () |
| |
| virtual int | GetNumberOfEventTranslators () |
| |
| vtkRenderer * | GetRenderer () |
| |
| virtual vtkMRMLAbstractWidgetRepresentation * | GetRepresentation () |
| | Get the representation.
|
| |
| virtual int | GetWidgetState () |
| | Convenient method to determine the state of the method.
|
| |
| virtual void | NeedToRenderOff () |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| void | SetEventTranslation (int widgetState, unsigned long interactionEvent, int modifiers, unsigned long widgetEvent) |
| |
| void | SetEventTranslation (unsigned long interactionEvent, int modifiers, unsigned long widgetEvent) |
| |
| void | SetEventTranslationClickAndDrag (int widgetState, unsigned long startInteractionEvent, int modifiers, int widgetStateDragging, unsigned long widgetStartEvent, unsigned long widgetEndEvent) |
| |
| void | SetKeyboardEventTranslation (int modifier, char keyCode, int repeatCount, const char *keySym, unsigned long widgetEvent) |
| |
| void | SetKeyboardEventTranslation (int widgetState, int modifier, char keyCode, int repeatCount, const char *keySym, unsigned long widgetEvent) |
| |
| void | SetRenderer (vtkRenderer *renderer) |
| |
| virtual void | SetRepresentation (vtkMRMLAbstractWidgetRepresentation *r) |
| |
| virtual void | SetWidgetState (int) |
| | Convenient method to change what state the widget is in.
|
| |
| virtual unsigned long | TranslateInteractionEventToWidgetEvent (vtkMRMLInteractionEventData *eventData) |
| | Get widget event from translation event.
|
| |
| virtual void | UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) |
| | Build the actors of the representation with the info stored in the MRML scene.
|
| |
Show slice intersection lines.
The vtkMRMLSliceIntersectionWidget allows moving slices by interacting with displayed slice intersection lines.
Definition at line 43 of file vtkMRMLSliceIntersectionWidget.h.