mglData
: mreal *
a ¶mglDataC
: dual *
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).
mglData
: long
nx ¶mglDataC
: long
nx ¶Number of points in 1st dimensions (’x’ dimension).
mglData
: long
ny ¶mglDataC
: long
ny ¶Number of points in 2nd dimensions (’y’ dimension).
mglData
: long
nz ¶mglDataC
: long
nz ¶Number of points in 3d dimensions (’z’ dimension).
mglData
: std::string
id ¶mglDataC
: std::string
id ¶Names of column (or slice if nz>1) – one character per column.
mglData
: bool
link ¶mglDataC
: bool
link ¶Flag to use external data, i.e. don’t delete it.
mglDataA
: std::wstring
s ¶Name of data. It is used in parsing of MGL scripts.
mglDataA
: bool
temp ¶Flag of temporary variable, which should be deleted.
mglDataA
: void (*)(void *)
func ¶Pointer to callback function which will be called at destroying.
mglDataA
: void *
o ¶Pointer to object for callback function.
mglData
: mreal
GetVal (long
i)
¶mglDataC
: mreal
GetVal (long
i)
¶mglData
: void
SetVal (mreal
val, long
i)
¶mglDataC
: void
SetVal (mreal
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].
mglDataA
: long
GetNx ()
¶mglDataA
: long
GetNy ()
¶mglDataA
: long
GetNz ()
¶long
mgl_data_get_nx (HCDT
dat)
¶long
mgl_data_get_ny (HCDT
dat)
¶long
mgl_data_get_nz (HCDT
dat)
¶Gets the x-, y-, z-size of the data.
mreal
mgl_data_get_value (HCDT
dat, int
i, int
j, int
k)
¶dual
mgl_datac_get_value (HCDT
dat, int
i, int
j, int
k)
¶mreal *
mgl_data_value (HMDT
dat, int
i, int
j, int
k)
¶dual *
mgl_datac_value (HADT
dat, int
i, int
j, int
k)
¶void
mgl_data_set_value (HMDT
dat, mreal
v, int
i, int
j, int
k)
¶void
mgl_datac_set_value (HADT
dat, dual
v, int
i, int
j, int
k)
¶Gets or sets the value in specified cell of the data with border checking.
const mreal *
mgl_data_data (HCDT
dat)
¶const dual *
mgl_datac_data (HCDT
dat)
¶Returns pointer to internal data array.
void
mgl_data_set_func (mglDataA *
dat, void (*
func)(void *)
, void *
par)
¶Set pointer to callback function which will be called at destroying.