KWWidgets/Projects/3DWidgets/Part2/Widgets/New: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 10: Line 10:
:Left button up - end selection
:Left button up - end selection
:Mouse move - if selecting then draw rectangle around current selection area.
:Mouse move - if selecting then draw rectangle around current selection area.
:Image


== vtkBoxScaleWidget ==
== vtkBoxScaleWidget ==
Line 16: Line 15:
:Left click on widget handles to scale current selection.
:Left click on widget handles to scale current selection.
:Right click to select a vtkProp3D as current selection.
:Right click to select a vtkProp3D as current selection.
:Image
:[[Image:3DWidgets_Part2_BoxScaleWidget.png|300px]]
 


== vtkBoxTranslateWidget ==
== vtkBoxTranslateWidget ==
Line 22: Line 22:
:Left click and drag to move the current selection.
:Left click and drag to move the current selection.
:Right click to select a vtkProp3D as current selection.
:Right click to select a vtkProp3D as current selection.
:Image
:[[Image:3DWidgets_Part2_BoxTranslateWidget.png|300px]]
 


== vtkBoxRotateWidget ==
== vtkBoxRotateWidget ==
Line 28: Line 29:
:Left click and drag to rotate the current selection.
:Left click and drag to rotate the current selection.
:Right click to select a vtkProp3D as current selection.
:Right click to select a vtkProp3D as current selection.
:Image
:[[Image:3DWidgets_Part2_BoxRotateWidget.png|300px]]




Line 38: Line 39:
:Action depends on mouse button and selected handle/face of widget.
: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.
: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.
:Image
:[[Image:3DWidgets_Part2_BoxWidget2.png|300px]]

Latest revision as of 12:28, 4 January 2007

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