50#ifndef _SO_LIGHT_MODEL_
51#define _SO_LIGHT_MODEL_
53#include <Inventor/fields/SoSFEnum.h>
54#include <Inventor/fields/SoSFBool.h>
55#include <Inventor/nodes/SoNode.h>
56#include <Inventor/elements/SoLightModelElement.h>
298 {
override.setValue(state); }
304 {
return override.getValue(); }
307 virtual void doAction(
SoAction *action);
312 static void initClass();
313 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.
@ PHYSICALLY_BASED
Physically based lighting.
@ 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 the Pixel-based Phong lighting model.
@ PER_VERTEX_PHONG
Use the Vertex-based Phong lighting model (default).
@ PHONG
Use Phong lighting model.
@ PHYSICALLY_BASED
Use the physically based lighting model.
@ BASE_COLOR
Use only the base color of an object.
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.