Go to the source code of this file.
|
#define | mKSinc(frac) ( mCast(int,frac*nsincm1_+0.5) ) |
|
#define | mValidPos(is, ns) ( (is > -1 && is < ns) ) |
|
#define | mCheckUdf(totidx) |
|
#define | mAddVal(val, weight, totidx, outval) |
|
#define | mAddValW(val, totidx, weight, outval, sumweights) |
|
#define | mGetOffset(idx, idy, idz) ( idz + nz_*( idy + ny_*idx ) ) |
|
#define mAddVal |
( |
|
val, |
|
|
|
weight, |
|
|
|
totidx, |
|
|
|
outval |
|
) |
| |
Value:{ \
mCheckUdf(totidx) \
outval += val * weight; \
}
#define mAddValW |
( |
|
val, |
|
|
|
totidx, |
|
|
|
weight, |
|
|
|
outval, |
|
|
|
sumweights |
|
) |
| |
Value:{ \
mCheckUdf(totidx) \
outval += val * weight; \
sumweights += weight; \
}
#define mCheckUdf |
( |
|
totidx | ) |
|
Value:{ \
if ( isudfarr_ && isudfarr_[totidx] ) \
continue; \
}
#define mGetOffset |
( |
|
idx, |
|
|
|
idy, |
|
|
|
idz |
|
) |
| ( idz + nz_*( idy + ny_*idx ) ) |
#define mKSinc |
( |
|
frac | ) |
( mCast(int,frac*nsincm1_+0.5) ) |
#define mValidPos |
( |
|
is, |
|
|
|
ns |
|
) |
| ( (is > -1 && is < ns) ) |