1#ifndef COIN_SODIFFUSECOLORELEMENT_H
2#define COIN_SODIFFUSECOLORELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
37#include <Inventor/elements/SoLazyElement.h>
46 static void initClass(
void);
54 const int32_t numcolors,
const SbColor *
const colors);
57 const int32_t numcolors,
const uint32_t *
const colors,
58 const SbBool packedtransparency = FALSE);
62 int32_t getNum(
void)
const;
63 const SbColor &get(
const int index)
const;
65 SbBool isPacked(
void)
const;
66 SbBool hasPackedTransparency(
void)
const;
68 const SbColor *getColorArrayPtr()
const;
69 const uint32_t *getPackedArrayPtr()
const;
The SbColor class contains the red, green and blue components which make up a color value.
Definition: SbColor.h:39
Definition: SoLazyElement.h:283
The SoDiffuseColorElement class is yet to be documented.
Definition: SoDiffuseColorElement.h:41
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
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:89
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44