Public Member Functions | |
VisTrack () | |
Protected Member Functions | |
void | renderSelf () |
void | transform () |
Package Functions | |
int | push () |
Item | getOld (int lookback) |
String | getDatasheet () |
Package Attributes | |
int | id |
final int | PAST_STATES = 10 |
int | index |
Item[] | past = new Item[PAST_STATES] |
Item | current |
float | variance |
long | created = System.currentTimeMillis() |
long | lastseen = created |
hols up
Definition at line 85 of file VisUeberwach.java.
org.hfbk.vis.visnode.VisUeberwach.VisTrack.VisTrack | ( | ) |
Definition at line 103 of file VisUeberwach.java.
References org.hfbk.vis.visnode.VisUeberwach.VisTrack.current, org.hfbk.vis.visnode.VisUeberwach.maxTrackId, org.hfbk.vis.visnode.VisUeberwach.VisTrack.past, and org.hfbk.vis.visnode.VisNode.radius.
int org.hfbk.vis.visnode.VisUeberwach.VisTrack.push | ( | ) | [package] |
push current item into the past buffer
Definition at line 114 of file VisUeberwach.java.
References org.hfbk.vis.visnode.VisUeberwach.VisTrack.current, org.hfbk.vis.visnode.VisUeberwach.Item.dpos, org.hfbk.vis.visnode.VisUeberwach.VisTrack.getOld(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.index, org.hfbk.vis.visnode.VisUeberwach.VisTrack.past, org.hfbk.vis.visnode.VisUeberwach.VisTrack.PAST_STATES, and org.hfbk.vis.visnode.VisUeberwach.Item.pos.
Here is the call graph for this function:
void org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf | ( | ) | [protected, virtual] |
update this Track's current Item. Position is updated and variance risen. reports if item should be considered lost.
dt | amount of time since last update |
Implements org.hfbk.vis.visnode.VisNode.
Definition at line 135 of file VisUeberwach.java.
References org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.visnode.VisUeberwach.VisTrack.current, org.hfbk.vis.visnode.VisUeberwach.Item.dpos, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisUeberwach.DVARIANCE_DT, org.hfbk.vis.visnode.VisUeberwach.EXIT_VARIANCE, org.hfbk.vis.visnode.VisUeberwach.VisTrack.getDatasheet(), org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.index, org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisUeberwach.VisTrack.past, org.hfbk.vis.visnode.VisUeberwach.Item.pos, org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.VisNode.remove(), and org.hfbk.vis.visnode.VisUeberwach.VisTrack.variance.
Here is the call graph for this function:
Item org.hfbk.vis.visnode.VisUeberwach.VisTrack.getOld | ( | int | lookback | ) | [package] |
peek an older itemstate from the past
Definition at line 167 of file VisUeberwach.java.
References org.hfbk.vis.visnode.VisUeberwach.VisTrack.index, and org.hfbk.vis.visnode.VisUeberwach.VisTrack.past.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.push().
Here is the caller graph for this function:
String org.hfbk.vis.visnode.VisUeberwach.VisTrack.getDatasheet | ( | ) | [package] |
Definition at line 174 of file VisUeberwach.java.
References org.hfbk.vis.visnode.VisUeberwach.VisTrack.created, and org.hfbk.vis.visnode.VisUeberwach.VisTrack.lastseen.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisUeberwach.VisTrack.transform | ( | ) | [protected] |
actually applies this nodes transform. should be overridden for abitrary transform changes, eg. animation, billboarding etc.
Reimplemented from org.hfbk.vis.visnode.VisNode.
Definition at line 181 of file VisUeberwach.java.
int org.hfbk.vis.visnode.VisUeberwach.VisTrack.id [package] |
Definition at line 87 of file VisUeberwach.java.
final int org.hfbk.vis.visnode.VisUeberwach.VisTrack.PAST_STATES = 10 [package] |
Definition at line 89 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.push().
int org.hfbk.vis.visnode.VisUeberwach.VisTrack.index [package] |
Definition at line 90 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.getOld(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.push(), and org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf().
Item [] org.hfbk.vis.visnode.VisUeberwach.VisTrack.past = new Item[PAST_STATES] [package] |
past item states
Definition at line 93 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.getOld(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.push(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf(), and org.hfbk.vis.visnode.VisUeberwach.VisTrack.VisTrack().
the current Item state
Definition at line 96 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisSonar.getCost(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.push(), org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf(), org.hfbk.vis.visnode.VisUeberwach.VisSonar.update(), and org.hfbk.vis.visnode.VisUeberwach.VisTrack.VisTrack().
float org.hfbk.vis.visnode.VisUeberwach.VisTrack.variance [package] |
the uncertainity of this items state. rises with time. TODO: full state variance of both position and speed in all dimensions
Definition at line 100 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.renderSelf(), and org.hfbk.vis.visnode.VisUeberwach.VisSonar.update().
long org.hfbk.vis.visnode.VisUeberwach.VisTrack.created = System.currentTimeMillis() [package] |
Definition at line 172 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.getDatasheet().
long org.hfbk.vis.visnode.VisUeberwach.VisTrack.lastseen = created [package] |
Definition at line 173 of file VisUeberwach.java.
Referenced by org.hfbk.vis.visnode.VisUeberwach.VisTrack.getDatasheet(), and org.hfbk.vis.visnode.VisUeberwach.VisSonar.update().