KWWidgets/Projects/3DWidgets/Part2/Widgets/New

From KitwarePublic
Jump to navigationJump to search

To be updated during widget development

New Widgets

  • Selection widgets
  • Scale, translate, rotate widgets

vtkSelectBoxWidget

Drag and highlight a rectangular portion of the render window in order to select actors, props or widgets.
Left button down - start selection
Left button up - end selection
Mouse move - if selecting then draw rectangle around current selection area.

vtkBoxScaleWidget

Perform scale action on a vtkProp3D.
Left click on widget handles to scale current selection.
Right click to select a vtkProp3D as current selection.
3DWidgets Part2 BoxScaleWidget.png


vtkBoxTranslateWidget

Perform translation on a vtkProp3D.
Left click and drag to move the current selection.
Right click to select a vtkProp3D as current selection.
3DWidgets Part2 BoxTranslateWidget.png


vtkBoxRotateWidget

Perform rotation on a vtkProp3D.
Left click and drag to rotate the current selection.
Right click to select a vtkProp3D as current selection.
3DWidgets Part2 BoxRotateWidget.png


Updated Widgets

  • BoxWidget

vtkBoxWidget2

Perform scale, rotate and translate actions on a vtkProp3D.
Action depends on mouse button and selected handle/face of widget.
Updated to create a mouse over function. As the function depends on mouse button and current part of the widget, only a simplified mouse over was created.
3DWidgets Part2 BoxWidget2.png