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>
31class COIN_DLL_API SoMFColor :
public SoMField {
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);
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);
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:37
void setHSVValues(const int start, const int num, const float hsv[][3])
Definition SoMFColor.cpp:107
void setHSVValue(const float h, const float s, const float v)
Definition SoMFColor.cpp:152
void set1HSVValue(const int idx, const float h, const float s, const float v)
Definition SoMFColor.cpp:204
SoMField(void)
Definition SoMField.cpp:305
int num
Definition SoMField.h:65
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Thu Jan 16 2025 for Coin by Doxygen. 1.13.2