50#ifndef _SO_PACKED_COLOR_
51#define _SO_PACKED_COLOR_
53#include <Inventor/fields/SoMFUInt32.h>
54#include <Inventor/fields/SoSFBool.h>
55#include <Inventor/nodes/SoNode.h>
56#include <Inventor/caches/SoNodeDependencies.h>
121 {
override.setValue(state); }
127 {
return override.getValue(); }
130 virtual void doAction(
SoAction *action);
134 {
return transparent;}
137 static void initClass();
138 static void exitClass();
143 virtual void notify(SoNotList *list);
152 void computeReplacementColors(
SoState* state);
153 void updateTransparencies(
SoState* state);
156 std::vector<uint32_t> m_replacementColors;
157 std::vector<float> m_cachedTransparencies;
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Multiple-value field containing any number of uint32_t integers.
Abstract base class for all database nodes.
Node that defines base colors using packed representation.
SoPackedColor()
Creates a packed color node with default settings.
virtual void setOverride(const SbBool state)
Set the state of the override field.
virtual SbBool isOverride() const
Returns the state of the override field.
SoMFUInt32 orderedRGBA
Defines the packed base colors.
Smart pointer for any class inheriting SoRefCounter.
Field containing a single Boolean value.