jAER project on SourceForge

ch.unizh.ini.jaer.projects.pawtracker
Class PawTracker.EntryZone

java.lang.Object
  extended by ch.unizh.ini.jaer.projects.pawtracker.PawTracker.EntryZone
Enclosing class:
PawTracker

public class PawTracker.EntryZone
extends java.lang.Object

Represents a single tracked object


Field Summary
 java.awt.geom.Point2D.Float location
           
protected  int maxX
           
protected  int maxY
           
protected  int numEvents
           
protected  int timestamp
           
protected  int type
           
 boolean typeMatters
           
protected  int xa
           
protected  int xb
           
protected  int ya
           
protected  int yb
           
 
Constructor Summary
PawTracker.EntryZone()
           
PawTracker.EntryZone(int maxX, int maxY)
           
 
Method Summary
 void addEvent(TypedEvent event)
           
 int findFingers(int nbFingers, int threshold, int pixel_threshold)
           
 boolean findPellet(int pixel_threshold, int empty_threshold, int full_threshold, int success_threshold)
           
 void findWrist(TypedEvent event)
           
 void reset()
           
 void setCoordinates(int xa, int xb, int ya, int yb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public java.awt.geom.Point2D.Float location

type

protected int type

numEvents

protected int numEvents

timestamp

protected int timestamp

xa

protected int xa

xb

protected int xb

ya

protected int ya

yb

protected int yb

maxX

protected int maxX

maxY

protected int maxY

typeMatters

public boolean typeMatters
Constructor Detail

PawTracker.EntryZone

public PawTracker.EntryZone()

PawTracker.EntryZone

public PawTracker.EntryZone(int maxX,
                            int maxY)
Method Detail

reset

public void reset()

setCoordinates

public void setCoordinates(int xa,
                           int xb,
                           int ya,
                           int yb)

addEvent

public void addEvent(TypedEvent event)

findFingers

public int findFingers(int nbFingers,
                       int threshold,
                       int pixel_threshold)

findWrist

public void findWrist(TypedEvent event)

findPellet

public boolean findPellet(int pixel_threshold,
                          int empty_threshold,
                          int full_threshold,
                          int success_threshold)

jAER project on SourceForge