Autopsy  4.19.0
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 786 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 817 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 838 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 798 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 788 of file MapPanel.java.

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

Definition at line 789 of file MapPanel.java.

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

Definition at line 790 of file MapPanel.java.


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

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