Class VisualObject

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--VisualObject
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class VisualObject
extends java.util.Vector

This class stores all visually perceived objects for further treatments.

Author:
Patrick Ficher
See Also:
Serialized Form

Field Summary
private  double angle
          The relative angle to the player who perceived it.
private  double bodyFaceDir
          ...
private  double dirChange
          ...
private  double distance
          The relative distance to the player who perceived it.
private  double distChange
          ...
private  boolean goalie
          The boolean goalie is true if the player is a goalie.
private  double headFaceDir
          ...
private  java.lang.String objectName
          Name of the perceived Object.
private  java.lang.String teamName
          The teamName the perceived Player belongs to.
private  int timecyclus
          Timecyclusthe object was perceived in.
private  int uniformNr
          The uniformNr the perceived Player has.
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
VisualObject(int timecyclus, java.lang.String objectName, java.lang.String teamName, int uniformNr, boolean goalie, double angle, double distance, double distChange, double dirChange, double headFaceDir, double bodyFaceDir)
           
 
Method Summary
 double angle()
           
 double bodyFaceDir()
           
 double dirChange()
           
 double distance()
           
 double distChange()
           
 boolean goalie()
           
 double headFaceDir()
           
 java.lang.String objectName()
           
 java.lang.String teamName()
           
 int timecyclus()
          Those public methods only return the value of above's attributes.
 int uniformNr()
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

timecyclus

private int timecyclus
Timecyclusthe object was perceived in.

objectName

private java.lang.String objectName
Name of the perceived Object.

teamName

private java.lang.String teamName
The teamName the perceived Player belongs to.

uniformNr

private int uniformNr
The uniformNr the perceived Player has.

goalie

private boolean goalie
The boolean goalie is true if the player is a goalie.

angle

private double angle
The relative angle to the player who perceived it.

distance

private double distance
The relative distance to the player who perceived it.

distChange

private double distChange
...

dirChange

private double dirChange
...

headFaceDir

private double headFaceDir
...

bodyFaceDir

private double bodyFaceDir
...
Constructor Detail

VisualObject

public VisualObject(int timecyclus,
                    java.lang.String objectName,
                    java.lang.String teamName,
                    int uniformNr,
                    boolean goalie,
                    double angle,
                    double distance,
                    double distChange,
                    double dirChange,
                    double headFaceDir,
                    double bodyFaceDir)
Method Detail

timecyclus

public int timecyclus()
Those public methods only return the value of above's attributes.

objectName

public java.lang.String objectName()

teamName

public java.lang.String teamName()

uniformNr

public int uniformNr()

goalie

public boolean goalie()

angle

public double angle()

distance

public double distance()

distChange

public double distChange()

dirChange

public double dirChange()

headFaceDir

public double headFaceDir()

bodyFaceDir

public double bodyFaceDir()