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(
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);
50 void setHSVValue(
const float hsv[3]);
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);
57 void set1HSVValue(
const int idx,
const float hsv[3]);
60 #endif // !COIN_SOMFCOLOR_H
int maxNum
Definition: SoMField.h:66
The SoMFColor class is a container for SbColor values.
Definition: SoMFColor.h:31
void setHSVValue(const float h, const float s, const float v)
Definition: SoMFColor.cpp:152
SbColor & setHSVValue(float h, float s, float v)
Definition: SbColor.cpp:129
void valueChanged(SbBool resetdefault=1)
Definition: SoField.cpp:2433
The SoOutput class is an abstraction of an output stream.
Definition: SoOutput.h:42
int num
Definition: SoMField.h:65
virtual void makeRoom(int newnum)
Definition: SoMField.cpp:323
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:37
void set1HSVValue(const int idx, const float h, const float s, const float v)
Definition: SoMFColor.cpp:204
void setHSVValues(const int start, const int num, const float hsv[][3])
Definition: SoMFColor.cpp:107
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17