Class VisualInfo

java.lang.Object
  |
  +--VisualInfo

public class VisualInfo
extends java.lang.Object

The class VisualInfo defines a new data type for saving all the needed information about a seen object.


Method Summary
 double dirChange()
          The approximate change of the direction
 double direction()
          The direction in which the object was perceived
 double distance()
          The distance in which the object was perceived
 double distChange()
          The approximate change of distance
 double getX()
          The x-coordinates of the absolute position
 double getY()
          The y-coordinates of the absolute position
 java.lang.String name()
          The name of the object
 void setName(java.lang.String name)
          sets the parameter name when the information is not actual (only used for ball)
 void setX(double x)
          sets the parameter x when calculated
 void setY(double y)
          sets the parameter y when calculated
 int time()
          The time when the object has been perceived
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

time

public int time()
The time when the object has been perceived
Returns:
time

name

public java.lang.String name()
The name of the object
Returns:
name

distance

public double distance()
The distance in which the object was perceived
Returns:
distance

direction

public double direction()
The direction in which the object was perceived
Returns:
direction

distChange

public double distChange()
The approximate change of distance
Returns:
distChange

dirChange

public double dirChange()
The approximate change of the direction
Returns:
dirChange

setName

public void setName(java.lang.String name)
sets the parameter name when the information is not actual (only used for ball)

setX

public void setX(double x)
sets the parameter x when calculated

setY

public void setY(double y)
sets the parameter y when calculated

getX

public double getX()
The x-coordinates of the absolute position
Returns:
x

getY

public double getY()
The y-coordinates of the absolute position
Returns:
y