|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
net.sf.jaer.chip.Chip
net.sf.jaer.chip.Chip2D
public class Chip2D
A Chip with a 2D (or 1D) array of pixels.
Field Summary | |
---|---|
protected ChipCanvas |
canvas
|
protected FilterFrame |
filterFrame
the filter frame holding filters that can be applied to the events |
protected int |
numCellTypes
|
protected int |
sizeX
|
protected int |
sizeY
|
Fields inherited from class net.sf.jaer.chip.Chip |
---|
biasgen, hardwareInterface, log, name |
Constructor Summary | |
---|---|
Chip2D()
Creates a new instance of Chip2D |
Method Summary | |
---|---|
ChipCanvas |
getCanvas()
The ChipCanvas that renders this Chip2D's output. |
int |
getMaxSize()
|
int |
getMinSize()
|
int |
getNumCells()
Total number of cells on the chip; sizeX*sizeY*numCellTypes. |
int |
getNumPixels()
Number of pixels; sizeX*sizeY |
float |
getPixelHeightUm()
|
float |
getPixelWidthUm()
|
Chip2DRenderer |
getRenderer()
|
int |
getSizeX()
Size of chip in x (horizontal) direction. |
int |
getSizeY()
Size of chip in y (vertical) direction. |
void |
setCanvas(ChipCanvas canvas)
sets the ChipCanvas for this AEChip. |
void |
setName(java.lang.String name)
Sets the name of the chip and sets the FilterFrame (if there is one) with a new title |
void |
setPixelHeightUm(float pixelHeightUm)
|
void |
setPixelWidthUm(float pixelWidthUm)
|
void |
setRenderer(Chip2DRenderer renderer)
|
void |
setSizeX(int sizeX)
Updates the chip size and calls Observers with the string "sizeX". |
void |
setSizeY(int sizeY)
Updates the chip size and calls Observers with the string "sizeY". |
Methods inherited from class net.sf.jaer.chip.Chip |
---|
getBiasgen, getDescription, getHardwareInterface, getLastData, getName, getPreferredHardwareInterface, getPrefs, getRemoteControl, setBiasgen, setHardwareInterface, setLastData, setPreferredHardwareInterface, setPrefs, setRemoteControl |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int sizeX
protected int sizeY
protected int numCellTypes
protected ChipCanvas canvas
protected FilterFrame filterFrame
Constructor Detail |
---|
public Chip2D()
Method Detail |
---|
public int getSizeX()
public void setSizeX(int sizeX)
sizeX
- the horizontal dimensionpublic int getSizeY()
public void setSizeY(int sizeY)
sizeY
- the vertical dimensionpublic int getMaxSize()
public int getMinSize()
public int getNumCells()
getNumPixels()
public int getNumPixels()
getNumCells()
public ChipCanvas getCanvas()
public void setCanvas(ChipCanvas canvas)
public void setName(java.lang.String name)
setName
in class Chip
public float getPixelWidthUm()
public void setPixelWidthUm(float pixelWidthUm)
public float getPixelHeightUm()
public void setPixelHeightUm(float pixelHeightUm)
public Chip2DRenderer getRenderer()
public void setRenderer(Chip2DRenderer renderer)
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |