-
Notifications
You must be signed in to change notification settings - Fork 3
API
gifti
Kind: global variable
-
gifti :
Object
-
.DataArray :
function
- new gifti.DataArray()
-
.isPointSet() ⇒
boolean
-
.isTriangles() ⇒
boolean
-
.isNormals() ⇒
boolean
-
.getDimensions() ⇒
number
-
.getNumElements(dimIndex) ⇒
number
-
.isScalar() ⇒
boolean
-
.isTriple() ⇒
boolean
-
.isQuad() ⇒
boolean
-
.isAscii() ⇒
boolean
-
.isBase64Binary() ⇒
boolean
-
.isGzipBase64Binary() ⇒
boolean
-
.isBase64Encoded() ⇒
boolean
-
.isFloat32() ⇒
boolean
-
.isInt32() ⇒
boolean
-
.isUnsignedInt8() ⇒
boolean
-
.getData([glSafe]) ⇒
Float32Array
|Uint8Array
|Uint16Array
|Int32Array
-
.GIFTI :
function
-
.Transform :
function
-
.parse(xmlStr) ⇒
GIFTI
-
.DataArray :
Kind: static class of gifti
Properties
Name | Type |
---|---|
attributes | object |
metadata | object |
transforms | Array.<Transform> |
data |
Float32Array | Uint8Array | Int32Array
|
-
.DataArray :
function
- new gifti.DataArray()
-
.isPointSet() ⇒
boolean
-
.isTriangles() ⇒
boolean
-
.isNormals() ⇒
boolean
-
.getDimensions() ⇒
number
-
.getNumElements(dimIndex) ⇒
number
-
.isScalar() ⇒
boolean
-
.isTriple() ⇒
boolean
-
.isQuad() ⇒
boolean
-
.isAscii() ⇒
boolean
-
.isBase64Binary() ⇒
boolean
-
.isGzipBase64Binary() ⇒
boolean
-
.isBase64Encoded() ⇒
boolean
-
.isFloat32() ⇒
boolean
-
.isInt32() ⇒
boolean
-
.isUnsignedInt8() ⇒
boolean
-
.getData([glSafe]) ⇒
Float32Array
|Uint8Array
|Uint16Array
|Int32Array
The DataArray constructor.
Returns true if this data array represents a point set.
Kind: instance method of DataArray
Returns true if this data array represents triangle indices.
Kind: instance method of DataArray
Returns true if this data array represents normals.
Kind: instance method of DataArray
Returns the number of dimensions of this data array.
Kind: instance method of DataArray
Returns the number of elements in the specified dimension.
Kind: instance method of DataArray
Param | Type |
---|---|
dimIndex | number |
Returns true if this data array represents scalar data.
Kind: instance method of DataArray
Returns true if this data array is in triples.
Kind: instance method of DataArray
Returns true if this data array is in quads.
Kind: instance method of DataArray
Returns true if this data array is encoded in ASCII format.
Kind: instance method of DataArray
Returns true if this data array is encoded in Base64 format.
Kind: instance method of DataArray
Returns true if this data array is encoded in GZIP-Base64 format.
Kind: instance method of DataArray
Returns true if this data array uses Base64 encoding.
Kind: instance method of DataArray
Returns true if the datatype is 32-bit floating point.
Kind: instance method of DataArray
Returns true if the datatype is 32-bit signed integer.
Kind: instance method of DataArray
Returns true if the datatype is 8-bit unsigned integer.
Kind: instance method of DataArray
Returns the data as a typed array (either Float32Array, Uint8Array, Uint16Array or Int32Array)
Kind: instance method of DataArray
Param | Type | Description |
---|---|---|
[glSafe] | boolean |
true to convert Int32Array to Uint16Array |
Kind: static class of gifti
Properties
Name | Type |
---|---|
attributes | object |
metadata | object |
dataArrays | Array.<DataArray> |
-
.GIFTI :
function
The GIFTI constructor.
giftI.getPointsDataArray() ⇒ DataArray
Returns the point set data array.
Kind: instance method of GIFTI
giftI.getTrianglesDataArray() ⇒ DataArray
Returns the triangle indices data array.
Kind: instance method of GIFTI
giftI.getNormalsDataArray() ⇒ DataArray
Returns the normals data array.
Kind: instance method of GIFTI
Returns the number of points.
Kind: instance method of GIFTI
Returns the number of triangles.
Kind: instance method of GIFTI
Kind: static class of gifti
Properties
Name | Type |
---|---|
dataSpace | string |
transformedSpace | string |
matrixData | Array.<number> |
The Transform constructor.
gifti.parse(xmlStr) ⇒ GIFTI
Parses GIFTI data.
Kind: static method of gifti
Param | Type |
---|---|
xmlStr | string |