|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.graphics.DisplayMethod
ch.unizh.ini.jaer.chip.cochlea.CochleaGramDisplayMethod
public class CochleaGramDisplayMethod
Shows events from stereo cochlea as a rastergram. Time increases to the right and covers one time slice of events as passed to the rendering. Channel increases upwards.
Field Summary |
---|
Fields inherited from class net.sf.jaer.graphics.DisplayMethod |
---|
chip, chipCanvas, glu, glut, log, zoom |
Constructor Summary | |
---|---|
CochleaGramDisplayMethod(ChipCanvas c)
Creates a new instance of CochleaGramDisplayMethod |
Method Summary | |
---|---|
void |
display(javax.media.opengl.GLAutoDrawable drawable)
displays individual events as cochleagram |
static void |
typeColor(javax.media.opengl.GL gl,
int type)
Sets the gl color depending on cochlea cell type |
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 |
---|
public CochleaGramDisplayMethod(ChipCanvas c)
c
- the canvas we are drawing onMethod Detail |
---|
public void display(javax.media.opengl.GLAutoDrawable drawable)
display
in class DisplayMethod
drawable
- the drawable passed in by OpenGLpublic static void typeColor(javax.media.opengl.GL gl, int type)
gl
- the GL contexttype
- the cell type 0-3
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |