-
Notifications
You must be signed in to change notification settings - Fork 4
API
gifti
Kind: global variable
-
gifti :
Object
-
.DataArray :
function
- new gifti.DataArray()
-
.isPointSet() ⇒
boolean
-
.isTriangles() ⇒
boolean
-
.isNormals() ⇒
boolean
-
.isColors() ⇒
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() ⇒
Float32Array
|Uint8Array
|Int32Array
-
.GIFTI :
function
-
.Label :
function
|*
-
.Transform :
function
-
.isThisFormat(filename) ⇒
boolean
-
.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
-
.isColors() ⇒
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() ⇒
Float32Array
|Uint8Array
|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 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 or Int32Array)
Kind: instance method of DataArray
Kind: static class of gifti
Properties
Name | Type |
---|---|
attributes | object |
metadata | object |
labelTable | Array.<Label> |
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
giftI.getColorsDataArray() ⇒ DataArray
Returns the colors 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 |
---|---|
key | string |
r | number |
g | number |
b | number |
a | number |
label | string |
The Label constructor.
Param | Type |
---|---|
attributes | object |
Kind: static class of gifti
Properties
Name | Type |
---|---|
dataSpace | string |
transformedSpace | string |
matrixData | Array.<number> |
The Transform constructor.
Returns true if this filename contains ".gii"
Kind: static method of gifti
Param |
---|
filename |
gifti.parse(xmlStr) ⇒ GIFTI
Parses GIFTI data.
Kind: static method of gifti
Param | Type |
---|---|
xmlStr | string |