jAER project on SourceForge

no.uio.ifi.jaer.chip.foveated
Class UioFoveatedImagerDisplayMethod

java.lang.Object
  extended by net.sf.jaer.graphics.DisplayMethod
      extended by no.uio.ifi.jaer.chip.foveated.UioFoveatedImagerDisplayMethod
All Implemented Interfaces:
DisplayMethod2D

public class UioFoveatedImagerDisplayMethod
extends DisplayMethod
implements DisplayMethod2D

This DisplayMethod draws a foveated image with higher density of pixels in the center than in the periphery. Periphery pixels are 'adaptive' (i.e. motion-sensitive. The DisplayMethod is particular to the UioFoveatedImager and it contains some globals so it needs rewriting to be used by other foveated cameras. Future plans (TODO's): Optimize the main for-loops so no isInFovea() test is done.

Author:
hansbe@ifi.uio.no

Field Summary
 
Fields inherited from class net.sf.jaer.graphics.DisplayMethod
chip, chipCanvas, glu, glut, log, zoom
 
Constructor Summary
UioFoveatedImagerDisplayMethod(ChipCanvas chipCanvas)
          Creates a new instance of UioFoveatedImagerDisplayMethod
 
Method Summary
 void display(javax.media.opengl.GLAutoDrawable drawable)
          subclasses implmeent this display method to actually render.
 
Methods inherited from class net.sf.jaer.graphics.DisplayMethod
addAnnotator, getAnnotators, getDescription, getMenuItem, getRenderer, removeAllAnnotators, removeAnnotator, setAnnotators, setMenuItem, setRenderer, setupGL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UioFoveatedImagerDisplayMethod

public UioFoveatedImagerDisplayMethod(ChipCanvas chipCanvas)
Creates a new instance of UioFoveatedImagerDisplayMethod

Method Detail

display

public void display(javax.media.opengl.GLAutoDrawable drawable)
Description copied from class: DisplayMethod
subclasses implmeent this display method to actually render. Typically they also call GL gl=setupGL(drawable) right after entry.

Specified by:
display in class DisplayMethod
Parameters:
drawable - the GL context

jAER project on SourceForge