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