jAER project on SourceForge

org.ine.telluride.jaer.cuda
Class CUDAEvent

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 org.ine.telluride.jaer.cuda.CUDAEvent
All Implemented Interfaces:
EventInterface<BasicEvent>

public class CUDAEvent
extends PolarityEvent

Synthetic events returned from jaer CUDA processing.

Author:
tobi

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jaer.event.PolarityEvent
PolarityEvent.Polarity
 
Field Summary
 
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
CUDAEvent()
           
 
Method Summary
 int getNumCellTypes()
          Returns the number of types this type of event has, e.g.
 int getType()
          Overrides PolarityEvent's type to return underlying byte value instead of binary polarity
 
Methods inherited from class net.sf.jaer.event.PolarityEvent
copyFrom, 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
 

Constructor Detail

CUDAEvent

public CUDAEvent()
Method Detail

getType

public int getType()
Overrides PolarityEvent's type to return underlying byte value instead of binary polarity

Specified by:
getType in interface EventInterface<BasicEvent>
Overrides:
getType in class PolarityEvent
Returns:
cell type

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 PolarityEvent
Returns:
number of types

jAER project on SourceForge