36 #include <Inventor/SbBasic.h> 52 SoElement * getElement(
const int stackindex);
53 const SoElement * getConstElement(
const int stackindex)
const;
58 void print(FILE *
const file = stdout)
const;
60 SbBool isElementEnabled(
const int stackindex)
const;
62 int getDepth(
void)
const;
64 void setCacheOpen(
const SbBool flag);
65 SbBool isCacheOpen(
void)
const;
67 SoElement * getElementNoPush(
const int stackindex)
const;
73 class SoStateP * pimpl;
81 return (stackindex < this->numstacks) && (this->stack[stackindex] != NULL);
87 assert(this->isElementEnabled(stackindex));
88 return this->stack[stackindex];
94 return this->cacheopen;
98 SoState::getElementNoPush(
const int stackindex)
const 100 assert(this->isElementEnabled(stackindex));
101 return this->stack[stackindex];
105 #endif // !COIN_SOSTATE_H SbBool isElementEnabled(const int stackindex) const
Definition: SoState.h:79
const SoElement * getConstElement(const int stackindex) const
Definition: SoState.h:85
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
The SoTypeList class is a container class for arrays of SoType objects.
Definition: SoTypeList.h:39
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:77
SbBool isCacheOpen(void) const
Definition: SoState.h:92