SoMFColor.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOMFCOLOR_H
00021
#define COIN_SOMFCOLOR_H
00022
00023
#include <Inventor/fields/SoMField.h>
00024
#include <Inventor/fields/SoSubField.h>
00025
#include <Inventor/SbColor.h>
00026
00027
00028 class COIN_DLL_API SoMFColor :
public SoMField {
00029
typedef SoMField inherited;
00030
00031 SO_MFIELD_HEADER(SoMFColor,
SbColor,
const SbColor &);
00032
00033
public:
00034
static void initClass(
void);
00035
00036
void setValues(
const int start,
const int num,
const float rgb[][3]);
00037
void setHSVValues(
const int start,
const int num,
const float hsv[][3]);
00038
00039
void setValue(
const SbVec3f & vec);
00040
void setValue(
const float r,
const float g,
const float b);
00041
void setValue(
const float rgb[3]);
00042
00043
void setHSVValue(
const float h,
const float s,
const float v);
00044
void setHSVValue(
const float hsv[3]);
00045
00046
void set1Value(
const int idx,
const SbVec3f & vec);
00047
void set1Value(
const int idx,
const float r,
const float g,
const float b);
00048
void set1Value(
const int idx,
const float rgb[3]);
00049
00050
void set1HSVValue(
const int idx,
const float h,
const float s,
const float v);
00051
void set1HSVValue(
const int idx,
const float hsv[3]);
00052 };
00053
00054
#endif // !COIN_SOMFCOLOR_H
Generated on Tue Jul 27 23:53:01 2004 for Coin by
1.3.7