Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoOverrideElement.h File Reference
#include <Inventor/elements/SoSubElement.h>
#include <Inventor/STL/bitset>

Go to the source code of this file.

Classes

class  SoOverrideElement
 Stores a flag for each type of element which can be overridden. More...
 

Macros

#define SO_GET_OVERRIDE(flag)
 
#define SO_SET_OVERRIDE(flag)
 

Macro Definition Documentation

◆ SO_GET_OVERRIDE

#define SO_GET_OVERRIDE (   flag)
Value:
const SoOverrideElement *elt; \
elt = SoElement::getConstElement<SoOverrideElement>(state); \
return (elt->m_flags.test(flag));
Stores a flag for each type of element which can be overridden.

Definition at line 61 of file SoOverrideElement.h.

◆ SO_SET_OVERRIDE

#define SO_SET_OVERRIDE (   flag)
Value:
elt = SoElement::getElement<SoOverrideElement>(state); \
if (override) \
elt->m_flags.set(flag); \
else \
elt->m_flags.reset(flag);

Definition at line 69 of file SoOverrideElement.h.