char *cxPyrActive(cxPyramid *pyr, long layer)
integer function cxPyrActive( pyr, layer ) integer pyr integer layer
- Input pyramid structure for which computations are to be performed.
- Input layer of active elements (1-based value).
cxPyrActive is useful in circumstances where only the active elements at a given level are to be manipulated. This is the approved way of determining the pyramid elements which should be manipulated or displayed in any pyramid-based module (the alternative method of displaying all elements available at a given level is not correct).
The returned indicator array is considered to be owned by the caller of cxPyrActive and should be freed (with free(3C)) after use.
Other routines exist to determine the active elements at a subsequent layer and to return a variable-length array of only the active elements.cxPyramid(3E), cxPyrActiveNext(3E), cxPyrActiveListNext(3E), cxPyrActiveList(3E).
Last modified: Mon Nov 6 16:33:41 GMT 2000
[ Documentation Home ] © The Numerical Algorithms Group Ltd, Oxford UK. 1999