98 void setValues(
int start,
int num,
const float rgb[][3]);
133 virtual void writeBinaryValues(
SoOutput *out)
const;
134 virtual bool readBinaryValues(
SoInput *in,
int numToRead);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_MFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most multiple-value field classes.
Multiple-value field containing any number of RGB colors stored as three floats.
void set1HSVValue(int index, float h, float s, float v)
Set1 one of N HSV colors from 3 floats or array of 3 floats.
void setValues(int start, int num, const float rgb[][3])
Additional convenience functions.
void set1HSVValue(int index, const float hsv[3])
void set1Value(int index, const SbVec3f &vec)
Set one of N RGB colors from SbVec3f, 3 floats, or array of 3 floats.
void setHSVValue(const float hsv[3])
Sets the field to contain one and only one value, the given color (expressed as either RGB or HSV flo...
void setHSVValues(int start, int num, const float hsv[][3])
Sets num values starting at index start to the RGB (or HSV) values specified by the given array of fl...
void setValue(const SbVec3f &vec)
Sets the field to contain one and only one value, the given color (expressed as either RGB or HSV flo...
void setValue(float r, float g, float b)
void setValue(const float rgb[3])
void setHSVValue(float h, float s, float v)
Set to one HSV color from 3 floats or array of 3 floats.
void set1Value(int index, const float rgb[3])
void set1Value(int index, float r, float g, float b)
Base class for all multiple-valued fields.
Used to write Inventor data files.