CSLTransform Class Reference

#include <Transform.h>

Inheritance diagram for CSLTransform:

CSLTemplate CSIBCNode List of all members.

Public Member Functions

CSIBCMatrix4x4  GetMatrix ()
SI_Void  SetMatrix (CSIBCMatrix4x4 &in_rValue)
CSIBCVector3D  GetEulerRotation ()
SI_Void  SetEulerRotation (CSIBCVector3D &in_rValue)
CSIBCVector3D  GetScale ()
SI_Void  SetScale (CSIBCVector3D &in_rValue)
CSIBCVector3D  GetTranslation ()
SI_Void  SetTranslation (CSIBCVector3D &in_rValue)
SI_Error  ComputeLocalMatrix ()
SI_Error  ComputeGlobalMatrix ()
CSIBCMatrix4x4 GetGlobalMatrix ()
SI_Void  SetGlobalMatrix (CSIBCMatrix4x4 &in_rValue)
virtual CSLAnimatableType ParameterFromName (SI_Char *in_szName)
virtual CSLAnimatableType ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName)
virtual ETemplateType  Type ()

Detailed Description

CSLTransform class This class handles the transformation matrix of a model. It provides functions to set the local scaling, rotation and position of the model and also provides easy and fast access to the model's global tranform.


Member Function Documentation

CSIBCMatrix4x4 GetMatrix (  ) 

Return the transformation matrix.

Returns:
CSIBCMatrix4x4 Transformation matrix.

SI_Void SetMatrix ( CSIBCMatrix4x4 in_rValue  ) 

Change the transformation matrix.

Parameters:
CSIBCMatrix4x4&  New Transformation matrix.
Returns:
None

CSIBCVector3D GetEulerRotation (  ) 

Return the actual rotation in euler representation.

Returns:
CSIBCVector3D Rotation value.

SI_Void SetEulerRotation ( CSIBCVector3D in_rValue  ) 

Change the rotation value in euler representation.

Parameters:
CSIBCVector3D&  New rotation value
Returns:
None

CSIBCVector3D GetScale (  ) 

Return the actual scale.

Returns:
CSIBCVector3D Scale value.

SI_Void SetScale ( CSIBCVector3D in_rValue  ) 

Change the scale value.

Parameters:
CSIBCVector3D&  New scale value
Returns:
None

CSIBCVector3D GetTranslation (  ) 

Return the actual translation.

Returns:
CSIBCVector3D Translation value.

SI_Void SetTranslation ( CSIBCVector3D in_rValue  ) 

Change the translation value.

Parameters:
CSIBCVector3D&  New translation value
Returns:
None

SI_Error ComputeLocalMatrix (  ) 

Computes this CSLTransform's local matrix.

Returns:
Error code

SI_Error ComputeGlobalMatrix (  ) 

Computes this CSLTransform's global matrix.

Returns:
Error code

CSIBCMatrix4x4& GetGlobalMatrix (  ) 

Returns the global matrix

Returns:
CSIBCMatrix4x4 The global matrix

SI_Void SetGlobalMatrix ( CSIBCMatrix4x4 in_rValue  ) 

Sets the global transformation matrix.

Parameters:
CSIBCMatrix4x4&  New Transformation matrix.
Returns:
None

virtual CSLAnimatableType* ParameterFromName ( SI_Char *  in_szName  )  [virtual]

Return a proxy to the specified parameter.

Parameters:
in_szName  Name of the parameter
Returns:
CSLAnimatableType* Pointer to a parameter proxy.

Reimplemented from CSLTemplate.

virtual CSLAnimatableType* ParameterFromType ( EFCurveType  in_Type,
SI_Char *  in_szParameterName  
) [virtual]

Return a proxy to the specified parameter.

Parameters:
in_Type  Type of parameter
in_szParameterName  Name of the parameter if the type is SI_PARAMETER
Returns:
CSLAnimatableType* Pointer to a parameter proxy.

Reimplemented from CSLTemplate.

virtual ETemplateType Type (  )  [virtual]

Indicate which dotXSI template this object describes.

Returns:
ETemplateType Type of template

Implements CSLTemplate.


The documentation for this class was generated from the following file: