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>
40class COIN_DLL_API SoMFColor :
public SoMField {
45 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
46 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbColor);
51 void setValues(
int start,
int num,
const float rgb[][3]);
54 void setValue(
const SbVec3f & vec);
55 void setValue(
float r,
float g,
float b);
56 void setValue(
const float rgb[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]);
The SbColor class contains the red, green and blue components which make up a color value.
Definition SbColor.h:39
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
void set1HSVValue(int idx, float h, float s, float v)
Definition SoMFColor.cpp:218
void setHSVValues(int start, int num, const float hsv[][3])
Definition SoMFColor.cpp:121
void setHSVValue(float h, float s, float v)
Definition SoMFColor.cpp:166
SoMField(void)
Definition SoMField.cpp:335
static void initClass(void)
Definition SoMField.cpp:317
int num
Definition SoMField.h:80