<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.
int32ElementSizeReturns the size of the scalar element of which this <Matrix> is composed.
int32FillFills the matrix with the specified value.
doubleGetComponentReturns the value of the component at the specified row and column.
doubleGetDoubleReturns the <float64> at the specified index.
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.
int32SetDoubleSets the value of the <float64> 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.
int32SizeInBytesReturns the size in bytes of a <Matrix> object.
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
double[]Elements[ index ]This accessor retrieves the array of 16 elements that define the matrix.
doubleM00Gets or sets the (zero-based) element at the first row of the first column of the matrix.
doubleM01Gets or sets the (zero-based) element at the first row of the second column of the matrix.
doubleM02Gets or sets the (zero-based) element at the first row of the third column of the matrix.
doubleM03Gets or sets the (zero-based) element at the first row of the fourth column of the matrix.
doubleM10Gets or sets the (zero-based) element at the second row of the first column of the matrix.
doubleM11Gets or sets the (zero-based) element at the second row of the second column of the matrix.
doubleM12Gets or sets the (zero-based) element at the second row of the third column of the matrix.
doubleM13Gets or sets the (zero-based) element at the second row of the fourth column of the matrix.
doubleM20Gets or sets the (zero-based) element at the third row of the first column of the matrix.
doubleM21Gets or sets the (zero-based) element at the third row of the second column of the matrix.
doubleM22Gets or sets the (zero-based) element at the third row of the third column of the matrix.
doubleM23Gets or sets the (zero-based) element at the third row of the fourth column of the matrix.
doubleM30Gets or sets the (zero-based) element at the fourth row of the first column of the matrix.
doubleM31Gets or sets the (zero-based) element at the fourth row of the second column of the matrix.
doubleM32Gets or sets the (zero-based) element at the fourth row of the third column of the matrix.
doubleM33Gets or sets the (zero-based) element at the fourth row of the fourth column of the matrix.
double[]Orientation[ index ]Retrieves the XYZ Euler angles orientation of the transformation.
double[]Position[ index ]Retrieves the translation of the transformation.
double[]Scale[ index ]Retrieves the per-axis scale factors of the transformation.