>  Docs Center  >  Libraries  >  CATALYST  >  CATCOLORBAR__DEFINE
Libraries

CATCOLORBAR__DEFINE

CATCOLORBAR__DEFINE

Name


      CATCOLORBAR

Purpose



      The purpose of this routine is to implement a colorbar object as a selectable object.
      The colors for the color bar can be passed into the program as a COLORTOOL object
      with the COLOR_OBJECT keyword. A gray-scale color table with 256 colors is loaded
      by default.

Authors



        FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
        1645 Sheely Drive 18 The Green South
        Fort Collins Warborough, Oxon
        CO 80526 USA OX10 7DN, ENGLAND
        Phone: 970-221-0438 Phone: +44 (0)1865 858279
        E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk

Category



      Objects.

Syntax



      newObject = Obj_New("CATCOLORBAR", ...)
      drawObject -> Add, newObject

Superclasses



      SELECTABLEOBJECT
      CATDATAATOM
      CATATOM
      CATCONTAINER IDLITCOMPONENT
      IDL_CONTAINER

Class Structure



  class = { CATCOLORBAR, $
            bar: Obj_New(), $ ; The colorbar image.
            charsize: 0.0, $ ; The character size of the annotation.
            divisions: 0L, $ ; The number of major tick marks.
            extra: Ptr_New(), $ ; Placeholder for extra keywords.
            font: 0L, $ ; The font to use for annotations.
            format: "", $ ; The annotation formating.
            layerObject: Obj_New(), $ ; An optional CATLAYER object for holding the inserted selectable object.
            minor: 0L, $ ; The number of minor tick marks.
            ncolors: 0L, $ ; The number of colors in the colorbar.
            range: FltArr(2), $ ; The range of values displayed on the colorbar.
            right: 0L, $ ; The flag for text on RIGHT of vertical colorbars.
            thickness: 0.0, $ ; The thickness of the selectable object.
            ticklen: 0.0, $ ; The length of the tick marks.
            tickv: Ptr_New(), $ ; Values for the tick marks.
            title: "", $ ; The title string for the colorbar.
            top: 0L, $ ; The flag for text on TOP of horizontal colorbars.
            vertical: 0L, $ ; The flag for a vertical colorbar.
            INHERITS SELECTABLEOBJECT $
          }

Messages



  CATCOLORBAR_CHANGED: This message is sent whenever SetProperty method is called and the NOMESSAGE keyword
                          is NOT set.

Modification History



    Written by: David W. Fanning, April 17, 2005.
    Added automatic True-Type fonts for PostScript output, if Hershey fonts would otherwise
        be selected. 1 August 2006. DWF.
    Added MATCHPARENT keyword to INIT method. 2 August 2006. DWF.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us