1 #ifndef COIN_SOLIGHTMODEL_H
2 #define COIN_SOLIGHTMODEL_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/fields/SoSFEnum.h>
29 #include <Inventor/elements/SoLazyElement.h>
37 static void initClass(
void);
41 BASE_COLOR = SoLazyElement::BASE_COLOR,
42 PHONG = SoLazyElement::PHONG
55 #endif // !COIN_SOLIGHTMODEL_H
SoLightModel(void)
Definition: SoLightModel.cpp:82
@ PHONG
Definition: SoLightModel.h:42
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
SbBool isIgnored(void) const
Definition: SoField.cpp:638
virtual void GLRender(SoGLRenderAction *action)
Definition: SoLightModel.cpp:114
static void setLightModelOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:618
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
SoSFEnum model
Definition: SoLightModel.h:45
virtual void doAction(SoAction *action)
Definition: SoLightModel.cpp:121
virtual void callback(SoCallbackAction *action)
Definition: SoNode.cpp:974
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:31
@ BASE_COLOR
Definition: SoLightModel.h:41
The SoLightModel class is a node for specifying the model for geometry lighting.
Definition: SoLightModel.h:31
virtual void callback(SoCallbackAction *action)
Definition: SoLightModel.cpp:135
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoState * getState(void) const
Definition: SoAction.cpp:1028
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
Model
Definition: SoLightModel.h:40
SbBool isOverride(void) const
Definition: SoNode.cpp:683
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
virtual ~SoLightModel()
Definition: SoLightModel.cpp:95
virtual void doAction(SoAction *action)
Definition: SoNode.cpp:761
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
static SbBool getLightModelOverride(SoState *const state)
Definition: SoOverrideElement.cpp:344
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18