1 #ifndef COIN_SODIFFUSECOLORELEMENT_H
2 #define COIN_SODIFFUSECOLORELEMENT_H
27 #include <Inventor/elements/SoReplacedElement.h>
28 #include <Inventor/elements/SoLazyElement.h>
37 static void initClass(
void);
45 const int32_t numcolors,
const SbColor *
const colors);
48 const int32_t numcolors,
const uint32_t *
const colors,
49 const SbBool packedtransparency = FALSE);
53 int32_t getNum(
void)
const;
54 const SbColor &
get(
const int index)
const;
56 SbBool isPacked(
void)
const;
57 SbBool hasPackedTransparency(
void)
const;
59 const SbColor *getColorArrayPtr()
const;
60 const uint32_t *getPackedArrayPtr()
const;
64 SoColorPacker colorpacker;
67 #endif // !COIN_SODIFFUSECOLORELEMENT_H
The SbColor class contains the red, green and blue components which make up a color value...
Definition: SbColor.h:30
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:79
The SoReplacedElement class is an abstract element superclass.This is the superclass of all elements ...
Definition: SoReplacedElement.h:30
The SoDiffuseColorElement class is yet to be documented.FIXME: write doc.
Definition: SoDiffuseColorElement.h:32