19 package org.sleuthkit.autopsy.geolocation.datamodel;
 
   21 import java.util.ArrayList;
 
   22 import java.util.Collections;
 
   23 import java.util.List;
 
   25 import org.openide.util.NbBundle.Messages;
 
   97     private static String 
getTrackName(Map<BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute> attributeMap) {
 
  112         "# {0} - track name",
 
  113         "GEOTrack_point_label_header=Trackpoint for track: {0}" 
  117             addToPath(
new TrackWaypoint(artifact, Bundle.GEOTrack_point_label_header(
getLabel()), point));
 
  133         if (attribute == null) {
 
  147     final class TrackWaypoint 
extends Waypoint {
 
  163             super(artifact, pointLabel,
 
  164                     point.getTimeStamp(),
 
  166                     point.getLongitude(),
 
  172             propertyList = createPropertyList(point);
 
  183             return Collections.unmodifiableList(propertyList);
 
  194             "Track_distanceTraveled_displayName=Distance traveled",
 
  195             "Track_distanceFromHome_displayName=Distance from home point" 
  197         private List<Waypoint.Property> createPropertyList(GeoTrackPoints.TrackPoint point) {
 
  198             List<Waypoint.Property> list = 
new ArrayList<>();
 
  200             Double value = point.getVelocity();
 
  202                 list.add(
new Property(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GEO_VELOCITY.getDisplayName(), value.toString()));
 
  205             value = point.getDistanceTraveled();
 
  207                 list.add(
new Property(Bundle.Track_distanceTraveled_displayName(), value.toString()));
 
  210             value = point.getDistanceFromHomePoint();
 
  212                 list.add(
new Property(Bundle.Track_distanceFromHome_displayName(), value.toString()));
 
Track(BlackboardArtifact artifact)
Track(BlackboardArtifact artifact, Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)
static< T > T fromAttribute(BlackboardAttribute attr, Class< T > clazz)
final BlackboardArtifact artifact
final Long startTimestamp
GeoTrackPoints getPointsList(Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)
static String getTrackName(Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap)
void buildPath(GeoTrackPoints points, BlackboardArtifact artifact)