0028416: Visualization - SelectMgr_SelectionManager::Activate() should not implicitly...
[occt.git] / src / AIS / AIS_SelectionModesConcurrency.hxx
f47849f4 1// Copyright (c) 2017 OPEN CASCADE SAS
3// This file is part of Open CASCADE Technology software library.
5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
14#ifndef _AIS_SelectionModesConcurrency_HeaderFile
15#define _AIS_SelectionModesConcurrency_HeaderFile
17//! The mode specifying how multiple active Selection Modes should be treated during activation of new one.
18enum AIS_SelectionModesConcurrency
20 AIS_SelectionModesConcurrency_Single, //!< only one selection mode can be activated at the same moment - previously activated should be deactivated
21 AIS_SelectionModesConcurrency_GlobalOrLocal, //!< either Global (AIS_InteractiveObject::GlobalSelectionMode() or Local (multiple) selection modes can be active at the same moment
22 AIS_SelectionModesConcurrency_Multiple, //!< any combination of selection modes can be activated
25#endif // _AIS_SelectionModesConcurrency_HeaderFile