KFbxSystemUnit Class Reference
#include
<kfbxsystemunit.h>
List of all members.
Detailed Description
This class is used to describe the units of measurement used within
a particular scene.
Definition at line 59 of file kfbxsystemunit.h.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
|
pScaleFactor |
The equivalent number of centimeters in the new system unit. eg
For an inch unit, use a scale factor of 2.54 |
|
pMultiplier |
A multiplier factor of pScaleFactor. |
Member Function Documentation
Convert a scene from its system units to this unit.
- Parameters:
-
Converts the children of the given node to this system unit.
Unlike the ConvertScene()
method, this method does not set the axis system of the scene that
the pRoot node belongs, nor does it adjust KFbxPoses as they are
not stored under the scene, and not under a particular node.
- Parameters:
-
Convert a scene from its system units to this unit, using the
specified Fbx_Root node.
This method is provided for backwards compatibility only and
ConvertScene( KFbxScene* , const KFbxUnitConversionOptions& )
should be used instead whenever possible.
- Parameters:
-
double GetScaleFactor |
( |
|
) |
const |
Gets the scale factor of this system unit, relative to
centimeters.
This factor scales values in system units to centimeters. For
the purpose of scaling values to centimeters, this value should be
used and the "multiplier" (returned by GetMultiplier())
should be ignored.
KString
GetScaleFactorAsString |
( |
bool |
pAbbreviated =
true |
) |
const |
Returns a unit label for the current scale factor.
- Parameters:
-
|
pAbbreviated |
If true , abbreviated string will return. |
KString
GetScaleFactorAsString_Plurial |
( |
|
) |
const |
Returns a unit label for the current scale factor.
Capital first letter + "s" added + foot -> feet
double GetMultiplier |
( |
|
) |
const |
Gets the multiplier factor of this system unit.
Returns the conversion factor from this unit to pTarget (does
not include the muliplier factor).
- Parameters:
-
double GetConversionFactorFrom |
( |
const KFbxSystemUnit & |
pSource |
) |
const |
Returns the conversion factor from pSource to this unit.
- Parameters:
-
KFbxSystemUnit KFbxSystemUnit
KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit
KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit
KFbxSystemUnit KFbxSystemUnit
KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit
KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit KFbxSystemUnit