add segmentation support to trackdata class