public class LightSensor extends Eye
Modifier and Type | Class and Description |
---|---|
class |
LightSensor.LigthSensorJPanel |
Eye.EyeJPanel
Constructor and Description |
---|
LightSensor() |
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
createInspectorPanel()
Creates the panel associated to the device.
|
float |
getAverageLuminance()
Returns the measured luminance.
|
copyVisionImage, copyVisionImage, createCompatibleImage, createCompatibleSensorMatrix, getImageHeight, getImageWidth
getName, getUpdatePerSecond, setUpdateOnEachFrame, setUpdatePerSecond
attach, detach, getCanBeTraversed, getRotationTransform, getTranslationTransform, rotateY, setCanBeTraversed, setColor, translateTo
public javax.swing.JPanel createInspectorPanel()
Device
createInspectorPanel
in class Eye
public float getAverageLuminance()