Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer Class Reference

Inherits WaypointRenderer< MapWaypoint >.

Public Member Functions

void paintWaypoint (Graphics2D g, JXMapViewer map, MapWaypoint waypoint)
 

Private Member Functions

BufferedImage createTrackDotImage (Color color, int s)
 
BufferedImage createWaypointImage (Color color)
 
Color getColor (MapWaypoint waypoint)
 

Private Attributes

final Map< Color, BufferedImage > dotImageCache = new HashMap<>()
 
final Map< Color, BufferedImage > verySmallDotImageCache = new HashMap<>()
 
final Map< Color, BufferedImage > waypointImageCache = new HashMap<>()
 

Detailed Description

Renderer for the map waypoints.

Definition at line 788 of file MapPanel.java.

Member Function Documentation

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.createTrackDotImage ( Color  color,
int  s 
)
private

Creates a dot image with the specified color

Parameters
colorthe color of the new image
sthe size of the dot
Returns
the new dot image

Definition at line 819 of file MapPanel.java.

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.createWaypointImage ( Color  color)
private

Creates a waypoint image with the specified color

Parameters
colorthe color of the new image
Returns
the new waypoint image

Definition at line 840 of file MapPanel.java.

Color org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.getColor ( MapWaypoint  waypoint)
private
Parameters
waypointthe waypoint for which to get the color selected
Returns
the color that this waypoint should be rendered

Definition at line 800 of file MapPanel.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals().

void org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.paintWaypoint ( Graphics2D  g,
JXMapViewer  map,
MapWaypoint  waypoint 
)

Member Data Documentation

final Map<Color, BufferedImage> org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.dotImageCache = new HashMap<>()
private

Definition at line 790 of file MapPanel.java.

final Map<Color, BufferedImage> org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.verySmallDotImageCache = new HashMap<>()
private

Definition at line 791 of file MapPanel.java.

final Map<Color, BufferedImage> org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.waypointImageCache = new HashMap<>()
private

Definition at line 792 of file MapPanel.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Oct 4 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.