Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.MapWaypoint Class Reference

Inherits org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint, and Waypoint.

Classes

class  WaypointExtractAction
 

Public Member Functions

int compareTo (XYZPoint o)
 
boolean equals (Object obj)
 
double euclideanDistance (XYZPoint o1)
 
GeoPosition getPosition ()
 
Long getTimestamp ()
 
double getX ()
 
double getY ()
 
double getZ ()
 
int hashCode ()
 
String toString ()
 

Protected Attributes

final double x
 
final double y
 
final double z
 

Private Member Functions

 MapWaypoint (Waypoint dataModelWaypoint)
 
 MapWaypoint (GeoPosition position)
 
String formatAttribute (String title, String value)
 
List< JMenuItem > getDataModelActionFactoryMenuItems (BlackboardArtifact artifact, Content content)
 
String getFormattedDetails (Waypoint point)
 
List< JMenuItem > getTimelineMenuItems (BlackboardArtifact artifact)
 
String getTimeStamp (long timeStamp)
 

Private Attributes

final Waypoint dataModelWaypoint
 
final GeoPosition position
 

Static Private Attributes

static final Map< Integer, Color > artifactTypesToColors = new HashMap<>()
 
static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX", Locale.US)
 
static final String HTML_PROP_FORMAT = "<b>%s: </b>%s<br>"
 
static final Logger logger = Logger.getLogger(MapWaypoint.class.getName())
 

Detailed Description

A Wrapper for the datamodel Waypoint class that implements the jxmapviewer Waypoint interface.

Definition at line 66 of file MapWaypoint.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.geolocation.MapWaypoint.MapWaypoint ( Waypoint  dataModelWaypoint)
private
org.sleuthkit.autopsy.geolocation.MapWaypoint.MapWaypoint ( GeoPosition  position)
private

Construct a waypoint from a GeoPosition with a null datamodel.Waypoint.

Parameters
positionGeoPosition for the waypoint

Definition at line 158 of file MapWaypoint.java.

Member Function Documentation

int org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.compareTo ( XYZPoint  o)
inherited
boolean org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals ( Object  obj)
inherited
double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.euclideanDistance ( XYZPoint  o1)
inherited

Computes the Euclidean distance from this point to the other.

Parameters
o1other point.
Returns
euclidean distance.

Definition at line 680 of file KdTree.java.

Referenced by org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.EuclideanComparator.compare().

String org.sleuthkit.autopsy.geolocation.MapWaypoint.formatAttribute ( String  title,
String  value 
)
private

Format a title value pair.

Parameters
titleTitle of the property
valueValue of the property
Returns
Formatted string with the title and value

Definition at line 337 of file MapWaypoint.java.

List<JMenuItem> org.sleuthkit.autopsy.geolocation.MapWaypoint.getDataModelActionFactoryMenuItems ( BlackboardArtifact  artifact,
Content  content 
)
private

Use the DateModelActionsFactory to get some of the basic actions for the waypoint. The advantage to using the DataModelActionsFactory is that the menu items can be put in a consistent order with other parts of the UI.

Parameters
artifactArtifact for the selected waypoint
contentArtifact content
Returns
List of JMenuItems for the DataModelActionFactory actions

Definition at line 266 of file MapWaypoint.java.

References org.sleuthkit.autopsy.datamodel.DataModelActionsFactory.getActions().

String org.sleuthkit.autopsy.geolocation.MapWaypoint.getFormattedDetails ( Waypoint  point)
private
GeoPosition org.sleuthkit.autopsy.geolocation.MapWaypoint.getPosition ( )
List<JMenuItem> org.sleuthkit.autopsy.geolocation.MapWaypoint.getTimelineMenuItems ( BlackboardArtifact  artifact)
private

Gets the Timeline Menu Items for this artifact.

Parameters
artifactSelected artifact
Returns
List of timeline menu items.

Definition at line 239 of file MapWaypoint.java.

References org.sleuthkit.autopsy.timeline.actions.ViewArtifactInTimelineAction.hasSupportedTimeStamp().

String org.sleuthkit.autopsy.geolocation.MapWaypoint.getTimeStamp ( long  timeStamp)
private

Format a point time stamp (in seconds) to the report format.

Parameters
timeStampThe timestamp in epoch seconds.
Returns
The formatted timestamp

Definition at line 348 of file MapWaypoint.java.

Long org.sleuthkit.autopsy.geolocation.MapWaypoint.getTimestamp ( )
Returns
The timestamp associated with this map way point or null.

Definition at line 371 of file MapWaypoint.java.

References org.sleuthkit.autopsy.geolocation.datamodel.Waypoint.getTimestamp().

Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.getClosestWithTime().

double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getX ( )
inherited
double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getY ( )
inherited
double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getZ ( )
inherited

Returns the z value, will always be 0.

Returns
Always 0.

Definition at line 669 of file KdTree.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.z.

int org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.hashCode ( )
inherited
String org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.toString ( )
inherited

Definition at line 764 of file KdTree.java.

Member Data Documentation

final Map<Integer, Color> org.sleuthkit.autopsy.geolocation.MapWaypoint.artifactTypesToColors = new HashMap<>()
staticprivate

Definition at line 72 of file MapWaypoint.java.

final Waypoint org.sleuthkit.autopsy.geolocation.MapWaypoint.dataModelWaypoint
private

Definition at line 85 of file MapWaypoint.java.

final SimpleDateFormat org.sleuthkit.autopsy.geolocation.MapWaypoint.DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX", Locale.US)
staticprivate

Definition at line 70 of file MapWaypoint.java.

final String org.sleuthkit.autopsy.geolocation.MapWaypoint.HTML_PROP_FORMAT = "<b>%s: </b>%s<br>"
staticprivate

Definition at line 69 of file MapWaypoint.java.

final Logger org.sleuthkit.autopsy.geolocation.MapWaypoint.logger = Logger.getLogger(MapWaypoint.class.getName())
staticprivate

Definition at line 68 of file MapWaypoint.java.

final GeoPosition org.sleuthkit.autopsy.geolocation.MapWaypoint.position
private

Definition at line 86 of file MapWaypoint.java.

final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.x
protectedinherited
final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.y
protectedinherited
final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.z
protectedinherited

The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.