50#ifndef _SO_LIGHT_MODEL_
51#define _SO_LIGHT_MODEL_
172 {
override.setValue(state); }
178 {
return override.getValue(); }
181 virtual void doAction(
SoAction *action);
186 static void initClass();
187 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.
@ BASE_COLOR
No lighting; just use base color.
@ PER_PIXEL_PHONG
Per-pixel Phong lighting.
@ PER_VERTEX_PHONG
Per-vertex Phong lighting.
Node that defines the lighting model to use when rendering.
@ PER_PIXEL_PHONG
Use Pixel-based Phong lighting model.
@ PER_VERTEX_PHONG
Use Vertex-based Phong lighting model (default).
@ PHONG
Use Phong lighting model.
@ BASE_COLOR
Use only the base (diffuse) object color.
SoSFEnum model
Lighting model to use Use enum Model.
SoLightModel()
Creates a light model node with default settings.
virtual void setOverride(const SbBool state)
Set the state of the override field.
virtual SbBool isOverride() const
Returns the state of the override field.
Abstract base class for all database nodes.
Field containing a single Boolean value.
Field containing an enumerated value.