[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.1 Public variables
- Variable of mglData:
float *
a Data array itself. The flat data representation is used. For example, matrix [nx x ny] is presented as flat (1d-) array with length nx*ny. The element with indexes {i, j, k} is a[i+nx*j+nx*ny*k] (indexes are zero based).
- Method on
mglData
:float
GetVal (long
i) - Method on
mglData
:void
SetVal (float
val,long
i) Gets or sets the value in by "flat" index i without border checking. Index i should be in range [0, nx*ny*nz-1].
- Method on
mglData
:long
GetNx () - Method on
mglData
:long
GetNy () - Method on
mglData
:long
GetNz () - C function:
long
mgl_data_get_nx (HCDT
dat) - C function:
long
mgl_data_get_ny (HCDT
dat) - C function:
long
mgl_data_get_nz (HCDT
dat) Gets the x-, y-, z-size of the data.
- C function:
float
mgl_data_get_value (HCDT
dat,int
i,int
j,int
k) - C function:
float *
mgl_data_value (HMDT
dat,int
i,int
j,int
k) - C function:
void
mgl_data_set_value (HMDT
dat,float
v,int
i,int
j,int
k) Gets or sets the value in specified cell of the data with border checking.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 13, 2012 using texi2html 5.0.