|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodeanticode.progpuklt.FeatureTrack
public class FeatureTrack
This class encapsulates a feature track, i.e., all the (x, y) positions that the feature point has adopted during its existence up to the current frame.
Field Summary | |
---|---|
int |
length
|
static int |
MAX_TRACK_LENGTH
|
boolean |
restarted
|
float[] |
x
|
float[] |
y
|
Constructor Summary | |
---|---|
FeatureTrack()
Default constructor |
Method Summary | |
---|---|
void |
add(float x,
float y)
Adds a new position to the track. |
void |
clear()
Sets track length to zero. |
void |
restart()
Sets restarted field to true. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int length
public boolean restarted
public float[] x
public float[] y
public static int MAX_TRACK_LENGTH
Constructor Detail |
---|
public FeatureTrack()
Method Detail |
---|
public void clear()
public void restart()
public void add(float x, float y)
x
- floaty
- float
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |