org.placelab.demo.mapview
Class ParticleFilterOverlay
java.lang.Object
org.placelab.demo.mapview.MapViewOverlay
org.placelab.demo.mapview.ParticleFilterOverlay
- public class ParticleFilterOverlay
- extends MapViewOverlay
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pfVisualizers
protected ParticleFilterVisualizer[] pfVisualizers
tracker
protected Tracker tracker
ParticleFilterOverlay
public ParticleFilterOverlay(MapView view,
PlacelabWithProxy daemon)
ParticleFilterOverlay
public ParticleFilterOverlay(MapView view,
Tracker _tracker)
setDaemon
public void setDaemon(PlacelabWithProxy daemon)
setTracker
public void setTracker(Tracker _tracker)
mapChanged
public void mapChanged(MapBacking newMap)
- Description copied from class:
MapViewOverlay
- When the mapview has its maps switched, this callback is given to
allow the overlay to update its data for the new map.
- Specified by:
mapChanged in class MapViewOverlay
getTopGlyph
public Glyph getTopGlyph()
- Description copied from class:
MapViewOverlay
- Returns the top glyph in this overlay
- Specified by:
getTopGlyph in class MapViewOverlay
getName
public java.lang.String getName()
- Description copied from class:
MapViewOverlay
- Returns the name that is displayed in menus and so forth referring to this overlay.
In this way, applications using mapviews can build menus that allow toggling of
overlays in a generic fashion.
- Specified by:
getName in class MapViewOverlay
setVisible
public void setVisible(boolean flag)
- Description copied from class:
MapViewOverlay
- Sets whether or not the overlay ought to be shown on the mapview.
- Overrides:
setVisible in class MapViewOverlay
estimateUpdated
public void estimateUpdated(Tracker t,
Estimate e,
Measurement m)
addParticleFilterVisualizer
public void addParticleFilterVisualizer(Tracker t)
createParticleFilterVisualizers
public void createParticleFilterVisualizers()