|
GLG Toolkit, JavaScript Library
Version 4.6
|
Contains matrix data used by GetMatrixData and SetMatrixData. More...
Contains matrix data used by GetMatrixData and SetMatrixData.
Public Attributes | |
| Float64Array | matrix |
| 4x4 array of matrix coefficients. More... | |
| GlgXformType | type |
| Matrix type, may have the following values: More... | |
Public Member Functions | |
| GlgMatrixData | CreateGlgMatrixData (GlgXformType type, Float64Array array) |
| Constructor. More... | |
Static Public Member Functions | |
| static void | ReleaseToCache (GlgMatrixData obj) |
| Returns the object to the internal cache for reuse. More... | |
| Float64Array matrix |
4x4 array of matrix coefficients.
| GlgXformType type |
Matrix type, may have the following values:
| GlgMatrixData CreateGlgMatrixData | ( | GlgXformType | type, |
| Float64Array | array | ||
| ) |
Constructor.
Creates a matrix data object that can be used as a parameter of the SetMatrixData method.
The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| type | A type of the matrix (one of constants defined in the GlgXformType enum). |
| array | An array of 16 (4x4) matrix coefficients. |
|
static |
Returns the object to the internal cache for reuse.
The object should not be accessed after it is released to the cache.
The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| obj | The object to release. |