#include <kfbxtypes.h>
Property used to store half-float (16 bit float) number. This class only holds the value in 2 byte buffer (unsigned short). There is no direct math manipulation of this type except for the conversion to/from float. On disk, this type is also saved as an unsigned short.
Definition at line 523 of file kfbxtypes.h.
Constructors |
|
fbxHalfFloat () | |
fbxHalfFloat (float pVal) | |
fbxHalfFloat (const fbxHalfFloat &pVal) | |
Assignment operation |
|
fbxHalfFloat & | operator= (fbxHalfFloat const &pValue) |
Assign operator. |
|
boolean operation |
|
bool | operator== (fbxHalfFloat const &pRHS) const |
Equivalence operator. |
|
bool | operator!= (fbxHalfFloat const &pRHS) const |
Non-equivalence operator. |
|
Access |
|
float const | value () const |
Retrieve the value as a float. |
|
unsigned short const | internal_value () const |
Retrieve the value as it is stored. |
fbxHalfFloat | ( | ) | [inline] |
Definition at line 530 of file kfbxtypes.h.
fbxHalfFloat | ( | float | pVal | ) | [inline] |
Definition at line 531 of file kfbxtypes.h.
fbxHalfFloat | ( | const fbxHalfFloat & | pVal | ) | [inline] |
Definition at line 532 of file kfbxtypes.h.
References mValue.
fbxHalfFloat& operator= | ( | fbxHalfFloat const & | pValue | ) | [inline] |
Assign operator.
pValue | The half-float to be assigned to this distance. |
Definition at line 544 of file kfbxtypes.h.
References mValue.
bool operator== | ( | fbxHalfFloat const & | pRHS | ) | const [inline] |
Equivalence operator.
pRHS | The half-float to be compared with this one. |
True
, if the two values are equal,
false
otherwise.Definition at line 560 of file kfbxtypes.h.
References mValue.
bool operator!= | ( | fbxHalfFloat const & | pRHS | ) | const [inline] |
Non-equivalence operator.
pRHS | The half-float to be compared with this one |
True
, if the two values are unequal,
false
otherwise.Definition at line 566 of file kfbxtypes.h.
float const value | ( | ) | const [inline] |
unsigned short const internal_value | ( | ) | const [inline] |
Retrieve the value as it is stored.
Definition at line 579 of file kfbxtypes.h.