Public Member Functions | |
| HRESULT | LoadIdentity (void) |
| HRESULT | LockData ([out, retval] RtFloat **pMatrix) |
| HRESULT | UnlockData (void) |
| HRESULT | GetAt ([in] RtUlong i,[in] RtUlong j,[out, retval] RtFloat *pVal) |
| HRESULT | SetAt ([in] RtUlong i,[in] RtUlong j,[in] RtFloat newVal) |
| HRESULT | RotationAxis ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z,[in] RtFloat angle) |
| HRESULT | Mult ([in] RtMatrixf *pM) |
| HRESULT | PreMult ([in] RtMatrixf *pM) |
| HRESULT | GetAxisX ([out, retval] IRdVertex **ppVect) |
| HRESULT | GetAxisY ([out, retval] IRdVertex **ppVect) |
| HRESULT | GetAxisZ ([out, retval] IRdVertex **ppVect) |
| HRESULT | GetTransX ([out, retval] RtFloat *pVal) |
| HRESULT | SetTransX ([in] RtFloat newVal) |
| HRESULT | GetTransY ([out, retval] RtFloat *pVal) |
| HRESULT | SetTransY ([in] RtFloat newVal) |
| HRESULT | GetTransZ ([out, retval] RtFloat *pVal) |
| HRESULT | SetTransZ ([in] RtFloat newVal) |
| HRESULT | GetRoll ([out, retval] RtFloat *pVal) |
| HRESULT | SetRoll ([in] RtFloat newVal) |
| HRESULT | GetPitch ([out, retval] RtFloat *pVal) |
| HRESULT | SetPitch ([in] RtFloat newVal) |
| HRESULT | GetYaw ([out, retval] RtFloat *pVal) |
| HRESULT | SetYaw ([in] RtFloat newVal) |
| HRESULT | GetScaleX ([out, retval] RtFloat *pVal) |
| HRESULT | SetScaleX ([in] RtFloat newVal) |
| HRESULT | GetScaleY ([out, retval] RtFloat *pVal) |
| HRESULT | SetScaleY ([in] RtFloat newVal) |
| HRESULT | GetScaleZ ([out, retval] RtFloat *pVal) |
| HRESULT | SetScaleZ ([in] RtFloat newVal) |
| HRESULT | GetShearX ([out, retval] RtFloat *pVal) |
| HRESULT | SetShearX ([in] RtFloat newVal) |
| HRESULT | GetShearY ([out, retval] RtFloat *pVal) |
| HRESULT | SetShearY ([in] RtFloat newVal) |
| HRESULT | GetShearZ ([out, retval] RtFloat *pVal) |
| HRESULT | SetShearZ ([in] RtFloat newVal) |
| HRESULT | AddScaleShear ([in] RtFloat sx,[in]RtFloat sy,[in] RtFloat sz,[in] RtFloat sxy,[in] RtFloat sxz,[in] RtFloat syz) |
| HRESULT | Rotate ([in] IRdVertex *center,[in] IRdVertex *axes,[in] RtFloat angle) |
| HRESULT | Decompose ([out] RtMatrixf *pM,[out] RtFloat *ss) |
| HRESULT | Shift ([in] IRdVertex *pShift) |
| HRESULT | LoadMatrix ([in] RtMatrixf *pM) |
| HRESULT | Invert ([out] RtMatrixf *pM) |
| HRESULT | Transpose (RtMatrixf *pM) |
| HRESULT | ScaleLocal ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | Scale ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | Shear ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | TranslateLocal ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | Translate ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | RotateEuler ([in] RtFloat x,[in] RtFloat y,[in] RtFloat z) |
| HRESULT | RotateEulerPRY ([in] RtFloat fPitch,[in] RtFloat fRoll,[in] RtFloat fYaw) |
| HRESULT | RotationX ([in] RtFloat x) |
| HRESULT | RotationY ([in] RtFloat y) |
| HRESULT | RotationZ ([in] RtFloat z) |
| HRESULT | TransformPoint ([in] RtPoint SourcePoint,[out] RtPoint *pDestPoint) |
| HRESULT | TransformVector ([in] RtPoint SourceVect,[out] RtPoint *pDestVect) |
| HRESULT | LookAt ([in] RtVector3f *pEye,[in] RtVector3f *pAt,[in] RtVector3f *pUp) |
| HRESULT | MakeRotTrans ([in] RtPoint center,[in] RtPoint axis,[in] RtFloat angle) |
| HRESULT IRdMatrixf::LoadIdentity | ( | void | ) |
Initializes indentity matrix.
| HRESULT IRdMatrixf::LockData | ( | [out, retval] RtFloat ** | pMatrix | ) |
Locks matrix and returns access pointer to matrix data.
| HRESULT IRdMatrixf::UnlockData | ( | void | ) |
Unlocks matrix data.
| HRESULT IRdMatrixf::GetAt | ( | [in] RtUlong | i, | |
| [in] RtUlong | j, | |||
| [out, retval] RtFloat * | pVal | |||
| ) |
Returns the value of one matrix element.
| i | [in] Row number. | |
| j | [in] Column number. |
| HRESULT IRdMatrixf::SetAt | ( | [in] RtUlong | i, | |
| [in] RtUlong | j, | |||
| [in] RtFloat | newVal | |||
| ) |
Sets the value of one matrix element.
| i | [in] Row number. | |
| j | [in] Column number. | |
| newVal | [in] New value to set for matrix element. |
| HRESULT IRdMatrixf::RotationAxis | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z, | |||
| [in] RtFloat | angle | |||
| ) |
Rotates matrix around arbitrary axis and arbitrary angle.
| x | [in] X coordinate of rotation axis. | |
| y | [in] Y coordinate of rotation axis. | |
| z | [in] Z coordinate of rotation axis. | |
| angle | [in] Rotation angle in radians. |
| HRESULT IRdMatrixf::Mult | ( | [in] RtMatrixf * | pM | ) |
Determines the product of given matrix and an arbitrary matrix.
| pM | [in] Matrix to multiply. |
| HRESULT IRdMatrixf::PreMult | ( | [in] RtMatrixf * | pM | ) |
Determines the product of an arbitrary matrix and given matrix.
| pM | [in] Matrix to multiply. |
| HRESULT IRdMatrixf::GetAxisX | ( | [out, retval] IRdVertex ** | ppVect | ) |
Returns the value of x axis for matrix.
| HRESULT IRdMatrixf::GetAxisY | ( | [out, retval] IRdVertex ** | ppVect | ) |
Returns the value of y axis for matrix.
| HRESULT IRdMatrixf::GetAxisZ | ( | [out, retval] IRdVertex ** | ppVect | ) |
Returns the value of z axis for matrix.
| HRESULT IRdMatrixf::GetTransX | ( | [out, retval] RtFloat * | pVal | ) |
Returns the x coordinate of translation.
| HRESULT IRdMatrixf::SetTransX | ( | [in] RtFloat | newVal | ) |
Sets the x coordinate of translation.
| pVal | [in] X coordinate of translation to set. |
| HRESULT IRdMatrixf::GetTransY | ( | [out, retval] RtFloat * | pVal | ) |
Returns the y coordinate of translation.
| HRESULT IRdMatrixf::SetTransY | ( | [in] RtFloat | newVal | ) |
Sets the y coordinate of translation.
| pVal | [in] Y coordinate of translation to set. |
| HRESULT IRdMatrixf::GetTransZ | ( | [out, retval] RtFloat * | pVal | ) |
Returns the z coordinate of translation.
| HRESULT IRdMatrixf::SetTransZ | ( | [in] RtFloat | newVal | ) |
Sets the z coordinate of translation.
| pVal | [in] Z coordinate of translation to set. |
| HRESULT IRdMatrixf::GetRoll | ( | [out, retval] RtFloat * | pVal | ) |
Returns the roll value.
| HRESULT IRdMatrixf::SetRoll | ( | [in] RtFloat | newVal | ) |
Sets the roll value.
| pVal | [in] Roll value to set. |
| HRESULT IRdMatrixf::GetPitch | ( | [out, retval] RtFloat * | pVal | ) |
Returns the pitch value.
| HRESULT IRdMatrixf::SetPitch | ( | [in] RtFloat | newVal | ) |
Sets the pitch value.
| pVal | [in] Pitch value to set. |
| HRESULT IRdMatrixf::GetYaw | ( | [out, retval] RtFloat * | pVal | ) |
Returns the yaw value.
| HRESULT IRdMatrixf::SetYaw | ( | [in] RtFloat | newVal | ) |
Sets the yaw value.
| pVal | [in] Yaw value to set. |
| HRESULT IRdMatrixf::GetScaleX | ( | [out, retval] RtFloat * | pVal | ) |
Returns the scale in x axis.
| HRESULT IRdMatrixf::SetScaleX | ( | [in] RtFloat | newVal | ) |
Sets the scale in x axis.
| pVal | [in] X scale value to set. |
| HRESULT IRdMatrixf::GetScaleY | ( | [out, retval] RtFloat * | pVal | ) |
Returns the scale in y axis.
| HRESULT IRdMatrixf::SetScaleY | ( | [in] RtFloat | newVal | ) |
Sets the scale in y axis.
| pVal | [in] Y scale value to set. |
| HRESULT IRdMatrixf::GetScaleZ | ( | [out, retval] RtFloat * | pVal | ) |
Returns the scale in z axis.
| pVal | [out, retval] Z scale value. |
| HRESULT IRdMatrixf::SetScaleZ | ( | [in] RtFloat | newVal | ) |
Sets the scale in z axis.
| pVal | [in] Z scale value to set. |
| HRESULT IRdMatrixf::GetShearX | ( | [out, retval] RtFloat * | pVal | ) |
Returns the shear in xy.
| HRESULT IRdMatrixf::SetShearX | ( | [in] RtFloat | newVal | ) |
Sets the shear in xy.
| pVal | [in] XY shear value to set. |
| HRESULT IRdMatrixf::GetShearY | ( | [out, retval] RtFloat * | pVal | ) |
Returns the shear in xz.
| HRESULT IRdMatrixf::SetShearY | ( | [in] RtFloat | newVal | ) |
Sets the shear in xz.
| pVal | [in] XZ shear value to set. |
| HRESULT IRdMatrixf::GetShearZ | ( | [out, retval] RtFloat * | pVal | ) |
Returns the shear in yz.
| HRESULT IRdMatrixf::SetShearZ | ( | [in] RtFloat | newVal | ) |
Sets the shear in yz.
| pVal | [in] YZ shear value to set. |
| HRESULT IRdMatrixf::AddScaleShear | ( | [in] RtFloat | sx, | |
| [in] RtFloat | sy, | |||
| [in] RtFloat | sz, | |||
| [in] RtFloat | sxy, | |||
| [in] RtFloat | sxz, | |||
| [in] RtFloat | syz | |||
| ) |
Adds the scale and shear transformation to matrix.
| sx | [in] Scale in x. | |
| sy | [in] Scale in y. | |
| sz | [in] Scale in z. | |
| sxy | [in] Shear in xy. | |
| sxz | [in] Shear in xz. | |
| syz | [in] Shear in yz. |
Adds rotation to matrix around arbitrary axis and center.
| center | [in] Center of rotation. | |
| axis | [in] Axis of rotation. | |
| angle | [in] Angle of rotation. |
| HRESULT IRdMatrixf::Decompose | ( | [out] RtMatrixf * | pM, | |
| [out] RtFloat * | ss | |||
| ) |
Decomposes transframtion matrix to translation (x,y,z), rotation (roll, pitch, yaw) and scale (sx, sy, sz, sxy, syz, syz).
| HRESULT IRdMatrixf::Shift | ( | [in] IRdVertex * | pShift | ) |
Adds shift to transfomation matrix according to arbitrary vector.
| pShift | [in] Shift vector to add. |
| HRESULT IRdMatrixf::LoadMatrix | ( | [in] RtMatrixf * | pM | ) |
LoadMatrix.
| pM | [in] . |
| HRESULT IRdMatrixf::Invert | ( | [out] RtMatrixf * | pM | ) |
Invert Matrix.
| pM | [in] Matrix to invert. |
| HRESULT IRdMatrixf::Transpose | ( | RtMatrixf * | pM | ) |
Transpose Matrix.
| pM | [in] Matrix to transpose. |
| HRESULT IRdMatrixf::ScaleLocal | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
ScaleLocal.
| x | [in] Set local scale for x axis. | |
| y | [in] Set local scale for y axis. | |
| z | [in] Set local scale for z axis. |
| HRESULT IRdMatrixf::Scale | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
Scale.
| x | [in] Set scale for x axis. | |
| y | [in] Set scale for y axis. | |
| z | [in] Set scale for z axis. |
| HRESULT IRdMatrixf::Shear | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
Shear.
| x | [in] Set shear in x axis. | |
| y | [in] Set shear in y axis. | |
| z | [in] Set shear in z axis. |
| HRESULT IRdMatrixf::TranslateLocal | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
TranslateLocal.
| x | [in] Set local translation value for x. | |
| y | [in] Set local translation value for y. | |
| z | [in] Set local translation value for z. |
| HRESULT IRdMatrixf::Translate | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
Translate.
| x | [in] Set translation value for x. | |
| y | [in] Set translation value for y. | |
| z | [in] Set translation value for z. |
| HRESULT IRdMatrixf::RotateEuler | ( | [in] RtFloat | x, | |
| [in] RtFloat | y, | |||
| [in] RtFloat | z | |||
| ) |
RotateEuler.
| x | [in] Set euler rotation value for x. | |
| y | [in] Set euler rotation value for y. | |
| z | [in] Set euler rotation value for z. |
| HRESULT IRdMatrixf::RotateEulerPRY | ( | [in] RtFloat | fPitch, | |
| [in] RtFloat | fRoll, | |||
| [in] RtFloat | fYaw | |||
| ) |
RotateEulerPRY {pitch/roll/yaw).
| x | [in] Set eulerPRY rotation value for x. | |
| y | [in] Set eulerPRY rotation value for y. | |
| z | [in] Set eulerPRY rotation value for z. |
| HRESULT IRdMatrixf::RotationX | ( | [in] RtFloat | x | ) |
RotationX.
| x | [in] Set x rotation value. |
| HRESULT IRdMatrixf::RotationY | ( | [in] RtFloat | y | ) |
RotationY.
| y | [in] Set y rotation value. |
| HRESULT IRdMatrixf::RotationZ | ( | [in] RtFloat | z | ) |
RotationZ.
| z | [in] Set z rotation value. |
TransformPoint.
| SourcePoint | [in] Source point. |
TransformVector.
| SourceVect | [in] Source vector. |
| HRESULT IRdMatrixf::LookAt | ( | [in] RtVector3f * | pEye, | |
| [in] RtVector3f * | pAt, | |||
| [in] RtVector3f * | pUp | |||
| ) |
LookAt.
| pEye | [in] . | |
| pAt | [in] . | |
| pUp | [in] . |
MakeRotTrans.
| center | [in] . | |
| axis | [in] . | |
| angle | [in] . |
1.5.5