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