Home > ISET > main > ieSessionSet.m

ieSessionSet

PURPOSE ^

Set vcSESSION parameters.

SYNOPSIS ^

function ieSessionSet(param,val,varargin)

DESCRIPTION ^

 Set vcSESSION parameters.

     ieSessionSet(param,val,varargin);

 While vcSESSION parameters are generally set by this routine. There remain
 some places, however, where vcSESSION is touched directly. This will
 change over time.  At some point in time, vcSESSION is likely to be
 hidden in the main window, and not be global.

   {'version'}
   {'sessionname'}
   {'sessiondir'}
   {'inithelp'}
   {'fontdelta'}   - How much to change font size using ieFontChangeSize
   (every window changes).  This variable is stored in the preferences so
   that it remains static across sessions.

  Setting window information. The calling format differs from other
  set routines. 
  Example:  ieSessionSet('mainwindow',hObject,eventdata,handles);

      {'mainwindow'}    - Store handles for main window
      {'scenewindow'}   - Store handles for scene window
      {'oiwindow'}      - Store handles of optical image window
      {'sensorwindow'}  - Store handles for sensor window
      {'vcimagewindow'} - Store handles for processor 
                (virtual camera image) window
      {'metricswindow'} - Store handles for metrics window

      {'graphwinval'}   - Number for graphics window
      {'graphwinhandle'}- Not currently used, in future will be as named
      {'graphwinfigure'}- hObject for graphics window.  Why is this not
      handle?
     
   These custom parameters are cell arrays of user defined routines for
   these various operations. 
   {'custom'}
      {'customdemosaiclist','demosaiclist','setdemosaiclist'}
      {'adddemosaic','adddemosaicmethod'}
      {'deletedemosaic','deletedemosaicmethod'}
         
      {'customcolorbalancelist','colorbalancelist','setcolorbalancelist'}
      {'addcolorbalance','addcolorbalancemethod'}
      {'deletecolorbalance','deletecolorbalancemethod'}
         
      {'customcolorconversionlist','colorconversionlist','setcolorconversionlist'}
      {'addcolorconversion','addconversion','addcolorconversionmethod'}
      {'deletecolorconversion','deletecolorconversionmethod'}
         
      {'renderlist','setrenderlist'}
         % ieSessionSet('setrenderlist',algListCellArray);
      {'addrender','addrendermethod'}
         % ieSessionSet('addrender',newAlg);
      {'deleterender','deleterendermethod'}
         % ieSessionSet('deleterender',[5 8]);
         
      {'setoicomputelist','oicomputelist'}
         % ieSessionSet('setOIComputeList',algListCellArray);
      {'addoicompute','addoicomputemethod'}
         % ieSessionSet('addOIComputeMethod',newAlg);
      {'deleteoicompute','deleteOIComputemethod'}
         % ieSessionSet('deleteOIcomputeMethod',newAlg);
         
      {'setsensorcomputelist','sensorcomputelist'}
         % ieSessionSet('setSensorComputeList',algListCellArray);
      {'addsensorcompute','addsensorcomputemethod'}
         % ieSessionSet('addSensorComputeMethod',newAlg);
      {'deletesensorcompute','deletesensorcomputemethod'}
         % ieSessionSet('deleteSensorComputeMethod',newAlg);
         
      {'setedgealgorithmlist','edgealgorithmlist'}
         % ieSessionSet('edgeAlgorithmList',algListCellArray);
      {'addedgealgorithm','addedgealgorithmmethod'}
         % ieSessionSet('addSensorComputeMethod',newAlg);
      {'deleteedgealgorithm','deleteedgealgorithmmethod'}
         % ieSessionSet('deleteSensorComputeMethod',newAlg);

 Example:
    ieSessionSet('addrender',newAlg);

 See also ieSessionGet

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003