Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SVTK_SelectionEvent Struct Reference

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...
 

Detailed Description

The SVTK_SelectionEvent is generated by SVTK_InteractorStyle. In its turn the SVTK_InteractorStyle uses for it generation vtkRenderWindowInteractor and SVTK_Selector instances.

Member Data Documentation

bool SVTK_SelectionEvent::myIsCtrl
bool SVTK_SelectionEvent::myIsPolygon
bool SVTK_SelectionEvent::myIsRectangle
bool SVTK_SelectionEvent::myIsShift
int SVTK_SelectionEvent::myKeyCode
int SVTK_SelectionEvent::myLastX
int SVTK_SelectionEvent::myLastY
QVector<QPoint> SVTK_SelectionEvent::myPolygonPoints
int SVTK_SelectionEvent::myRepeatCount
Selection_Mode SVTK_SelectionEvent::mySelectionMode
int SVTK_SelectionEvent::myX
int SVTK_SelectionEvent::myY

The documentation for this struct was generated from the following file: