Inventor/elements/SoOverrideElement.h File Reference
#include <Inventor/elements/SoSubElement.h>
#include <Inventor/STL/bitset>
Go to the source code of this file.
Define Documentation
#define SO_GET_OVERRIDE |
( |
flag |
|
) |
|
Value:const SoOverrideElement *elt; \
elt = SoElement::getConstElement<SoOverrideElement>(state); \
return (elt->m_flags.test(flag));
#define SO_SET_OVERRIDE |
( |
flag |
|
) |
|
Value:SoOverrideElement *elt; \
elt = SoElement::getElement<SoOverrideElement>(state); \
if (override) \
elt->m_flags.set(flag); \
else \
elt->m_flags.reset(flag);