Mercurial > hg > ltpda
annotate m-toolbox/m/gui/ltpdv/callbacks/ltpdv_get_selected_objs.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 function objs = ltpdv_get_selected_objs(mainfig) |
2 | |
3 % LTPDV_GET_SELECTED_OBJS gets the selected objects from the object list. | |
4 % | |
5 % M Hewitson 22-04-08 | |
6 % | |
7 % $Id: ltpdv_get_selected_objs.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $ | |
8 % | |
9 | |
10 % Get selected rows | |
11 rows = getappdata(mainfig, 'ObjectListSelectedRows'); | |
12 % Get current object list | |
13 objs = getappdata(mainfig, 'LTPDAobjects'); | |
14 % Return required objects | |
15 objs = objs(rows); | |
16 | |
17 % END |