>  Docs Center  >  Libraries  >  Motley  >  MGH_PLAYER__DEFINE
Libraries

MGH_PLAYER__DEFINE

MGH_PLAYER__DEFINE

Class


  MGH_Player

Purpose


  A window for displaying & managing picture sequences.

Category


      Widgets, Object Graphics.

Properties


  The following properties (ie keywords to the Init, GetProperty &
  SetProperty methods) are supported:
    CUMULATIVE (Init, Get, Set)
      The number of frames to superpose on each display. Default is
      1. If CUMULATIVE is zero or negative then all frames up to the
      current one are superposed.
    N_FRAMES (Get)
      The number of frames currently managed by the animator.
    SLAVE (Init, Get, Set)
      Set this property to specify that the player will be
      controlled externally.
###########################################################################
  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 2001-07.
    Written.
  Mark Hadfield 2004-04:
    Several changes to the code that exports animations to
    bitmap-oriented animation formats:
      - Removed facility to save an animation in PPM_SEQUENCE
        form. Image sequences can be created in other ways,
      - Added method WriteAnimationToAVIFile to produce AVI movies
        using the IDL_AVI DLM. See also the new function MGH_AVI_REGISTERED.
  Mark Hadfield 2005-01:
    Fixed bug in WriteAnimationToAVIFile: when USE_RANGE property is set and
    frames are skipped, empty frames are being left in the AVI file.
  Mark Hadfield 2006-05:
    - The WriteAnimationToAVIFile method now uses the MGHaviWriteFile class,
      which provides an interface to Olgeg Kornilov's AVI DLL.
    - The menu item that supports MPEG output has been deleted, as MPEG
      output from the IDLgrMPEG object is pretty awful.
  Mark Hadfield 2007-10:
    - The WriteAnimationToAVIFile method now forces the output buffer size
      to be a multiple of 8 (previously 4) to supprt a wider range of codecs.



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