Version: 9.12.0
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 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.

Member Data Documentation

◆ myIsCtrl

bool SVTK_SelectionEvent::myIsCtrl

Is Ctrl key are pressed.

◆ myIsPolygon

bool SVTK_SelectionEvent::myIsPolygon

A flag to define is it necessary provide polygonal selection for current Selection_Mode.

◆ myIsRectangle

bool SVTK_SelectionEvent::myIsRectangle

A flag to define is it necessary provide rectangle selection for current Selection_Mode.

◆ myIsShift

bool SVTK_SelectionEvent::myIsShift

Is Shift key are pressed.

◆ myKeyCode

int SVTK_SelectionEvent::myKeyCode

Code of the pressed key.

◆ myLastX

int SVTK_SelectionEvent::myLastX

Last X position of the mouse before starting any complex operation (like rectangle selection)

◆ myLastY

int SVTK_SelectionEvent::myLastY

Last Y position of the mouse before starting any complex operation.

◆ myPolygonPoints

QVector<QPoint> SVTK_SelectionEvent::myPolygonPoints

Vector of points for polygonal selection.

◆ myRepeatCount

int SVTK_SelectionEvent::myRepeatCount

Number of repetion of the key pressing.

◆ mySelectionMode

Selection_Mode SVTK_SelectionEvent::mySelectionMode

Through usage of the parameter any new type of selection can be introduced.

◆ myX

int SVTK_SelectionEvent::myX

Current X position of the mouse.

◆ myY

int SVTK_SelectionEvent::myY

Current Y position of the mouse.


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