jAER project on SourceForge

net.sf.jaer.event
Class BinocularDisparityEvent

java.lang.Object
  extended by net.sf.jaer.event.BasicEvent
      extended by net.sf.jaer.event.TypedEvent
          extended by net.sf.jaer.event.PolarityEvent
              extended by net.sf.jaer.event.BinocularEvent
                  extended by net.sf.jaer.event.BinocularOrientationEvent
                      extended by net.sf.jaer.event.BinocularDisparityEvent
All Implemented Interfaces:
EventInterface<BasicEvent>

public class BinocularDisparityEvent
extends BinocularOrientationEvent

Author:
Wyvern

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jaer.event.BinocularEvent
BinocularEvent.Eye
 
Nested classes/interfaces inherited from class net.sf.jaer.event.PolarityEvent
PolarityEvent.Polarity
 
Field Summary
 byte disparity
           
 
Fields inherited from class net.sf.jaer.event.BinocularOrientationEvent
orientation
 
Fields inherited from class net.sf.jaer.event.BinocularEvent
eye
 
Fields inherited from class net.sf.jaer.event.PolarityEvent
polarity
 
Fields inherited from class net.sf.jaer.event.TypedEvent
type
 
Fields inherited from class net.sf.jaer.event.BasicEvent
timestamp, x, y
 
Constructor Summary
BinocularDisparityEvent()
          Creates a new instance of BinocularDisparityEvent
 
Method Summary
 void copyFrom(BasicEvent src)
          copies fields from source event src to this event
 int getNumCellTypes()
          Returns the number of types this type of event has, e.g.
 int getType()
          Overridden so that LEFT=0, RIGHT=1
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jaer.event.BasicEvent
getTimestamp, getX, getY, setTimestamp, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

disparity

public byte disparity
Constructor Detail

BinocularDisparityEvent

public BinocularDisparityEvent()
Creates a new instance of BinocularDisparityEvent

Method Detail

getType

public int getType()
Description copied from class: BinocularEvent
Overridden so that LEFT=0, RIGHT=1

Specified by:
getType in interface EventInterface<BasicEvent>
Overrides:
getType in class BinocularOrientationEvent
Returns:
type value from eye

toString

public java.lang.String toString()
Overrides:
toString in class BinocularOrientationEvent

getNumCellTypes

public int getNumCellTypes()
Description copied from interface: EventInterface
Returns the number of types this type of event has, e.g. 2 for a PolarityEvent or 4 for an OrientationEvent

Specified by:
getNumCellTypes in interface EventInterface<BasicEvent>
Overrides:
getNumCellTypes in class BinocularOrientationEvent
Returns:
number of types

copyFrom

public void copyFrom(BasicEvent src)
copies fields from source event src to this event

Specified by:
copyFrom in interface EventInterface<BasicEvent>
Overrides:
copyFrom in class BinocularOrientationEvent
Parameters:
src - the event to copy from

jAER project on SourceForge