27 #ifndef SVTK_SELECTIONEVENT_H
28 #define SVTK_SELECTIONEVENT_H
Selection_Mode
Definition: SALOME_Selection.h:27
The structure is used for passing all infromation necessary for claculation of the selection.
Definition: SVTK_SelectionEvent.h:41
bool myIsRectangle
A flag to define is it necessary provide rectangle selection for current Selection_Mode.
Definition: SVTK_SelectionEvent.h:48
bool myIsPolygon
A flag to define is it necessary provide polygonal selection for current Selection_Mode.
Definition: SVTK_SelectionEvent.h:49
int myRepeatCount
Number of repetion of the key pressing.
Definition: SVTK_SelectionEvent.h:54
int myLastX
Last X position of the mouse before starting any complex operation (like rectangle selection)
Definition: SVTK_SelectionEvent.h:46
int myX
Current X position of the mouse.
Definition: SVTK_SelectionEvent.h:44
int myY
Current Y position of the mouse.
Definition: SVTK_SelectionEvent.h:45
QVector< QPoint > myPolygonPoints
Vector of points for polygonal selection.
Definition: SVTK_SelectionEvent.h:50
bool myIsCtrl
Is Ctrl key are pressed.
Definition: SVTK_SelectionEvent.h:51
int myLastY
Last Y position of the mouse before starting any complex operation.
Definition: SVTK_SelectionEvent.h:47
bool myIsShift
Is Shift key are pressed.
Definition: SVTK_SelectionEvent.h:52
Selection_Mode mySelectionMode
Through usage of the parameter any new type of selection can be introduced.
Definition: SVTK_SelectionEvent.h:43
int myKeyCode
Code of the pressed key.
Definition: SVTK_SelectionEvent.h:53