KWWidgets/Projects/3DWidgets/Part2/Widgets/New: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
= New Widgets = | = 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. | |||
:Image | |||
== 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 | |||
== 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 | |||
== 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 | |||
= 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 | :Image |
Revision as of 08:52, 19 December 2006
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.
- Image
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
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
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
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