1#ifndef COIN_SOENVIRONMENTELEMENT_H
2#define COIN_SOENVIRONMENTELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
37#include <Inventor/SbColor.h>
60 const float ambientIntensity,
const SbColor & ambientColor,
61 const SbVec3f & attenuation,
const int32_t fogType,
62 const SbColor & fogColor,
const float fogVisibility,
63 const float fogStart = 0.0f);
64 static void get(
SoState *
const state,
65 float & ambientIntensity,
SbColor & ambientColor,
66 SbVec3f & attenuation, int32_t & fogType,
67 SbColor & fogColor,
float & fogVisibility,
70 static float getAmbientIntensity(
SoState *
const state);
71 static float getFogVisibility(
SoState *
const state);
75 static int32_t getFogType(
SoState *
const state);
77 static void getDefault(
float & ambientIntensity,
79 int32_t & fogType,
SbColor & fogColor,
80 float & fogVisibility,
float & fogNear);
82 virtual void print(FILE * file)
const;
86 virtual void setElt(
SoState *
const state,
87 const float ambientIntensity,
90 const int32_t fogType,
92 const float fogVisibility,
The SbColor class contains the red, green and blue components which make up a color value.
Definition SbColor.h:39
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SoEnvironmentElement class is yet to be documented.
Definition SoEnvironmentElement.h:39
SbColor fogColor
Definition SoEnvironmentElement.h:99
float fogVisibility
Definition SoEnvironmentElement.h:100
SbVec3f attenuation
Definition SoEnvironmentElement.h:97
float fogStart
Definition SoEnvironmentElement.h:101
SbColor ambientColor
Definition SoEnvironmentElement.h:96
int32_t fogType
Definition SoEnvironmentElement.h:98
FogType
Definition SoEnvironmentElement.h:50
float ambientIntensity
Definition SoEnvironmentElement.h:95
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoReplacedElement class is an abstract element superclass.
Definition SoReplacedElement.h:39
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91
virtual void print(FILE *file) const
Definition SoReplacedElement.cpp:120
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44