1 #ifndef COIN_SOMFCOLOR_H 2 #define COIN_SOMFCOLOR_H 36 #include <Inventor/fields/SoMField.h> 37 #include <Inventor/fields/SoSubField.h> 38 #include <Inventor/SbColor.h> 45 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
46 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbColor);
49 static void initClass(
void);
51 void setValues(
int start,
int num,
const float rgb[][3]);
52 void setHSVValues(
int start,
int num,
const float hsv[][3]);
54 void setValue(
const SbVec3f & vec);
55 void setValue(
float r,
float g,
float b);
56 void setValue(
const float rgb[3]);
58 void setHSVValue(
float h,
float s,
float v);
59 void setHSVValue(
const float hsv[3]);
61 void set1Value(
int idx,
const SbVec3f & vec);
62 void set1Value(
int idx,
float r,
float g,
float b);
63 void set1Value(
int idx,
const float rgb[3]);
65 void set1HSVValue(
int idx,
float h,
float s,
float v);
66 void set1HSVValue(
int idx,
const float hsv[3]);
70 #endif // !COIN_SOMFCOLOR_H The SbColor class contains the red, green and blue components which make up a color value...
Definition: SbColor.h:39
The SoMFColor class is a container for SbColor values.
Definition: SoMFColor.h:40
The SoMField class is the base class for fields which can contain multiple values.
Definition: SoMField.h:41
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51