<Matrix> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
<Matrix>MatrixThe <Matrix> constructor.
int32AssignSets the <Matrix> to the values of the <Matrix> p_oSource.
int32BindPointerBinds a <MemoryPointer> or subclass to this object. The <MemoryPointer> becomes a pointer to this object that can be passed to compatible functions.
<Float64Vector>ColumnV4Returns a pointer to the 4-component vector representing the specified matrix column.
int32FillFills the matrix with the specified value.
float64GetComponentReturns the value of the component at the specified row and column.
int32GetElementSizeReturns the size of the scalar element of which this <Matrix> is composed.
float64GetFloat64Returns the value o the matrix at the specified index.
int32GetSizeInBytesReturns the size in bytes of a <Matrix> object.
int32GetViewReturns an <Float64ArrayView> that contains first and last iterators for the collection.
int32InitializeInitializes the <Matrix> with the specified value.
int32InvertSets the matrix to the inverse of itself.
int32ModelViewInitializes a model-view transformation, a translation of the camera position to the origin, followed by orienting rotations, or M = R * (-T).
int32ObjectToParentInitializes a matrix transformation from object or model coordinates to the parent coordinate system, such as world coordinates. The transformation consists of a scale, followed by rotation, then translation, or M = T * R * S.
int32Print1DPrints the matrix in 1D into a <StrList> object.
int32Print2DPrints the matrix in 2D into a <StrList> object.
int32SetComponentSets the component at the specified row and column index.
int32SetFloat64Sets the value of the matrix at the specified index.
<Matrix>SetIdentitySets the <Matrix> component values to the identity matrix.
int32SetRowV4Sets a <Matrix> row to the value of the <Float64Vector> submitted to this function.
int32TransformMatrixTransforms the operand <Matrix> by a given transformation. That is, after A.Transform( B ), we have A' = B * A.
int32TransformMatrixLHSPre-transforms the operand <Matrix> by a given transformation. That is, after A.TransformLHS( B ), we have A' = A * B.
int32TransformPointTransforms a point using the given <Matrix>. Translation is performed as part of the transformation.
int32TransformVecTransforms a vector using the given <Matrix>. Translation is not performed as part of the transformation.
int32TransposeSets the <Matrix> to the transpose of itself.
int32ZeroSets all the scalars in the <Matrix> to zero.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
float64[]Elements[ index ]This accessor retrieves the array of 16 elements that define the matrix.
float64M00Gets or sets the (zero-based) element at the first row of the first column of the matrix.
float64M01Gets or sets the (zero-based) element at the first row of the second column of the matrix.
float64M02Gets or sets the (zero-based) element at the first row of the third column of the matrix.
float64M03Gets or sets the (zero-based) element at the first row of the fourth column of the matrix.
float64M10Gets or sets the (zero-based) element at the second row of the first column of the matrix.
float64M11Gets or sets the (zero-based) element at the second row of the second column of the matrix.
float64M12Gets or sets the (zero-based) element at the second row of the third column of the matrix.
float64M13Gets or sets the (zero-based) element at the second row of the fourth column of the matrix.
float64M20Gets or sets the (zero-based) element at the third row of the first column of the matrix.
float64M21Gets or sets the (zero-based) element at the third row of the second column of the matrix.
float64M22Gets or sets the (zero-based) element at the third row of the third column of the matrix.
float64M23Gets or sets the (zero-based) element at the third row of the fourth column of the matrix.
float64M30Gets or sets the (zero-based) element at the fourth row of the first column of the matrix.
float64M31Gets or sets the (zero-based) element at the fourth row of the second column of the matrix.
float64M32Gets or sets the (zero-based) element at the fourth row of the third column of the matrix.
float64M33Gets or sets the (zero-based) element at the fourth row of the fourth column of the matrix.
float64[]Orientation[ index ]Retrieves the XYZ Euler angles orientation of the transformation.
float64[]Position[ index ]Retrieves the translation of the transformation.
float64[]Scale[ index ]Retrieves the per-axis scale factors of the transformation.