jAER project on SourceForge

net.sf.jaer.graphics
Class Histogram3dDisplayMethod

java.lang.Object
  extended by net.sf.jaer.graphics.DisplayMethod
      extended by net.sf.jaer.graphics.Histogram3dDisplayMethod
All Implemented Interfaces:
DisplayMethod3D

public class Histogram3dDisplayMethod
extends DisplayMethod
implements DisplayMethod3D

Displays histogrammed AEs from ChipRenderer as 3-d histogram that can be rotated and moved about.

Author:
tobi

Field Summary
 
Fields inherited from class net.sf.jaer.graphics.DisplayMethod
chip, chipCanvas, glu, glut, log, zoom
 
Constructor Summary
Histogram3dDisplayMethod(ChipCanvas c)
          Creates a new instance of Histogram3dDisplayMethod
 
Method Summary
 void display(javax.media.opengl.GLAutoDrawable drawable)
          the 3-d histogram display.
 
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

Histogram3dDisplayMethod

public Histogram3dDisplayMethod(ChipCanvas c)
Creates a new instance of Histogram3dDisplayMethod

Method Detail

display

public void display(javax.media.opengl.GLAutoDrawable drawable)
the 3-d histogram display. Draws a 3-d histogram, where each bin corresponds to one element of collected rendered frame data from ChipRenderer. This data is float[][][] array. First dimension is y, 2nd is x, 3rd is RGB 3 vector. Each element is rendered as a box of height corresponding to element value.

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

jAER project on SourceForge