#include <Flash.h>


Public Member Functions | |
| Flash (int phidgetOutputIndex=0) | |
| The Flash constructor initializes a PhidgetDevice on behalf of the Flash and registers the Phidget interface kit output that must be set true to fire the flash. | |
| int | minDuration () |
| Minimum flash duration in microseconds. | |
| int | maxDuration () |
| Maximum flash duration in microseconds. | |
| float | minBrightness () |
| The minimum brightness setting of the flash. | |
| float | maxBrightness () |
| The maximum brightness setting the flash. | |
| void | fire (float brightness, int duration) |
| Without reverse engineering flash communication protocols, the best we can do is to simply trigger the flash at maximum brightness and unknown duration. | |
| int | fireLatency () |
| The flash does not actually fire until 127ms after the call to fire(). | |
| void | startStrobe () |
| For flashes that feature strobe modes, this method begins a strobing sequence. | |
| void | stopStrobe () |
| For flashes that feature strobe modes, this method ends a strobing sequence. | |
| float | getBrightness (Time) |
| How much light (in lumens) was the flash adding to the scene at some time in the recent past. | |
| float | getBrightness (Time, Time) |
| How much photometric energy (in lumen-seconds, or Talbots), did the flash add to the scene between the two given times. | |
| void | tagFrame (FCam::Frame *f) |
| Add tags to a frame describing if the flash fired during that frame, and how much photometric energy it added if it did. | |
Classes | |
| class | StrobeStartAction |
| This action marks the beginning of a strobing sequence on a strobe enabled flash unit. More... | |
| class | StrobeStopAction |
| This action marks the end of a strobing sequence on a strobe enabled flash unit. More... | |
Definition at line 16 of file Flash.h.
| float FCam::F2::Flash::minBrightness | ( | ) | [inline, virtual] |
The minimum brightness setting of the flash.
The units are platform specific.
Implements FCam::Flash.
| float FCam::F2::Flash::maxBrightness | ( | ) | [inline, virtual] |
| void FCam::F2::Flash::fire | ( | float | brightness, | |
| int | duration | |||
| ) | [virtual] |
Without reverse engineering flash communication protocols, the best we can do is to simply trigger the flash at maximum brightness and unknown duration.
For now, the arguments to this method are ignored.
Implements FCam::Flash.
| float FCam::F2::Flash::getBrightness | ( | Time | t | ) | [inline, virtual] |
How much light (in lumens) was the flash adding to the scene at some time in the recent past.
Implements FCam::Flash.
How much photometric energy (in lumen-seconds, or Talbots), did the flash add to the scene between the two given times.
Implements FCam::Flash.
| void FCam::F2::Flash::tagFrame | ( | FCam::Frame * | ) | [inline, virtual] |
Add tags to a frame describing if the flash fired during that frame, and how much photometric energy it added if it did.
Implements FCam::Flash.
1.5.6