![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
The SoGLDepthBufferElement controls the OpenGL depth buffer. More...
#include <Inventor/elements/SoGLDepthBufferElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
virtual void | push (SoState *state) |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
![]() | |
virtual SbBool | matches (const SoElement *element) const |
virtual SoElement * | copyMatchInfo (void) const |
![]() | |
const SoType | getTypeId (void) const |
int | getStackIndex (void) const |
void | setDepth (const int depth) |
int | getDepth (void) const |
virtual void | print (FILE *file=stdout) const |
virtual | ~SoElement () |
Protected Member Functions | |
virtual | ~SoGLDepthBufferElement () |
virtual void | setElt (SbBool test, SbBool write, DepthWriteFunction function, SbVec2f range) |
![]() | |
virtual | ~SoDepthBufferElement () |
![]() | |
SoElement (void) | |
void | capture (SoState *const state) const |
virtual void | captureThis (SoState *state) const |
void | setTypeId (const SoType typeId) |
void | setStackIndex (const int index) |
SoElement * | getNextInStack (void) const |
SoElement * | getNextFree (void) const |
Additional Inherited Members | |
![]() | |
enum | DepthWriteFunction { NEVER , ALWAYS , LESS , LEQUAL , EQUAL , GEQUAL , GREATER , NOTEQUAL } |
![]() | |
static SoElement * | getElement (SoState *const state, const int stackIndex) |
static const SoElement * | getConstElement (SoState *const state, const int stackIndex) |
static int | createStackIndex (const SoType id) |
![]() | |
SbBool | test |
SbBool | write |
DepthWriteFunction | function |
SbVec2f | range |
![]() | |
SoType | typeId |
int | stackIndex |
int | depth |
![]() | |
static int | classStackIndex |
static SoTypeList * | stackToType |
The SoGLDepthBufferElement controls the OpenGL depth buffer.
Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
protectedvirtual |
Destructor.
This static method returns the SoType object associated with objects of this class.
|
static |
This static method returns the state stack index for the class.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
Initialize relevant common data for all instances, like the type system.
Internal Coin method.
Reimplemented from SoDepthBufferElement.
Internal Coin method.
Reimplemented from SoDepthBufferElement.
Internal Coin method.
Reimplemented from SoDepthBufferElement.
|
protectedvirtual |
Set this element's values.
Reimplemented from SoDepthBufferElement.