25#ifndef _SO_MF_COLORRGBA_
26#define _SO_MF_COLORRGBA_
28#include <Inventor/fields/SoSubField.h>
29#include <Inventor/SbColorRGBA.h>
30#include <Inventor/fields/SoMFVec4f.h>
82 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
104 void setValues(
int start,
int num,
const float rgba[][4]);
181 void set1Value(
int index,
float r,
float g,
float b,
float a);
211 static void initClass();
212 static void exitClass();
Multiple-value field containing any number of RGBA colors stored as four floats.
void setValue(const SbVec4f &vec)
Sets the field to contain one and only one value, the given color (expressed as RGBA floating point v...
void setHSVAValues(int start, int num, const float hsva[][4])
Sets num HSV (hue, saturation and value) plus Alphe color values from an array of arrays of 4 floats...
void setValues(int start, int num, const float rgba[][4])
Sets num RGBA values from an array of arrays of 4 floats.
void setValue(const float rgba[4])
Sets the field to contain one and only one value, the given color (expressed as an array of RGBA floa...
void set1Value(int index, const SbVec4f &vec)
Sets one of N RGBA colors from SbVec4f.
void setHSVAValue(float h, float s, float v, float a)
Sets the field to contain one and only one value, the given color (expressed as HSV plus Alpha floati...
void setValue(float r, float g, float b, float a)
Sets the field to contain one and only one value, the given color (expressed as RGBA floating point v...
void setHSVAValue(const float hsva[4])
Sets the field to contain one and only one value, the given color (expressed as an array of HSV plus ...
void set1Value(int index, const float rgba[4])
Sets one of N RGBA colors from an array of 4 floats.
void set1HSVAValue(int index, float h, float s, float v, float a)
Sets one of N HSV plus Alpha colors from 4 floats.
void set1Value(int index, float r, float g, float b, float a)
Sets one of N RGBA colors from 4 floats.
void set1HSVAValue(int index, const float hsva[4])
Sets one of N HSV plus Alpha colors from an array of 4 floats.
Base class for all multiple-valued fields.