CSLXSITransform Class Reference
This class represents an XSI_Translate template.
More...#include <XSITransform.h>
Inheritance diagram for CSLXSITransform:
List of all members.
Detailed Description
This class represents an XSI_Translate template.
Handles the transformation matrix of a model. It provides functions to set all aspects of the transformation like SRT, pivots, shearing, etc (see the XSI_Translate template reference).
Member Function Documentation
Returns the transformation matrix.
- Returns:
- Transformation matrix.
Returns the actual rotation in euler representation.
- Returns:
- Rotation value.
Changes the rotation value in euler representation.
- Parameters:
-
| [in] |
in_rValue |
New rotation value |
Returns the actual scale.
- Returns:
- Scale value.
Changes the scale value.
- Parameters:
-
| [in] |
in_rValue |
New scale value |
Returns the actual translation.
- Returns:
- Translation value.
Changes the translation value.
- Parameters:
-
| [in] |
in_rValue |
New translation value |
Returns the shear.
- Returns:
- Shear value.
Changes the shear value.
- Parameters:
-
| [in] |
in_rValue |
New translation value |
Returns the pivot position.
- Returns:
- Pivot position value.
Changes the pivot position value.
- Parameters:
-
| [in] |
in_rValue |
New pivot position value |
Returns the pivot rotation.
- Returns:
- Pivot rotation value.
Changes the pivot rotation value.
- Parameters:
-
| [in] |
in_rValue |
New pivot rotation value |
Returns the pivot scale.
- Returns:
- Pivot scale value.
Changes the pivot scale value.
- Parameters:
-
| [in] |
in_rValue |
New translation value |
Returns the pivot compensation position.
- Returns:
- pivot compensation position value.
Changes the pivot compensation position value.
- Parameters:
-
| [in] |
in_rValue |
New pivot compensation position value |
Returns the pivot compensation rotation.
- Returns:
- pivot compensation rotation value.
Changes the pivot compensation rotation value.
- Parameters:
-
| [in] |
in_rValue |
New pivot compensation rotation value |
Returns the pivot compensation scale.
- Returns:
- pivot compensation scale value.
Changes the pivot compensation scale value.
- Parameters:
-
| [in] |
in_rValue |
New pivot compensation scale value |
Returns the neutral pose position.
- Returns:
- neutral pose position value.
Changes the neutral pose position value.
- Parameters:
-
| [in] |
in_rValue |
New neutral pose position value |
Returns the neutral pose rotation.
- Returns:
- neutral pose rotation value.
Changes the neutral pose rotation value.
- Parameters:
-
| [in] |
in_rValue |
New neutral pose rotation value |
Returns the neutral pose scale.
- Returns:
- neutral pose scale value.
Changes the neutral pose scale value.
- Parameters:
-
| [in] |
in_rValue |
New neutral pose scale value |
Returns the neutral pose shear.
- Returns:
- neutral pose shear value.
Changes the neutral pose shear value.
- Parameters:
-
| [in] |
in_rValue |
New neutral pose shear value |
| SI_Bool GetHierarchicalScaling |
( |
|
) |
|
Returns the hirearchical scaling flag.
- Returns:
- hirearchical scaling flag value.
| SI_Void SetHierarchicalScaling |
( |
SI_Bool |
in_bValue |
) |
|
Changes the hirearchical scaling flag value.
- Parameters:
-
| [in] |
in_bValue |
New hirearchical scaling flag value |
Returns the rotation order.
- Returns:
- Rotation order.
| const SI_Char* GetRotationOrderAsString |
( |
|
) |
|
Returns the rotation order as a string.
- Returns:
- Rotation order.
Changes the rotation order.
- Returns:
- Operation successful or not.
| SI_Error SetRotationOrderAsString |
( |
const SI_Char * |
|
) |
|
Changes the rotation order using a string value.
- Returns:
- Operation successful or not.
Computes this CSLTransform's local matrix.
- Returns:
- Error code
Computes this CSLTransform's global matrix.
- Returns:
- Error code
Returns the global matrix
- Returns:
- The global matrix
| SI_Error ComputeLocalMatrix |
( |
SI_Float |
in_fTime |
) |
|
Computes this CSLTransform's local matrix at the specified time value.
- Parameters:
-
- Returns:
- Error code
| SI_Error ComputeGlobalMatrix |
( |
SI_Float |
in_fTime |
) |
|
Computes this CSLTransform's global matrix at the specified time value. Also forces an evaluation of the parent global matrix to ensure a correct global matrix.
- Parameters:
-
- Returns:
- Error code
Returns a proxy to the specified parameter.
- Parameters:
-
| [in] |
in_szName |
Name of the parameter |
- Returns:
- Pointer to a parameter proxy.
Reimplemented from CSLTemplate.
Returns a proxy to the specified parameter.
- Parameters:
-
| [in] |
in_Type |
Type of parameter |
| [in] |
in_szParameterName |
Name of the parameter if the type is SI_PARAMETER |
- Returns:
- Pointer to a parameter proxy.
Reimplemented from CSLTemplate.
Returns the type of this template
- Return values:
-
Implements CSLTemplate.
| virtual SI_Error Synchronize |
( |
|
) |
[virtual] |
Synchronizes to ensure that the animated parameter is up to date.
- Returns:
- Error code
Reimplemented from CSLTemplate.
| virtual const SI_Char* GetParameterName |
( |
CSLAnimatableType * |
in_pParameter |
) |
[virtual] |
Returns the name (string) of a specified sub parameter.
- Parameters:
-
| [in] |
in_pParameter |
The sub parameter |
- Returns:
- Name of the sub parameter.
Reimplemented from CSLTemplate.
Returns the proxy to the scale vector
- Returns:
- Proxy to the scale vector
Returns the proxy to the hierarchical scaling value
- Returns:
- Proxy to the hierarchical scaling value
Returns the proxy to the Rotation vector
- Returns:
- Proxy to the Rotation vector
Returns the proxy to the Translation vector
- Returns:
- Proxy to the Translation vector
Returns the proxy to the Shear vector
- Returns:
- CSLVector3DProxy*
Returns the proxy to the Pivot Position vector
- Returns:
- Proxy to the Pivot Position vector
Returns the proxy to the Pivot Rotation vector
- Returns:
- Proxy to the Pivot Rotation vector
Returns the proxy to the Pivot Scale vector
- Returns:
- Proxy to the Pivot Scale vector
Returns the proxy to the Pivot Comp Position vector
- Returns:
- Proxy to the Pivot Comp Position vector
Returns the proxy to the Pivot Comp Rotation vector
- Returns:
- Proxy to the Pivot Comp Rotation vector
Returns the proxy to the Pivot Comp Scale vector
- Returns:
- Proxy to the Pivot Comp Scale vector
Returns the proxy to the Neutral Pose Scale vector
- Returns:
- Proxy to the Neutral Pose Scale vector
Returns the proxy to the Neutral Pose Rotation vector
- Returns:
- Proxy to the Neutral Pose Rotation vector
Returns the proxy to the Neutral Pose Position vector
- Returns:
- Proxy to the Neutral Pose Position vector
Returns the proxy to the Neutral Pose Shear vector
- Returns:
- Proxy to the Neutral Pose Shear vector
Returns the proxy to the Rotation Order value
- Returns:
- Proxy to the Rotation Order value
Connects a limit to this template
- Parameters:
-
| [in] |
in_pXSILimit |
the limit to connect |
- Returns:
- Pointer to the specified limit
Adds a limit to this template
- Parameters:
-
| [in] |
in_pParameter |
Animatable type of limit to add |
- Returns:
- Pointer to the newly created limit, NULL if failed
Clears all limits on that template
- Returns:
- Whether the function failed or succeeded
Returns the list of limits on that template
- Returns:
- Array of limits
| SI_Int GetXSILimitCount |
( |
|
) |
|
Returns the number of limits on that template
- Returns:
- Number of limits on that template
| SI_Error RemoveXSILimit |
( |
SI_Int |
in_nIndex |
) |
|
Removes a limit by index
- Parameters:
-
| [in] |
in_nIndex |
Index of limit to remove |
- Returns:
- Whether the function failed or succeeded
Removes a limit
- Parameters:
-
| [in] |
in_pToRemove |
Limit to remove |
- Returns:
- Whether the function failed or succeeded
The documentation for this class was generated from the following file: