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(
int start,
int num,
const float rgb[][3]);
45 void setValue(
const SbVec3f & vec);
46 void setValue(
float r,
float g,
float b);
47 void setValue(
const float rgb[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]);
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
void set1HSVValue(int idx, float h, float s, float v)
Definition SoMFColor.cpp:206
void setHSVValues(int start, int num, const float hsv[][3])
Definition SoMFColor.cpp:109
void setHSVValue(float h, float s, float v)
Definition SoMFColor.cpp:154
SoMField(void)
Definition SoMField.cpp:320
int num
Definition SoMField.h:66
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated for Coin by Doxygen 1.13.1.