Home > m > gui > ltpdv > callbacks > ltpdv_get_selected_objs.m

ltpdv_get_selected_objs

PURPOSE ^

LTPDV_GET_SELECTED_OBJS gets the selected objects from the object list.

SYNOPSIS ^

function objs = ltpdv_get_selected_objs(mainfig)

DESCRIPTION ^

 LTPDV_GET_SELECTED_OBJS gets the selected objects from the object list.
 
 M Hewitson 22-04-08
 
 $Id: ltpdv_get_selected_objs.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function objs = ltpdv_get_selected_objs(mainfig)
0002 
0003 % LTPDV_GET_SELECTED_OBJS gets the selected objects from the object list.
0004 %
0005 % M Hewitson 22-04-08
0006 %
0007 % $Id: ltpdv_get_selected_objs.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $
0008 %
0009 
0010 % Get selected rows
0011 rows = getappdata(mainfig, 'ObjectListSelectedRows');
0012 % Get current object list
0013 objs = getappdata(mainfig, 'LTPDAobjects');
0014 % Return required objects
0015 objs = objs(rows);
0016 
0017 % END

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003