1 #ifndef COIN_SOMFCOLORRGBA_H 2 #define COIN_SOMFCOLORRGBA_H 36 #include <Inventor/fields/SoMField.h> 37 #include <Inventor/fields/SoSubField.h> 38 #include <Inventor/SbColor4f.h> 45 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
46 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbColor4f);
49 static void initClass(
void);
51 void setValues(
int start,
int num,
const float rgba[][4]);
52 void setHSVValues(
int start,
int num,
const float hsv[][4]);
54 void setValue(
const SbVec4f & vec);
55 void setValue(
float r,
float g,
float b,
float a);
56 void setValue(
const float rgba[4]);
58 void setHSVValue(
float h,
float s,
float v,
float a);
59 void setHSVValue(
const float hsva[4]);
61 void set1Value(
int idx,
const SbVec4f & vec);
62 void set1Value(
int idx,
float r,
float g,
float b,
float a);
63 void set1Value(
int idx,
const float rgba[4]);
65 void set1HSVValue(
int idx,
float h,
float s,
float v,
float a);
66 void set1HSVValue(
int idx,
const float hsva[4]);
70 #endif // !COIN_SOMFCOLORRGBA_H The SbVec4f class is a 4 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec4f.h:49
The SbColor4f class contains the red, green, blue and alpha components which make up a color value...
Definition: SbColor4f.h:42
The SoMField class is the base class for fields which can contain multiple values.All field types which may contain more than one member value inherits this class. SoMField is an abstract class.
Definition: SoMField.h:41
The SoMFColorRGBA class is a container for SbColor4f values.This field is used where nodes...
Definition: SoMFColorRGBA.h:40