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 $
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