Home > ISET > main > ieSessionGet.m

ieSessionGet

PURPOSE ^

Get fields in vcSESSION, including figure handles and custom routines

SYNOPSIS ^

function val = ieSessionGet(param)

DESCRIPTION ^

 Get fields in vcSESSION, including figure handles and custom routines

  val = ieSessionGet(param);

  The vcSESSION parameter is a global variable at present.  It contains
  a great deal of information about the windows, custom processing
  routines, and related ISET processing information.

  This get routine retrieves that information.  The information is stored
  in a global variable for now.  But in the future, this information will
  be obtained using findobj().

  A list of the parameters is:

      {'version'}
      {'name','sessionname'}
      {'dir','sessiondir'}
      {'help','inithelp'}
      {'detlafontsize','fontsize','fontincrement','increasefontsize','fontdelta','deltafont'}
         % This value determines whether we change the font size in every window
         % by this increment, calling ieFontChangeSize when the window is
         % opened.

    Custom algorithms list

      {'custom','customall','customstructure'}
         val = vcSESSION.CUSTOM;
         % These are cell arrays of user-defined routines that implement
         % these various types of operations.
      {'customdesmoaiclist'}
      {'customcolorbalancelist'}
      {'customcolorconversionlist'}
      {'processingmethods'}
         % These routines are a complete processing chain that replace the
         % entire call to vcimageCompute
      {'oicomputelist'}
         % These routines replace the standard oiCompute call.  They
         % customize the signal processing chain from the optical image to
         % the OI data.
      {'sensorcomputelist'}
         % These routines replace the standard sensorCompute call.  They
         % customize the signal processing chain from the optical image to
         % the ISA data.
      {'edgealgorithmlist'}
         % These routines replace the standard sensorCompute call.  They
         % customize the signal processing chain from the optical image to
         % the ISA data.

     Handles to the various windows
      {'mainwindowhandle'}
      {'scenewindowhandle'}
      {'oiwindowhandle'}
      {'sensorwindowhandle'}
      {'vcimagehandle'}
      {'metricswindowhandle'}
      {'graphwinhandles','graphwinhandle'}

     Figure numbers
      {'graphwinstructure'}
      {'graphwinfigure'}
      {'mainfigure'}
      {'scenefigure'}
      {'oifigure'}
      {'sensorfigure'}
      {'vcimagefigure'}
      {'metricsfigure',}

 Example:
   ieSessionGet('version')
   ieSessionGet('custom')
   d = ieSessionGet('fontsize'); ieFontChangeSize(gcf,d);

   hobj = ieSessionGet('opticalimagefigure');

 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