50#ifndef _SO_PACKED_COLOR_
51#define _SO_PACKED_COLOR_
139 {
override.setValue(state); }
145 {
return override.getValue(); }
148 virtual void doAction(
SoAction *action);
152 {
return transparent;}
155 static void initClass();
156 static void exitClass();
161 virtual void notify(SoNotList *list);
170 void computeReplacementColors(
SoState* state);
171 void updateTransparencies(
SoState* state);
174 std::vector<uint32_t> m_replacementColors;
175 std::vector<float> m_cachedTransparencies;
#define SO_NODE_HEADER(className)
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 colors.
Smart pointer for any class inheriting SoRefCounter.
Field containing a single Boolean value.