1 #ifndef COIN_SODEPTHBUFFERELEMENT_H 
    2 #define COIN_SODEPTHBUFFERELEMENT_H 
   27 #include <Inventor/elements/SoElement.h> 
   28 #include <Inventor/elements/SoSubElement.h> 
   29 #include <Inventor/SbVec2f.h> 
   38   enum DepthWriteFunction {
 
   49   static void set(
SoState * state, SbBool test, SbBool write,
 
   50                   DepthWriteFunction 
function, 
SbVec2f range);
 
   52   static void get(
SoState * state, SbBool & test_out, SbBool & write_out,
 
   53                   DepthWriteFunction & function_out, 
SbVec2f & range_out);
 
   55   static SbBool getTestEnable(
SoState * state);
 
   56   static SbBool getWriteEnable(
SoState * state);
 
   57   static DepthWriteFunction getFunction(
SoState * state);
 
   71   virtual void setElt(SbBool test, SbBool write,
 
   72                       DepthWriteFunction 
function, 
SbVec2f range);
 
   76   DepthWriteFunction 
function;
 
   81 #endif // !COIN_SODEPTHBUFFERELEMENT_H 
The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:39
static void initClass(void)
Definition: SoElement.cpp:507
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:609
virtual void push(SoState *state)
Definition: SoElement.cpp:570
SoElement is the abstract base class for all elements. 
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoElement.cpp:553
virtual SoElement * copyMatchInfo(void) const =0
The SoDepthBufferElement controls the depth buffer settings. 
Definition: SoDepthBufferElement.h:31
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585