Home > ISET > gui > vcPointSelect.m

vcPointSelect

PURPOSE ^

Select point locations from an ISET window.

SYNOPSIS ^

function pointLoc = vcPointSelect(obj,nPoints,msg)

DESCRIPTION ^

 Select point locations from an ISET window. 

   pointLoc = vcPointSelect(obj,[nPoints = 1],[msg])

  The variable pointLoc returns the row and col values. During the point
  selection process 
      left click is used to choose a point, 
      backspace deletes the previous point, 
      right click signifies return (select this point and then done).

  If nPoints is not specified, then nPoints = 1 is assumed.  In that case,
  a single right click is all that is required. 

  In general, the number of points is checked and a message is printed if
  it is incorrect.  But the pointLoc values are still returned. 

 Example:
   pointLoc = vcPointSelect(vcGetObject('OI'))
   pointLocs = vcPointSelect(vcGetObject('OI'),3)
   pointLoc = vcPointSelect(vcGetObject('sensor'),3,'Help me')

 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