com.metsci.glimpse.painter.geo
Class LatLonTrackPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.base.GlimpseDataPainter2D
com.metsci.glimpse.painter.track.TrackPainter
com.metsci.glimpse.painter.geo.LatLonTrackPainter
- All Implemented Interfaces:
- GlimpsePainter
public class LatLonTrackPainter
- extends TrackPainter
A facade over TrackPainter which allows the specification of new track
points in lat/lon and automatically uses the provided
GeoProjection
to convert to
plot coordinates.
- Author:
- ulman
Method Summary |
void |
addPointGeo(int trackId,
int pointId,
double lat,
double lon,
long time)
|
void |
addPointGeo(int trackId,
int pointId,
LatLonGeo latLon,
long time)
|
java.util.Collection<Point> |
getGeoRange(LatLonGeo minLatLon,
LatLonGeo maxLatLon)
|
java.util.Collection<Point> |
getTimeGeoRange(LatLonGeo minLatLon,
LatLonGeo maxLatLon)
|
java.util.Collection<Point> |
getTimeGeoRange(long minTime,
long maxTime,
LatLonGeo minLatLon,
LatLonGeo maxLatLon)
|
Methods inherited from class com.metsci.glimpse.painter.track.TrackPainter |
addPoint, addPoints, addSpatialSelectionListener, addTemporalSelectionListener, clearTrack, deleteAll, deleteTrack, displayTimeRange, displayTimeRange, displayTimeRange, displayTimeRange, dispose, gcDataBuffer, getGeoRange, getTimeGeoRange, getTimeGeoRange, getTimeGeoRange, getTrackHead, getTrackHeads, paintTo, removeTemporalSelectionListener, setDotted, setDotted, setHeadPointColor, setHeadPointColor, setHeadPointSize, setLabel, setLabelColor, setLabelColor, setLabelLineColor, setLabelLineColor, setLineColor, setLineColor, setLineWidth, setPointColor, setPointColor, setPointSize, setShowHeadPoint, setShowLabel, setShowLabelLine, setShowLines, setShowPoints |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LatLonTrackPainter
public LatLonTrackPainter(GeoProjection geoProjection)
LatLonTrackPainter
public LatLonTrackPainter(GeoProjection geoProjection,
boolean enableSpatialIndex)
addPointGeo
public void addPointGeo(int trackId,
int pointId,
double lat,
double lon,
long time)
addPointGeo
public void addPointGeo(int trackId,
int pointId,
LatLonGeo latLon,
long time)
getGeoRange
public java.util.Collection<Point> getGeoRange(LatLonGeo minLatLon,
LatLonGeo maxLatLon)
getTimeGeoRange
public java.util.Collection<Point> getTimeGeoRange(LatLonGeo minLatLon,
LatLonGeo maxLatLon)
getTimeGeoRange
public java.util.Collection<Point> getTimeGeoRange(long minTime,
long maxTime,
LatLonGeo minLatLon,
LatLonGeo maxLatLon)
Copyright © 2012 Metron, Inc.. All Rights Reserved.