Home > gt > GTTrack.m

GTTrack

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^

0001 classdef GTTrack < hgsetget
0002     properties
0003         Id % track id
0004         Dataset % dataset in which the track belong to eg: cplsaline1#3
0005         Cells % structure of cells
0006     end
0007     
0008     methods
0009         function track = GTTrack(dataset,id,cell)
0010             
0011             track.Id = id;
0012             track.Dataset = dataset;
0013             if nargin > 2
0014                 track.Cells = cell;
0015             end
0016         end
0017         
0018         function add(track,cell)
0019            track.Cells = [track.Cells; cell];
0020         end
0021     end 
0022 end

Generated on Thu 17-Mar-2011 14:45:51 by m2html © 2005