>  Docs Center  >  Libraries  >  CATALYST  >  CATIMAGEDATA__DEFINE
Libraries

CATIMAGEDATA__DEFINE

CATIMAGEDATA__DEFINE

Name


      CatImageData

Purpose



      This object implements a class for handling image data. It is a subclassed
      CATDATAATOM object and can be subclassed for specific image implementations.
      This object was an early attempt at creating an image object for the Catalyst
      Library, and has been depreciated it favor of CatImage. It is left in the Library
      for historical reasons and because there are Catalyst applications that use it.

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

Superclasses



      CATDATAATOM
      CATATOM
      CATCONTAINER
      IDL_CONTAINER

Syntax



      imageObject = OBJ_NEW ('CatImageData', image)

Messages



    If a new image is loaded with the LOADIMAGE method, a CATIMAGE_NEWIMAGE message is sent to registered users.
  CLASS DEFINITION:
    class = { CatImageData, $ ; The CatImageData object class.
              _backgroundColor: "", $ ; The name of a background color to use when ERASING.
              _bytsclmin : 0.0D, $ ; The MIN value when byte scaling the data for display.
              _bytsclmax : 0.0D, $ ; The MAX value when byte scaling the data for display.
              _directory : "", $ ; The directory to look in for reading image files.
              _erase : 0L, $ ; Flag: Erase the window before displaying image.
              _filename : "", $ ; The name of the image file that has been read.
              _interpolate: 0L, $ ; Flag: Interpolate when resizing. Nearest neighbor is default.
              _keep_aspect: 0L, $ ; Flag: Keep the aspect ratio when calculating image position.
              _location : FltArr(6,2), $ ; Location information about the "displayed" image.
              _original : Ptr_New(), $ ; The original image data
              _noresize : 0L, $ ; Flag: No display resizing.
              _position : FltArr(4), $ ; The position of the image in the output window.
              _wid : 0L, $ ; The window this image should be drawn in.
              _xsize : 0L, $ ; The X size of the image.
              _ysize : 0L, $ ; The Y size of the image.
              INHERITS CatDataAtom $ ; Subclassed from CATDATAATOM.
            }

Modification History



      Written by: David Fanning, 27 March 2003.



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