kaos.robots.util
Class DetectedObject
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetectedObject
public DetectedObject(java.lang.String name,
java.util.Vector points)
DetectedObject
public DetectedObject(java.lang.String name)
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