1 #ifndef COIN_SODEPTHBUFFERELEMENT_H
2 #define COIN_SODEPTHBUFFERELEMENT_H
36 #include <Inventor/elements/SoElement.h>
37 #include <Inventor/elements/SoSubElement.h>
38 #include <Inventor/SbVec2f.h>
47 enum DepthWriteFunction {
59 DepthWriteFunction
function,
SbVec2f range);
62 DepthWriteFunction & function_out,
SbVec2f & range_out);
66 static DepthWriteFunction getFunction(
SoState * state);
81 DepthWriteFunction
function,
SbVec2f range);
85 DepthWriteFunction
function;
90 #endif // !COIN_SODEPTHBUFFERELEMENT_H
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
virtual SoElement * copyMatchInfo(void) const =0
static void initClass(void)
Definition: SoElement.cpp:507
virtual void push(SoState *state)
Definition: SoElement.cpp:570
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scene graph traversal state data.
Definition: SoState.h:44
virtual void init(SoState *state)
Definition: SoElement.cpp:553
The SoDepthBufferElement controls the depth buffer settings.
Definition: SoDepthBufferElement.h:40
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:609