00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOPACKEDCOLOR_H
00021
#define COIN_SOPACKEDCOLOR_H
00022
00023
#include <Inventor/fields/SoMFUInt32.h>
00024
#include <Inventor/nodes/SoSubNode.h>
00025
00026
00027 class COIN_DLL_API SoPackedColor :
public SoNode {
00028
typedef SoNode inherited;
00029
00030 SO_NODE_HEADER(SoPackedColor);
00031
00032
public:
00033
static void initClass(
void);
00034 SoPackedColor(
void);
00035
00036
SoMFUInt32 orderedRGBA;
00037
00038
virtual void doAction(
SoAction * action);
00039
virtual void GLRender(
SoGLRenderAction * action);
00040
virtual void callback(
SoCallbackAction * action);
00041
00042 SbBool isTransparent(
void);
00043
00044
protected:
00045
virtual ~SoPackedColor();
00046
virtual void notify(
SoNotList *list);
00047
00048
private:
00049 SbBool transparent;
00050 SbBool checktransparent;
00051 };
00052
00053
#endif // !COIN_SOPACKEDCOLOR_H