53#include <Inventor/nodes/SoNode.h>
54#include <Inventor/fields/SoSFBool.h>
55#include <Inventor/fields/SoSFColor.h>
56#include <Inventor/fields/SoSFFloat.h>
57#include <Inventor/SbViewportRegion.h>
151 virtual void doAction(
SoAction* action );
157 static void initClass();
158 static void exitClass();
161 int32_t getLightId()
const;
163 struct LightConfiguration
177 float constantAttenuation;
178 float linearAttenuation;
179 float quadraticAttenuation;
182 : transform(1, 0, 0, 0,
188 position =
SbVec4f( 0, 0, 0, 0 );
189 spotDirection =
SbVec3f( 0, 0, -1 );
192 ambientIntensity =
SbVec4f( 0, 0, 0, 1 );
193 diffuseIntensity =
SbVec4f( 1, 1, 1, 1 );
194 specularIntensity =
SbVec4f( 1, 1, 1, 1 );
195 constantAttenuation = 1.0f;
196 linearAttenuation = 0.0f;
197 quadraticAttenuation = 0.0f;
201 LightConfiguration lightConfiguration;
217 static SoLight::Members* getMembers(
const SoLight* sg );
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Abstract base class for camera nodes.
Abstract base class for all light source nodes.
SoSFColor color
Light source illumination color.
SoSFFloat intensity
Illumination intensity of light source.
SoSFBool on
Determines whether the source is active or inactive.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Field containing a single Boolean value.
Field containing an RGB color.
Field containing a floating-point value.