Version: 6.3.1
Data Fields

SVTK_SelectionEvent Struct Reference

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.

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.


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS