Back to index

salome-gui  6.5.0
Classes
SVTK_SelectionEvent.h File Reference
#include "SVTK_Selection.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SVTK_SelectionEvent
 The structure is used for passing all infromation necessary for claculation of the selection. More...

Class Documentation

struct SVTK_SelectionEvent

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.

Definition at line 38 of file SVTK_SelectionEvent.h.

Class Members
bool myIsCtrl Is Ctrl key are pressed.
bool myIsRectangle A flag to define is it necessary provide rectangle selection for current Selection_Mode.
bool myIsShift Is Shift key are pressed.
int myKeyCode Code of the pressed key.
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.
int myRepeatCount Number of repetion of the key pressing.
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.