Open CASCADE Technology 7.8.2.dev
AIS_SelectionScheme.hxx File Reference

Enumerations

enum  AIS_SelectionScheme {
  AIS_SelectionScheme_UNKNOWN = -1 , AIS_SelectionScheme_Replace = 0 , AIS_SelectionScheme_Add , AIS_SelectionScheme_Remove ,
  AIS_SelectionScheme_XOR , AIS_SelectionScheme_Clear , AIS_SelectionScheme_ReplaceExtra
}
 Sets selection schemes for interactive contexts. More...
 

Enumeration Type Documentation

◆ AIS_SelectionScheme

Sets selection schemes for interactive contexts.

Enumerator
AIS_SelectionScheme_UNKNOWN 

undefined scheme

AIS_SelectionScheme_Replace 

clears current selection and select detected objects

AIS_SelectionScheme_Add 

adds detected object to current selection

AIS_SelectionScheme_Remove 

removes detected object from the current selection

AIS_SelectionScheme_XOR 

performs XOR for detected objects, other selected not touched

AIS_SelectionScheme_Clear 

clears current selection

AIS_SelectionScheme_ReplaceExtra 

replace with one difference: if result of replace is an empty, and current selection contains detected element, it will be selected