| [ << ] | [ < ] | [ 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:floatGetVal (longi) - Method on
mglData:voidSetVal (floatval,longi) 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:longGetNx () - Method on
mglData:longGetNy () - Method on
mglData:longGetNz () - C function:
longmgl_data_get_nx (HCDTdat) - C function:
longmgl_data_get_ny (HCDTdat) - C function:
longmgl_data_get_nz (HCDTdat) Gets the x-, y-, z-size of the data.
- C function:
floatmgl_data_get_value (HCDTdat,inti,intj,intk) - C function:
float *mgl_data_value (HMDTdat,inti,intj,intk) - C function:
voidmgl_data_set_value (HMDTdat,floatv,inti,intj,intk) 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.
