This enumeration defines selection schemes supported by SelectionManager. It represents a subset of values of corresponding C++ AIS_SelectionScheme enumeration defined by OCCT.

For using this enum please use its implementation from OccViewer.AIS_SelectionScheme.

Enumeration Members

Add: 2

Adds detected object to current selection, AIS_SelectionScheme_Add.

Clear: 5

Clears current selection, AIS_SelectionScheme_Clear.

Remove: 3

Removes detected object from the current selection, AIS_SelectionScheme_Remove.

Replace: 1

Clears current selection and select detected objects, AIS_SelectionScheme_Replace.

ReplaceExtra: 6

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

UNKNOWN: 0

Undefined scheme, AIS_SelectionScheme_UNKNOWN.

XOR: 4

Performs XOR for detected objects, other selected not touched, AIS_SelectionScheme_XOR.