Debian Codegraph @

doc/man/man3/ivm/fields/SoSFColor.ivm

raw
1 NAME SoSFColor SoSCol "" {
2 field containing an RGB color
3 }
4 DESC {
5 A single-value field containing an \cSbColor\..
6 Values may be set in either RGB (red,
7 green, blue) or HSV (hue, saturation, value) color spaces.
8 \p
9 \cSoSFColors\. are written to file as an RGB triple of
10 floating point numbers in standard scientific notation, in the range
11 0.0 to 1.0.
12 }
13
14 METHOD SetV3f void setValue(const SbVec3f &vec) {}
15 METHOD SetR_G_B void setValue(float red, float green, float blue) {}
16 METHOD SetRGB void setValue(const float rgb[3]) {}
17 METHOD SetH_S_V void setHSVValue(float hue, float saturation, float value) {}
18 METHOD SetHSV void setHSVValue(const float hsv[3]) {
19 Convenience methods for setting the value.
20 }
21
22 ALSO { SoField, SoSField, SoMFColor, SbColor }
23 METHOD "" static SoType getClassTypeId() {}
24 METHOD "" virtual void getTypeId() const {
25 Returns the type for this class or a particular object of this class.
26 }
27 METHOD Get const SbColor & getValue() const {
28 Returns this field's value.
29 }
30 METHOD " " const SbColor & operator =(const SbColor & newValue) {}
31 METHOD Set void setValue(const SbColor & newValue) {
32 Sets this field to \anewValue\..
33 }
34 METHOD IsEq int operator ==(const SoSFColor &f) const {}
35 METHOD IsNEq int operator !=(const SoSFColor &f) const {
36 Returns TRUE if \af\. is of the same type and has the same value as this
37 field.
38 }