SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Functions
SE GetContextTransformation
extern SE_Return_Code
SE_GetContextTransformation
(
SE_Object object_in, (notes)
SRM_Matrix_4x4 *matrix_out_ptr (notes)
);

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_RET_CODE_SUCCESS and the requested transformation is returned, if valid parameters were passed in and all operations succeeded.
SE_RET_CODE_FAILURE and the status code is set appropriately if the call failed.

Status Codes

SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:

SE_STAT_CODE_SUCCESS set if valid parameters were passed in.

SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:

SE_STAT_CODE_UNRESOLVED_INPUT_OBJECT set if object_in is unresolved.
SE_STAT_CODE_INACTIONABLE_FAILURE set if the call fails for any other reason.


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: SE_GetComponent. Next: SE_GetDRMClass. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS