23 #pragma region RH_C_SHARED_ENUM [ON_ComponentState] [Rhino.Geometry.ComponentState] [internal:byte] 28 enum class ON_ComponentState : unsigned char
43 SelectedPersistent = 4,
76 RuntimeMarkClear = 15,
84 ON_ComponentState ON_ComponentStateFromUnsigned(
85 unsigned int state_as_unsigned
112 ON_ComponentState state
125 bool IsClear()
const;
136 unsigned int SetStatus(
151 unsigned int SetStates(
166 unsigned int ClearStates(
174 bool RuntimeMark()
const;
175 unsigned int SetRuntimeMark(
178 unsigned int SetRuntimeMark();
179 unsigned int ClearRuntimeMark();
192 ON_ComponentState SelectedState()
const;
199 unsigned int SetSelectedState(
202 bool bSynchronizeHighlight
205 unsigned int SetSelectedState(
206 ON_ComponentState selected_state,
207 bool bSynchronizeHighlight
218 bool IsSelected()
const;
227 bool IsSelectedPersistent()
const;
238 unsigned int SetHighlightedState(
247 bool IsHighlighted()
const;
260 unsigned int SetHiddenState(
270 bool IsHidden()
const;
281 unsigned int SetLockedState(
291 bool IsLocked()
const;
303 unsigned int SetDeletedState(
313 bool IsDeleted()
const;
326 unsigned int SetDamagedState(
336 bool IsDamaged()
const;
378 bool SomeEqualStates(
403 unsigned char m_status_flags = 0U;
433 bool ClearAllStates();
444 bool ClearAggregateStatus(
479 bool IsEmpty()
const;
488 bool IsCurrent()
const;
495 void MarkAsNotCurrent();
499 unsigned int ComponentCount()
const;
505 unsigned int SelectedCount()
const;
511 unsigned int SelectedPersistentCount()
const;
513 unsigned int HighlightedCount()
const;
515 unsigned int HiddenCount()
const;
517 unsigned int LockedCount()
const;
519 unsigned int DamagedCount()
const;
526 unsigned char m_current = 0;
527 unsigned short m_reserved2 = 0;
531 unsigned int m_component_count = 0;
534 unsigned int m_selected_count = 0;
537 unsigned int m_selected_persistent_count = 0;
540 unsigned int m_highlighted_count = 0;
543 unsigned int m_hidden_count = 0;
546 unsigned int m_locked_count = 0;
549 unsigned int m_damaged_count = 0;
static const ON_ComponentStatus Locked
Definition: opennurbs_compstat.h:97
static const ON_ComponentStatus Deleted
Definition: opennurbs_compstat.h:98
static const ON_ComponentStatus Damaged
Definition: opennurbs_compstat.h:99
Definition: opennurbs_compstat.h:396
Definition: opennurbs_compstat.h:88
static const ON_ComponentStatus Highlighted
Definition: opennurbs_compstat.h:95
static const ON_ComponentStatus NoneSet
Definition: opennurbs_compstat.h:92
static const ON_ComponentStatus Hidden
Definition: opennurbs_compstat.h:96
static const ON_ComponentStatus Selected
Definition: opennurbs_compstat.h:93
static const ON_ComponentStatus AllSet
Definition: opennurbs_compstat.h:100
static const ON_ComponentStatus SelectedPersistent
Definition: opennurbs_compstat.h:94