fbxHalfFloat Class Reference

#include <kfbxtypes.h>

List of all members.


Detailed Description

FBX SDK half-float class.

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

fbxHalfFloat& operator= ( fbxHalfFloat const &  pValue  )  [inline]

Assign operator.

Parameters:
pValue  The half-float to be assigned to this distance.
Returns:
This half-float.

Definition at line 544 of file kfbxtypes.h.

References mValue.

bool operator== ( fbxHalfFloat const &  pRHS  )  const [inline]

Equivalence operator.

Parameters:
pRHS  The half-float to be compared with this one.
Returns:
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.

Parameters:
pRHS  The half-float to be compared with this one
Returns:
True, if the two values are unequal, false otherwise.

Definition at line 566 of file kfbxtypes.h.

float const value (  )  const [inline]

Retrieve the value as a float.

Definition at line 575 of file kfbxtypes.h.

Referenced by fbxCopy().

unsigned short const internal_value (  )  const [inline]

Retrieve the value as it is stored.

Definition at line 579 of file kfbxtypes.h.

fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat
fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat fbxHalfFloat