00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOLIGHTMODEL_H
00021
#define COIN_SOLIGHTMODEL_H
00022
00023
#include <Inventor/nodes/SoSubNode.h>
00024
#include <Inventor/fields/SoSFEnum.h>
00025
#include <Inventor/elements/SoLightModelElement.h>
00026
00027
00028 class COIN_DLL_API SoLightModel :
public SoNode {
00029
typedef SoNode inherited;
00030
00031 SO_NODE_HEADER(SoLightModel);
00032
00033
public:
00034
static void initClass(
void);
00035 SoLightModel(
void);
00036
00037 enum Model {
00038 BASE_COLOR = SoLightModelElement::BASE_COLOR,
00039 PHONG = SoLightModelElement::PHONG
00040 };
00041
00042
SoSFEnum model;
00043
00044
virtual void doAction(
SoAction * action);
00045
virtual void GLRender(
SoGLRenderAction * action);
00046
virtual void callback(
SoCallbackAction * action);
00047
00048
protected:
00049
virtual ~SoLightModel();
00050 };
00051
00052
#endif // !COIN_SOLIGHTMODEL_H