|
enum | { WidgetStateSymmetricScale = WidgetStateMarkups_Last,
WidgetStateMarkupsROI_Last
} |
| Widget states. More...
|
|
enum | { WidgetEventSymmetricScaleStart = WidgetEventMarkups_Last,
WidgetEventSymmetricScaleEnd,
WidgetEventMarkupsROI_Last
} |
|
typedef vtkSlicerMarkupsWidget | Superclass |
| Standard methods for a VTK class. More...
|
|
enum | {
WidgetStateDefine = WidgetStateUser,
WidgetStateTranslateControlPoint,
WidgetStateOnTranslationHandle,
WidgetStateOnRotationHandle,
WidgetStateOnScaleHandle,
WidgetStateMarkups_Last
} |
| Widget states. More...
|
|
enum | {
WidgetEventControlPointPlace = WidgetEventUser,
WidgetEventClickAndDragStart,
WidgetEventClickAndDragEnd,
WidgetEventStopPlace,
WidgetEventControlPointMoveStart,
WidgetEventControlPointMoveEnd,
WidgetEventControlPointDelete,
WidgetEventControlPointInsert,
WidgetEventControlPointSnapToSlice,
WidgetEventMarkups_Last
} |
| Widget events. More...
|
|
typedef vtkMRMLAbstractWidget | Superclass |
| Standard methods for a VTK class. 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...
|
|
|
void | CreateDefaultRepresentation (vtkMRMLMarkupsDisplayNode *markupsDisplayNode, vtkMRMLAbstractViewNode *viewNode, vtkRenderer *renderer) override |
| Create the default widget representation and initializes the widget and representation. More...
|
|
void | FlipROIHandles (bool flipLRHandle, bool flipAPHandle, bool flipISHandle) |
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
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. More...
|
|
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. More...
|
|
bool | PlacePoint (vtkMRMLInteractionEventData *eventData) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
bool | RemovePreviewPoint () |
|
void | UpdatePreviewPoint (vtkMRMLInteractionEventData *eventData, const char *associatedNodeID, int positionStatus) |
| Add/update a point preview to the current active Markup at the specified position. More...
|
|
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. 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) |
|
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. 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...
|
|
|
bool | CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2) override |
| Return true if the widget can process the event. More...
|
|
bool | ProcessEndMouseDrag (vtkMRMLInteractionEventData *eventData) |
|
bool | ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override |
| Process interaction event. More...
|
|
bool | ProcessMouseMove (vtkMRMLInteractionEventData *eventData) override |
|
bool | ProcessWidgetSymmetricScaleStart (vtkMRMLInteractionEventData *eventData) |
|
void | ScaleWidget (double eventPos[2]) override |
|
void | ScaleWidget (double eventPos[2], bool symmetricScale) |
|
| vtkSlicerROIWidget () |
|
| ~vtkSlicerROIWidget () override |
|
bool | ConvertDisplayPositionToWorld (const int displayPos[2], double worldPos[3], double worldOrientationMatrix[9], double *refWorldPos=nullptr) |
|
void | EndWidgetInteraction () |
|
virtual bool | GetClosestPointOnInteractionAxis (int type, int index, const double inputDisplay[2], double outputIntersectionWorld[3]) |
|
virtual bool | GetIntersectionOnAxisPlane (int type, int index, const double inputDisplay[2], double outputIntersectionWorld[3]) |
|
bool | IsAnyControlPointLocked () |
|
virtual bool | ProcessControlPointDelete (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessControlPointInsert (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessControlPointMoveStart (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessControlPointSnapToSlice (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetAction (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetJumpCursor (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetMenu (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetReset (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetRotateStart (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetScaleStart (vtkMRMLInteractionEventData *eventData) |
|
virtual bool | ProcessWidgetTranslateStart (vtkMRMLInteractionEventData *eventData) |
|
virtual void | RotateWidget (double eventPos[2]) |
|
void | StartWidgetInteraction (vtkMRMLInteractionEventData *eventData) |
|
virtual void | TranslatePoint (double eventPos[2], bool snapToSlice=false) |
|
virtual void | TranslateWidget (double eventPos[2]) |
|
| vtkSlicerMarkupsWidget () |
|
| ~vtkSlicerMarkupsWidget () override |
|
const char * | GetAssociatedNodeID (vtkMRMLInteractionEventData *eventData) |
|
unsigned long | TranslateInteractionEventToWidgetEvent (vtkWidgetEventTranslator *translator, vtkMRMLInteractionEventData *eventData) |
| Helper function that attempts to translate an event with a specific translator only. More...
|
|
| vtkMRMLAbstractWidget () |
|
| ~vtkMRMLAbstractWidget () override |
|
Create an ROI representation.
The vtkSlicerROIWidget is used to create an ROI widget.
Definition at line 35 of file vtkSlicerROIWidget.h.