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(
int start,
int num,
const float rgb[][3]);
43 void setHSVValues(
int start,
int num,
const float hsv[][3]);
45 void setValue(
const SbVec3f & vec);
46 void setValue(
float r,
float g,
float b);
47 void setValue(
const float rgb[3]);
49 void setHSVValue(
float h,
float s,
float v);
50 void setHSVValue(
const float hsv[3]);
52 void set1Value(
int idx,
const SbVec3f & vec);
53 void set1Value(
int idx,
float r,
float g,
float b);
54 void set1Value(
int idx,
const float rgb[3]);
56 void set1HSVValue(
int idx,
float h,
float s,
float v);
57 void set1HSVValue(
int idx,
const float hsv[3]);
61 #endif // !COIN_SOMFCOLOR_H
The SoMFColor class is a container for SbColor values.
Definition: SoMFColor.h:31
The SoMField class is the base class for fields which can contain multiple values.
Definition: SoMField.h:32
The SbColor class contains the red, green and blue components which make up a color value.
Definition: SbColor.h:30
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:40
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Tue Jan 28 2020 for Coin by Doxygen 1.8.17.