The structure is used for passing all infromation necessary for claculation of the selection. More...
#include <SVTK_SelectionEvent.h>
Public Attributes | |
| Selection_Mode | mySelectionMode |
| Through usage of the parameter any new type of selection can be introduced. More... | |
| int | myX |
| Current X position of the mouse. More... | |
| int | myY |
| Current Y position of the mouse. More... | |
| int | myLastX |
| Last X position of the mouse before starting any complex operation (like rectangle selection) More... | |
| int | myLastY |
| Last Y position of the mouse before starting any complex operation. More... | |
| bool | myIsRectangle |
| A flag to define is it necessary provide rectangle selection for current Selection_Mode. More... | |
| bool | myIsPolygon |
| A flag to define is it necessary provide polygonal selection for current Selection_Mode. More... | |
| QVector< QPoint > | myPolygonPoints |
| Vector of points for polygonal selection. More... | |
| bool | myIsCtrl |
| Is Ctrl key are pressed. More... | |
| bool | myIsShift |
| Is Shift key are pressed. More... | |
| int | myKeyCode |
| Code of the pressed key. More... | |
| int | myRepeatCount |
| Number of repetion of the key pressing. More... | |
The structure is used for passing all infromation necessary for claculation of the selection.
The SVTK_SelectionEvent is generated by SVTK_InteractorStyle. In its turn the SVTK_InteractorStyle uses for it generation vtkRenderWindowInteractor and SVTK_Selector instances.
| bool SVTK_SelectionEvent::myIsCtrl |
Is Ctrl key are pressed.
| bool SVTK_SelectionEvent::myIsPolygon |
A flag to define is it necessary provide polygonal selection for current Selection_Mode.
| bool SVTK_SelectionEvent::myIsRectangle |
A flag to define is it necessary provide rectangle selection for current Selection_Mode.
| bool SVTK_SelectionEvent::myIsShift |
Is Shift key are pressed.
| int SVTK_SelectionEvent::myKeyCode |
Code of the pressed key.
| int SVTK_SelectionEvent::myLastX |
Last X position of the mouse before starting any complex operation (like rectangle selection)
| int SVTK_SelectionEvent::myLastY |
Last Y position of the mouse before starting any complex operation.
| QVector<QPoint> SVTK_SelectionEvent::myPolygonPoints |
Vector of points for polygonal selection.
| int SVTK_SelectionEvent::myRepeatCount |
Number of repetion of the key pressing.
| Selection_Mode SVTK_SelectionEvent::mySelectionMode |
Through usage of the parameter any new type of selection can be introduced.
| int SVTK_SelectionEvent::myX |
Current X position of the mouse.
| int SVTK_SelectionEvent::myY |
Current Y position of the mouse.