kaos.robots.util
Class DetectedObject

java.lang.Object
  extended by kaos.robots.util.DetectedObject
All Implemented Interfaces:
java.io.Serializable, Plottable

public class DetectedObject
extends java.lang.Object
implements java.io.Serializable, Plottable

See Also:
Serialized Form

Constructor Summary
DetectedObject(java.lang.String name)
           
DetectedObject(java.lang.String name, java.util.Vector points)
           
 
Method Summary
 void addPoint(Coordinate point)
           
 void draw(java.awt.Graphics g, int Xcenter, int Ycenter, int scaleFactor)
          Must provide a draw method for plotter to render artifact
 Coordinate getCenter()
           
 double getClassificationCertainty()
           
 java.lang.String getClassificationSource()
           
 java.lang.String getClassificatoinMethod()
           
 long getClassificatoinTime()
           
 java.lang.String getID()
           
 int getLevel()
           
 Coordinate getLR()
           
 java.lang.String getName()
           
 java.util.Vector getPoints()
           
 java.lang.String getType()
           
 Coordinate getUL()
           
 void setClassificationCertainty(double cert)
           
 void setClassificationMethod(java.lang.String method)
           
 void setClassificationSource(java.lang.String source)
           
 void setClassificationTime(long time)
           
 void setError(double error)
           
 void setID(java.lang.String id)
           
 void setLevel(int level)
           
 void setName(java.lang.String name)
           
 void setPoints(java.util.Vector points)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetectedObject

public DetectedObject(java.lang.String name,
                      java.util.Vector points)

DetectedObject

public DetectedObject(java.lang.String name)
Method Detail

setName

public void setName(java.lang.String name)

setID

public void setID(java.lang.String id)

setType

public void setType(java.lang.String type)

setClassificationSource

public void setClassificationSource(java.lang.String source)

setClassificationMethod

public void setClassificationMethod(java.lang.String method)

setClassificationTime

public void setClassificationTime(long time)

setError

public void setError(double error)

setPoints

public void setPoints(java.util.Vector points)

getPoints

public java.util.Vector getPoints()

addPoint

public void addPoint(Coordinate point)

getName

public java.lang.String getName()

getID

public java.lang.String getID()
Specified by:
getID in interface Plottable

getType

public java.lang.String getType()
Specified by:
getType in interface Plottable

getClassificationSource

public java.lang.String getClassificationSource()

getClassificatoinMethod

public java.lang.String getClassificatoinMethod()

getClassificatoinTime

public long getClassificatoinTime()

getUL

public Coordinate getUL()

getLR

public Coordinate getLR()

getCenter

public Coordinate getCenter()

getClassificationCertainty

public double getClassificationCertainty()

setClassificationCertainty

public void setClassificationCertainty(double cert)

getLevel

public int getLevel()
Specified by:
getLevel in interface Plottable

setLevel

public void setLevel(int level)

draw

public void draw(java.awt.Graphics g,
                 int Xcenter,
                 int Ycenter,
                 int scaleFactor)
Must provide a draw method for plotter to render artifact

Specified by:
draw in interface Plottable