>  Docs Center  >  Libraries  >  Motley  >  MGHGRCOLORSURFACE__DEFINE

MGHGRCOLORSURFACE__DEFINE

MGHGRCOLORSURFACE__DEFINE

Class Name


  MGHgrColorSurface

Purpose


  This class implements a colour plane using an IDLgrSurface. For a
  description of what a colour plane is, see the documentation for
  MGHgrColorPlane.

Properties


  The following properties are supported (amongst others):
    DEFAULT_COLOR (Init,Get,Set)
      The colour (indexed or RGB) of the surface, used if the
      COLOR_VALUES property is not set.
    COLOR_VALUES (Init,Get,Set)
      An array of byte values dimensioned (m,n) or (3,m,n)
      representing the colours of the cells (STYLE=0) or vertices
      (STYLE=1).
    DATAX, DATAY (Init,Get,Set)
      1-D or 2-D arrays specifying the vertex positions.
    MISSING_POINTS (Init,Get,Set)
      A 2-D array of integer or byte values, with the same
      dimensions as COLOR_VALUES, specifying which cell (STYLE=0) or
      vertex (STYLE=1) values are deemed to be missing. Points are
      omitted by setting the appropriate element of the
      IDLgrSurface's DATAZ property to NaN.
    PALETTE (Init,Get,Set)
      A reference to the palette defining the byte<->color mapping.
    STYLE (Init,Get)
      An integer specifying whether colours are uniform over the
      cells (STYLE=0) or interpolated from the vertices
      (STYLE=1). Default is 0.

Category


  Object graphics.
###########################################################################
  Copyright (c) 2013 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 1998-09:
    Written as MGHgrColorPlane2 (I think).
  Mark Hadfield, 2000-12:
    Renamed MGHgrColorSurface.
  Mark Hadfield, 2004-07:
    - Overhauled properties to support property-sheet
      functionality. Properties now passed explicitly
      to components--no EXTRA keywords.
    - IDL 6.0 logical syntax.
  Mark Hadfield, 2013-04:
    Updated copyright/license notice.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us