|
enum | {
WidgetStateFollowCursor = WidgetStateUser,
WidgetStateBlend,
WidgetStateTranslateSlice,
WidgetStateZoomSlice,
WidgetStateTouchGesture
} |
| Widget states. More...
|
|
enum | {
WidgetEventTouchGestureStart = WidgetEventUser,
WidgetEventTouchGestureEnd,
WidgetEventTouchRotateSliceIntersection,
WidgetEventTouchZoomSlice,
WidgetEventTouchTranslateSlice,
WidgetEventBlendStart,
WidgetEventBlendEnd,
WidgetEventToggleLabelOpacity,
WidgetEventToggleForegroundOpacity,
WidgetEventIncrementSlice,
WidgetEventDecrementSlice,
WidgetEventZoomInSlice,
WidgetEventZoomOutSlice,
WidgetEventToggleSliceVisibility,
WidgetEventToggleAllSlicesVisibility,
WidgetEventResetFieldOfView,
WidgetEventShowNextBackgroundVolume,
WidgetEventShowPreviousBackgroundVolume,
WidgetEventShowNextForegroundVolume,
WidgetEventShowPreviousForegroundVolume,
WidgetEventTranslateSliceStart,
WidgetEventTranslateSliceEnd,
WidgetEventZoomSliceStart,
WidgetEventZoomSliceEnd,
WidgetEventSetCrosshairPosition
} |
| Widget events. More...
|
|
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 | {
WidgetStateAny,
WidgetStateIdle,
WidgetStateOnWidget,
WidgetStateTranslate,
WidgetStateRotate,
WidgetStateScale,
WidgetStateUser
} |
| The state of the widget. More...
|
|
typedef vtkObject | Superclass |
| Standard methods for a VTK class. More...
|
|
enum | WidgetEvents {
WidgetEventNone,
WidgetEventMouseMove,
WidgetEventTranslateStart,
WidgetEventTranslateEnd,
WidgetEventRotateStart,
WidgetEventRotateEnd,
WidgetEventScaleStart,
WidgetEventScaleEnd,
WidgetEventPick,
WidgetEventJumpCursor,
WidgetEventAction,
WidgetEventCustomAction1,
WidgetEventCustomAction2,
WidgetEventCustomAction3,
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. More...
|
|
void | CreateDefaultRepresentation () |
|
bool | GetActionEnabled (int actionsMask) |
|
int | GetActionsEnabled () |
| Set full list of enabled actions. More...
|
|
vtkMRMLSliceNode * | GetSliceNode () |
|
void | Leave (vtkMRMLInteractionEventData *eventData) override |
| Called when the the widget loses the focus. More...
|
|
bool | ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override |
| Process interaction event. More...
|
|
void | SetActionEnabled (int actionsMask, bool enable=true) |
|
void | SetActionsEnabled (int actions) |
| Set exact list of actions to enable. More...
|
|
void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *applicationLogic) override |
|
void | SetSliceNode (vtkMRMLSliceNode *sliceNode) |
|
void | UpdateInteractionEventMapping () |
|
virtual vtkWidgetEventTranslator * | GetEventTranslator (int widgetState) |
|
virtual bool | GetGrabFocus () |
|
vtkMRMLInteractionNode * | GetInteractionNode () |
|
virtual bool | GetInteractive () |
|
virtual int | GetMouseCursor () |
|
vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () |
|
virtual bool | GetNeedToRender () |
|
virtual int | GetNumberOfEventTranslators () |
|
vtkRenderer * | GetRenderer () |
|
virtual vtkMRMLAbstractWidgetRepresentation * | GetRepresentation () |
| Get the representation. More...
|
|
virtual int | GetWidgetState () |
| Convenient method to determine the state of the method. More...
|
|
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. More...
|
|
virtual unsigned long | TranslateInteractionEventToWidgetEvent (vtkMRMLInteractionEventData *eventData) |
| Get widget event from translation event. More...
|
|
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. More...
|
|
Show slice intersection lines.
The vtkMRMLSliceIntersectionWidget allows moving slices by interacting with displayed slice intersection lines.
Definition at line 43 of file vtkMRMLSliceIntersectionWidget.h.