QIRProximityReading ClassThe QIRProximityReading class holds readings from the IR proximity sensor. More... #include <QIRProximityReading> Inherits: QSensorReading. QIRProximityReading is instantiated by QML element IRProximityReading Properties
Public Functions
Additional Inherited Members
Detailed DescriptionThe QIRProximityReading class holds readings from the IR proximity sensor. The IR (infra-red) proximity sensor detects proximity by beaming out infra-red light and detecting how much of the light returns. The biggest limitation of this technology is that there is no reliable way to turn the reflectance values into distances unless both the item being detected and the ambient conditions are known. QIRProximityReading UnitsThe sensor reports reflectance as a decimal fraction in the range of 0 - 1. That is, 0 indicates nothing was detected within the range of the sensor and 1 indicates the infra-red signal returned at the full power level that it was sent at. Property Documentation
|
qreal | reflectance() const |
See also QIRProximityReading Units.
Sets the reflectance value to reflectance.
See also reflectance().