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