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

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


= New Widgets =
= New Widgets =
*List
*Selection widgets
*List
*Scale, translate, rotate widgets


== Widget Name ==
== vtkSelectBoxWidget ==
:Description
:Drag and highlight a rectangular portion of the render window in order to select actors, props or widgets.
:Use
:Left button down - start selection
:Image
: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.
:[[Image:3DWidgets_Part2_BoxScaleWidget.png|300px]]
 
 
== vtkBoxTranslateWidget ==
:Perform translation on a vtkProp3D.
:Left click and drag to move the current selection.
:Right click to select a vtkProp3D as current selection.
:[[Image:3DWidgets_Part2_BoxTranslateWidget.png|300px]]
 
 
== vtkBoxRotateWidget ==
:Perform rotation on a vtkProp3D.
:Left click and drag to rotate the current selection.
:Right click to select a vtkProp3D as current selection.
:[[Image:3DWidgets_Part2_BoxRotateWidget.png|300px]]
 
 
= 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.
:[[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