25#ifndef _SO_POLYGON_OFFSET_
26#define _SO_POLYGON_OFFSET_
152 {
override.setValue(state); }
158 {
return override.getValue(); }
161 virtual void doAction(
SoAction *action);
169 static void initClass() ;
170 static void exitClass() ;
#define SO_NODE_HEADER(className)
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.