net.sf.jaer.graphics
Class RenderingFrame
java.lang.Object
net.sf.jaer.graphics.RenderingFrame
public final class RenderingFrame
- extends java.lang.Object
Encapsulates the rendered retina image - used to store and retrieve rendered RGB pixel values and to efficiently iterate over them for clipping or normalization.
Access to the pixels will likely be sparse but rendering requires accessing all pixels.
- Author:
- tobi
Constructor Summary |
RenderingFrame(int sizex,
int sizey)
Creates a new instance of RenderingFrame |
Method Summary |
float |
getBlue(int x,
int y)
|
float |
getGreen(int x,
int y)
|
float |
getRed(int x,
int y)
|
void |
setBlue(int x,
int y,
float v)
|
void |
setGreen(int x,
int y,
float v)
|
void |
setRed(int x,
int y,
float v)
|
void |
setRGB(int x,
int y,
float[] v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderingFrame
public RenderingFrame(int sizex,
int sizey)
- Creates a new instance of RenderingFrame
setRed
public final void setRed(int x,
int y,
float v)
setGreen
public final void setGreen(int x,
int y,
float v)
setBlue
public final void setBlue(int x,
int y,
float v)
getRed
public final float getRed(int x,
int y)
getGreen
public final float getGreen(int x,
int y)
getBlue
public final float getBlue(int x,
int y)
setRGB
public final void setRGB(int x,
int y,
float[] v)