25#ifndef _SO_POLYGON_OFFSET_
26#define _SO_POLYGON_OFFSET_
28#include <Inventor/fields/SoSFFloat.h>
29#include <Inventor/fields/SoSFBitMask.h>
30#include <Inventor/fields/SoSFBool.h>
32#include <Inventor/nodes/SoNode.h>
34#include <Inventor/elements/SoPolygonOffsetElement.h>
152 {
override.setValue(state); }
158 {
return override.getValue(); }
161 virtual void doAction(
SoAction *action);
169 static void initClass() ;
170 static void exitClass() ;
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Property node th...
SoSFBitMask styles
A bit-wise combination of FILLED, LINES, and POINTS that determines which polygon modes should be off...
SoSFBool on
Enables/disables polygon offset.
virtual void setOverride(const SbBool state)
Set the state of the override field.
SoSFFloat factor
Specifies a scale factor that is used to create a variable depth offset for each polygon.
SoSFFloat units
Is multiplied by an OpenGL implementation-specific value to create a constant depth offset.
virtual SbBool isOverride() const
Returns the state of the override field.
SoPolygonOffset()
Constructor.
Single-value field containing a set of bit flags.
Field containing a single Boolean value.
Field containing a floating-point value.