Home > ISET > gui > vcReplaceAndSelectObject.m

vcReplaceAndSelectObject

PURPOSE ^

Replace an object and set as selected in the vcSESSION variable

SYNOPSIS ^

function vcReplaceAndSelectObject(obj,val)

DESCRIPTION ^

Replace an object and set as selected in the vcSESSION variable

   vcReplaceAndSelectObject(obj,[val])

 Replace an existing object in the vcSESSION global variable.
 The object type can be SCENE,VCIMAGE,OPTICALIMAGE, or ISA.
 The val should be the value of the object that will be replaced.

 If there are no objects in the vcSESSION variable then this one becomes
 the first entry, replacing nothing.

 Examples
  vcReplaceAndSelectObject(oi,3);
  vcReplaceAndSelectObject(ISA,val);

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

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