0030452: Visualization - SelectMgr_ViewerSelector::Deactivate() raises exception...
[occt.git] / src / SelectMgr / SelectMgr_StateOfSelection.hxx
index b430d0a..71f413b 100644 (file)
 //! different state of a Selection in a ViewerSelector...
 enum SelectMgr_StateOfSelection
 {
-SelectMgr_SOS_Activated,
-SelectMgr_SOS_Deactivated,
-SelectMgr_SOS_Sleeping,
-SelectMgr_SOS_Any,
-SelectMgr_SOS_Unknown
+  SelectMgr_SOS_Any         = -2, //!< ANY selection state (for querying selections)
+  SelectMgr_SOS_Unknown     = -1, //!< selection, which has  never been in SelectMgr_SOS_Activated state (almost the same thing as SelectMgr_SOS_Deactivated)
+  SelectMgr_SOS_Deactivated =  0, //!< deactivated selection, once been in SelectMgr_SOS_Activated state
+  SelectMgr_SOS_Activated,        //!< activated selection
 };
 
 #endif // _SelectMgr_StateOfSelection_HeaderFile