23#ifndef _SO_DEPTH_BUFFER_H_
24#define _SO_DEPTH_BUFFER_H_
26#include <Inventor/SbPImpl.h>
27#include <Inventor/nodes/SoNode.h>
28#include <Inventor/elements/SoDepthBufferElement.h>
30#include <Inventor/fields/SoSFEnum.h>
31#include <Inventor/fields/SoSFBool.h>
32#include <Inventor/fields/SoSFVec2f.h>
165 {
override.setValue(state); }
171 {
return override.getValue(); }
176 virtual void doAction(
SoAction *action);
189 static void initClass();
192 static void exitClass();
201 void commonConstructor();
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
@ NOTEQUAL
Passes if the incoming depth value is not equal to the stored depth value.
@ EQUAL
Passes if the incoming depth value is equal to the stored depth value.
@ LESS
Passes if the incoming depth value is less than the stored depth value.
@ GREATER
Passes if the incoming depth value is greater than the stored depth value.
@ GEQUAL
Passes if the incoming depth value is greater than or equal to the stored depth value.
@ LEQUAL
Passes if the incoming depth value is less than or equal to the stored depth value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Depth buffer par...
SoSFBool test
Enable depth buffer testing (glEnable).
SoSFEnum function
Depth comparison function to use (glDepthFunc).
DepthWriteFunction
Depth function mode as defined by OpenGL.
virtual void setOverride(const SbBool state)
Turns the override flag on or off.
SoSFVec2f range
Value range for the depth buffer (glDepthRange).
SoDepthBuffer()
Constructor.
SoSFBool clearBuffer
If true, the depth buffer is cleared when the node is traversed.
SoSFBool write
Enable depth buffer writing (glDepthMask).
virtual SbBool isOverride() const
Returns the state of the override flag.
Renders a scene graph using Open Inventor's Render Engine.
@ ALWAYS
Render caches are invalidated for each SoSeparator node before its children are traversed.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a two-dimensional vector.