FCam::F2::Flash Class Reference

An F2 specific Flash Device for Phidgets triggered flash units. More...

#include <Flash.h>

Inheritance diagram for FCam::F2::Flash:

Inheritance graph
[legend]
Collaboration diagram for FCam::F2::Flash:

Collaboration graph
[legend]

List of all members.

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...


Detailed Description

An F2 specific Flash Device for Phidgets triggered flash units.

Definition at line 16 of file Flash.h.


Member Function Documentation

float FCam::F2::Flash::minBrightness (  )  [inline, virtual]

The minimum brightness setting of the flash.

The units are platform specific.

Implements FCam::Flash.

Definition at line 31 of file Flash.h.

float FCam::F2::Flash::maxBrightness (  )  [inline, virtual]

The maximum brightness setting the flash.

The units are platform specific.

Implements FCam::Flash.

Definition at line 32 of file Flash.h.

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.

Definition at line 25 of file Flash.cpp.

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.

Definition at line 48 of file Flash.h.

float FCam::F2::Flash::getBrightness ( Time  t1,
Time  t2 
) [inline, virtual]

How much photometric energy (in lumen-seconds, or Talbots), did the flash add to the scene between the two given times.

Implements FCam::Flash.

Definition at line 51 of file Flash.h.

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.

Definition at line 53 of file Flash.h.


The documentation for this class was generated from the following files:

Generated on Mon Jan 18 20:48:14 2010 for FCam by  doxygen 1.5.6