1 #ifndef COIN_SOMFCOLOR_H 2 #define COIN_SOMFCOLOR_H 27 #include <Inventor/fields/SoMField.h> 28 #include <Inventor/fields/SoSubField.h> 29 #include <Inventor/SbColor.h> 36 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
37 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbColor);
40 static void initClass(
void);
42 void setValues(
const int start,
const int num,
const float rgb[][3]);
43 void setHSVValues(
const int start,
const int num,
const float hsv[][3]);
45 void setValue(
const SbVec3f & vec);
46 void setValue(
const float r,
const float g,
const float b);
47 void setValue(
const float rgb[3]);
49 void setHSVValue(
const float h,
const float s,
const float v);
50 void setHSVValue(
const float hsv[3]);
52 void set1Value(
const int idx,
const SbVec3f & vec);
53 void set1Value(
const int idx,
const float r,
const float g,
const float b);
54 void set1Value(
const int idx,
const float rgb[3]);
56 void set1HSVValue(
const int idx,
const float h,
const float s,
const float v);
57 void set1HSVValue(
const int idx,
const float hsv[3]);
60 #endif // !COIN_SOMFCOLOR_H The SbColor class contains the red, green and blue components which make up a color value....
Definition: SbColor.h:30
The SoMFColor class is a container for SbColor values.This field is used where nodes,...
Definition: SoMFColor.h:31
The SoMField class is the base class for fields which can contain multiple values....
Definition: SoMField.h:32
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37