MGHGRBACKGROUND__DEFINE Class Name
MGHgrBackground Purpose
This class is just an IDLgrPolygon with a couple of changes that
make it suitable to be the background (selection target) in an
MGHgrGraph:
- The GetProperty keywords XRANGE, YRANGE and ZRANGE return
undefined values. This means that the background object is
ignored when fitting axes around atoms.
- The DEPTH_WRITE_DISABLE property is set to 1 to allow this
pbject to be overdrawn.
- If the SetProperty keywords XCOORD_CONV, YCOORD_CONV or
ZCOORD_CONV are invoked (and the DATA keyword is not) then the
DATA array is adjusted to maintain a constant position in
normalised coordinates.
###########################################################################
This software is provided subject to the following conditions:
1. NIWA makes no representations or warranties regarding the
accuracy of the software, the use to which the software may
be put or the results to be obtained from the use of the
software. Accordingly NIWA accepts no liability for any loss
or damage (whether direct of indirect) incurred by any person
through the use of or reliance on the software.
2. NIWA is to be acknowledged as the original author of the
software where the software is used or presented in any form.
###########################################################################
Modification History
Mark Hadfield, 2000-08:
Written.
Mark Hadfield, 2003-06:
Updated for IDL 6.0: Init method added, setting the default value of
DEPTH_WRITE_DISABLE to 1.