53#include <Inventor/fields/SoSubField.h>
54#include <Inventor/SbColor.h>
55#include <Inventor/fields/SoMFVec3f.h>
102 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
103 SO_FIELD_SUPPORT_MEMOBJ();
124 void setValues(
int start,
int num,
const float rgb[][3]);
223 static void initClass();
224 static void exitClass();
225 virtual void writeBinaryValues(
SoOutput*,
int ,
int )
const;
229 virtual void writeBinaryValues(
SoOutput *out)
const;
Multiple-value field containing any number of RGB colors stored as three floats.
void set1HSVValue(int index, float h, float s, float v)
Sets one of N HSV colors from 3 floats.
void setValues(int start, int num, const float rgb[][3])
Sets num RGB values from an array of arrays of 3 floats.
void set1HSVValue(int index, const float hsv[3])
Sets one of N HSV colors from an array of 3 floats.
void set1Value(int index, const SbVec3f &vec)
Sets one of N RGB colors from SbVec3f.
void setHSVValue(const float hsv[3])
Sets the field to contain one and only one value, the given color (expressed as an array of HSV float...
void setHSVValues(int start, int num, const float hsv[][3])
Sets num HSV values from an array of arrays of 3 floats.
void setValue(const SbVec3f &vec)
Sets the field to contain one and only one value, the given color (expressed as RGB floating point va...
void setValue(float r, float g, float b)
Sets the field to contain one and only one value, the given color (expressed as RGB floating point va...
void setValue(const float rgb[3])
Sets the field to contain one and only one value, the given color (expressed as an array of RGB float...
void setHSVValue(float h, float s, float v)
Sets the field to contain one and only one value, the given color (expressed as HSV floating point va...
void set1Value(int index, const float rgb[3])
Sets one of N RGB colors from an array of 3 floats.
void set1Value(int index, float r, float g, float b)
Sets one of N RGB colors from 3 floats.
Base class for all multiple-valued fields.
Used to write Open Inventor data files.