1#ifndef COIN_SOSPECULARCOLORELEMENT_H
2#define COIN_SOSPECULARCOLORELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
40class COIN_DLL_API SoSpecularColorElement :
public SoReplacedElement {
41 typedef SoReplacedElement inherited;
43 SO_ELEMENT_HEADER(SoSpecularColorElement);
47 virtual ~SoSpecularColorElement();
50 virtual void init(SoState * state);
51 static void set(SoState *
const state,
SoNode *
const node,
52 const int32_t numColors,
const SbColor *
const colors);
54 static const SoSpecularColorElement *
getInstance(SoState *state);
56 int32_t
getNum(
void)
const;
The SbColor class contains the red, green and blue components which make up a color value.
Definition SbColor.h:39
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91
static void set(SoState *const state, SoNode *const node, const int32_t numColors, const SbColor *const colors)
FIXME: write doc.
Definition SoSpecularColorElement.cpp:86
static const SoSpecularColorElement * getInstance(SoState *state)
FIXME: write doc.
Definition SoSpecularColorElement.cpp:130
int32_t getNum(void) const
FIXME: write doc.
Definition SoSpecularColorElement.cpp:104
const SbColor & get(const int index) const
FIXME: write doc.
Definition SoSpecularColorElement.cpp:112
const SbColor * getArrayPtr(void) const
Definition SoSpecularColorElement.cpp:122