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;
The SbColor class contains the red, green and blue components which make up a color value.
Definition SbColor.h:30
The SoDiffuseColorElement class is yet to be documented.
Definition SoDiffuseColorElement.h:32
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoReplacedElement class is an abstract element superclass.
Definition SoReplacedElement.h:30
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:79
The SoState class manages the Coin scenegraph traversal state data.
Definition SoState.h:35
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.