|
| enum | {
WidgetEventControlPointPlace = WidgetEventMarkups_Last
, WidgetEventControlPointPlacePlaneNormal
, WidgetEventPlaneMoveStart
, WidgetEventPlaneMoveEnd
,
WidgetEventSymmetricScaleStart
, WidgetEventSymmetricScaleEnd
, WidgetEventMarkupsPlane_Last
} |
| | Widget events. More...
|
| |
| enum | { WidgetStateTranslatePlane = WidgetStateMarkups_Last
, WidgetStateSymmetricScale
, WidgetStateMarkupsPlane_Last
} |
| | Widget states. More...
|
| |
| typedef vtkSlicerMarkupsWidget | Superclass |
| | Standard methods for a VTK class.
|
| |
| enum | {
WidgetEventControlPointPlace = WidgetEventUser
, WidgetEventClickAndDragStart
, WidgetEventClickAndDragEnd
, WidgetEventStopPlace
,
WidgetEventControlPointMoveStart
, WidgetEventControlPointMoveEnd
, WidgetEventControlPointDelete
, WidgetEventControlPointInsert
,
WidgetEventControlPointSnapToSlice
, WidgetEventReserved
, WidgetEventMarkups_Last
} |
| | Widget events. More...
|
| |
| enum | { WidgetStateDefine = WidgetStateUser
, WidgetStateTranslateControlPoint
, WidgetStateMarkups_Last
} |
| | Widget states. More...
|
| |
| typedef vtkMRMLAbstractWidget | Superclass |
| | Standard methods for a VTK class.
|
| |
| 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 (vtkMRMLMarkupsDisplayNode *markupsDisplayNode, vtkMRMLAbstractViewNode *viewNode, vtkRenderer *renderer) override |
| | Create the default widget representation and initializes the widget and representation.
|
| |
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| virtual bool | PlacePlaneNormal (vtkMRMLInteractionEventData *eventData) |
| |
| bool | PlacePoint (vtkMRMLInteractionEventData *eventData) override |
| |
| bool | ProcessEndMouseDrag (vtkMRMLInteractionEventData *eventData) override |
| |
| bool | ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override |
| | Process interaction event.
|
| |
| bool | ProcessMouseMove (vtkMRMLInteractionEventData *eventData) override |
| |
| bool | ProcessPlaneMoveEnd (vtkMRMLInteractionEventData *event) |
| |
| bool | ProcessPlaneMoveStart (vtkMRMLInteractionEventData *event) |
| |
| bool | ProcessPlaneSymmetricScale (vtkMRMLInteractionEventData *event) |
| |
| bool | ProcessPlaneTranslate (vtkMRMLInteractionEventData *event) |
| |
| bool | ProcessUpdatePlaneFromViewNormal (vtkMRMLInteractionEventData *event) |
| |
| bool | ProcessWidgetStopPlace (vtkMRMLInteractionEventData *eventData) override |
| |
| bool | ProcessWidgetSymmetricScaleStart (vtkMRMLInteractionEventData *eventData) |
| |
| | vtkSlicerMarkupsWidgetCreateInstanceMacro (vtkSlicerPlaneWidget) |
| | Create instance of the markups widget.
|
| |
| virtual int | AddNodeOnWidget (const int displayPos[2]) |
| |
| virtual int | AddPointFromWorldCoordinate (const double worldCoordinates[3]) |
| | Add a point to the current active Markup at input World coordinates.
|
| |
| virtual vtkSlicerMarkupsWidget * | CreateInstance () const =0 |
| | Create instance of the markups widget.
|
| |
| int | GetActiveComponentIndex () |
| |
| int | GetActiveComponentType () |
| |
| int | GetActiveControlPoint () |
| |
| bool | GetInteractive () override |
| |
| vtkMRMLMarkupsDisplayNode * | GetMarkupsDisplayNode () |
| |
| vtkMRMLMarkupsNode * | GetMarkupsNode () |
| |
| vtkSlicerMarkupsWidgetRepresentation * | GetMarkupsRepresentation () |
| |
| int | GetMouseCursor () override |
| |
| bool | IsPointPreviewed () |
| |
| void | Leave (vtkMRMLInteractionEventData *eventData) override |
| | Called when the the widget loses the focus.
|
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| bool | RemovePreviewPoint () |
| |
| vtkMRMLSelectionNode * | selectionNode () |
| |
| void | UpdatePreviewPoint (vtkMRMLInteractionEventData *eventData, const char *associatedNodeID, int positionStatus) |
| | Add/update a point preview to the current active Markup at the specified position.
|
| |
| void | UpdatePreviewPointIndex (vtkMRMLInteractionEventData *eventData) |
| | Update a the current index of the point preview being previewed.
|
| |
| virtual vtkWidgetEventTranslator * | GetEventTranslator (int widgetState) |
| |
| virtual bool | GetGrabFocus () |
| |
| vtkMRMLInteractionNode * | GetInteractionNode () |
| |
| 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) |
| |
| virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *applicationLogic) |
| |
| 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.
|
| |
create a plane with a set of 3 points
The vtkSlicerPlaneWidget is used to create a plane widget with a set of 3 points.
Definition at line 39 of file vtkSlicerPlaneWidget.h.