public class Eye extends SensorDevice
Modifier and Type | Class and Description |
---|---|
class |
Eye.EyeJPanel |
Modifier and Type | Method and Description |
---|---|
void |
copyVisionImage(java.awt.image.BufferedImage bim)
Request to fill a bufferedImage with last capture.
|
void |
copyVisionImage(SensorMatrix matrix)
Request to fill a SensorMatrix with last capture.
|
java.awt.image.BufferedImage |
createCompatibleImage() |
SensorMatrix |
createCompatibleSensorMatrix() |
javax.swing.JPanel |
createInspectorPanel()
Creates the panel associated to the device.
|
int |
getImageHeight()
Returns the height of captured image.
|
int |
getImageWidth()
Returns the width of captured image.
|
getName, getUpdatePerSecond, setUpdateOnEachFrame, setUpdatePerSecond
attach, detach, getCanBeTraversed, getRotationTransform, getTranslationTransform, rotateY, setCanBeTraversed, setColor, translateTo
public final void copyVisionImage(java.awt.image.BufferedImage bim)
bim
- - buffered image to be filled.public final void copyVisionImage(SensorMatrix matrix)
matrix
- - to be filledpublic final java.awt.image.BufferedImage createCompatibleImage()
public final SensorMatrix createCompatibleSensorMatrix()
public javax.swing.JPanel createInspectorPanel()
Device
createInspectorPanel
in class Device
public int getImageHeight()
public int getImageWidth()