Function Name: Get Context Transformation

Definition

Retrieves a copy of the current effective transformation of the given object. This is the accumulation of all transformations -

If no matrices were 'accumulated' by the object, then the identity matrix will be returned.

Returns

SE_SUCCESS - and the current effective transformation of object_in is copied into *matrix_out_ptr, if valid parameters were passed in.

SE_NULL_REQUIRED_PARAMETER - and *matrix_out_ptr is left unchanged, if matrix_out_ptr is NULL.

SE_INVALID_OR_NULL_OBJECT - and *matrix_out_ptr is set to SE_MATRIX_4X4_TYPE_DEFAULT, if object_in is not valid.

SE_UNRESOLVED_START_OBJECT - and *matrix_out_ptr is set to SE_MATRIX_4X4_TYPE_DEFAULT, if object_in is unresolved.

SE_FAILURE - and *matrix_out_ptr is set to SE_MATRIX_4X4_TYPE_DEFAULT, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time.

Prototype


extern SE_STATUS_CODE_ENUM
SE_GetContextTransformation
(
SE_OBJECT object_in, (notes)
SE_MATRIX_4X4_TYPE *matrix_out_ptr (notes)
);

Parameters Notes

object_in

 the object whose effective transformation is desired.

matrix_out_ptr

 a pointer to a 4x4 matrix in the user's memory space
    where the given object's effective transformation will be copied.

Prev: Get Component. Next: Get Data Table. Up:Index.