| 1 |
NAME SoSFFloat SoSFloat "" { |
| 2 |
field containing a floating-point value |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE fields/SoSFFloat.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
A field that contains one single-precision floating point number. |
| 9 |
\p |
| 10 |
\cSoSFFloats\. are written to file in standard scientific notation. |
| 11 |
} |
| 12 |
ALSO { SoField, SoSField, SoMFFloat } |
| 13 |
METHOD "" static SoType getClassTypeId() {} |
| 14 |
METHOD "" virtual void getTypeId() const { |
| 15 |
Returns the type for this class or a particular object of this class. |
| 16 |
} |
| 17 |
METHOD Get float getValue() const { |
| 18 |
Returns this field's value. |
| 19 |
} |
| 20 |
METHOD " " float operator =(float newValue) {} |
| 21 |
METHOD Set void setValue(float newValue) { |
| 22 |
Sets this field to \anewValue\.. |
| 23 |
} |
| 24 |
METHOD IsEq int operator ==(const SoSFFloat &f) const {} |
| 25 |
METHOD IsNEq int operator !=(const SoSFFloat &f) const { |
| 26 |
Returns TRUE if \af\. is of the same type and has the same value as this |
| 27 |
field. |
| 28 |
} |