Public Member Functions | Public Attributes

FCam::Lens::Tags Struct Reference

A lens adds the following tags to a frame: "lens.focus", "lens.focusSpeed", "lens.initialFocus", "lens.finalFocus", "lens.zoom", "lens.zoomSpeed", "lens.initialZoom", "lens.finalZoom", "lens.aperture", "lens.apertureSpeed", "lens.initialAperture", "lens.finalAperture". More...

#include <Lens.h>

List of all members.

Public Member Functions

 Tags (Frame)
 Construct a lens tags object from a frame.

Public Attributes

float focus
 The average focus setting of the lens over the course of this frame.
float focusSpeed
 The average speed at which the focus was changing over the course of this frame.
float initialFocus
 The focus setting at the start of the frame.
float finalFocus
 The focus setting at the end of the frame.
float zoom
 The average zoom setting of the lens over the course of this frame.
float zoomSpeed
 The average speed at which the zoom was changing over the course of this frame.
float initialZoom
 The zoom setting at the start of the frame.
float finalZoom
 The zoom setting at the end of the frame.
float aperture
 The average aperture setting of the lens over the course of this frame.
float apertureSpeed
 The average speed at which the aperture was changing over the course of this frame.
float initialAperture
 The aperture setting at the start of the frame.
float finalAperture
 The aperture setting at the end of the frame.

Detailed Description

A lens adds the following tags to a frame: "lens.focus", "lens.focusSpeed", "lens.initialFocus", "lens.finalFocus", "lens.zoom", "lens.zoomSpeed", "lens.initialZoom", "lens.finalZoom", "lens.aperture", "lens.apertureSpeed", "lens.initialAperture", "lens.finalAperture".

They can be retrieved by name from the frame, or you can construct a Lens::Tags object to grab them.

A lens also adds several tags concerning its static capabilities to each frame, not included in the Lens::Tags object: "lens.minZoom", "lens.maxZoom", "lens.wideApertureMin", and "lens.wideApertureMax". These tags exist in order to place the correct lens metadata in saved image files. minZoom and maxZoom refer to the zoom range of the lens, and wideApertureMin and wideApertureMax give the widest aperture settings at min and max zoom respectively.

Definition at line 258 of file Lens.h.


Constructor & Destructor Documentation

FCam::Lens::Tags::Tags ( Frame  f  ) 

Construct a lens tags object from a frame.

Tags can also be retrieved from a frame by name.

Definition at line 86 of file Lens.cpp.


Member Data Documentation

The average focus setting of the lens over the course of this frame.

Definition at line 263 of file Lens.h.

The average speed at which the focus was changing over the course of this frame.

Definition at line 264 of file Lens.h.

The focus setting at the start of the frame.

Definition at line 265 of file Lens.h.

The focus setting at the end of the frame.

Definition at line 266 of file Lens.h.

The average zoom setting of the lens over the course of this frame.

Definition at line 268 of file Lens.h.

The average speed at which the zoom was changing over the course of this frame.

Definition at line 269 of file Lens.h.

The zoom setting at the start of the frame.

Definition at line 270 of file Lens.h.

The zoom setting at the end of the frame.

Definition at line 271 of file Lens.h.

The average aperture setting of the lens over the course of this frame.

Definition at line 273 of file Lens.h.

The average speed at which the aperture was changing over the course of this frame.

Definition at line 274 of file Lens.h.

The aperture setting at the start of the frame.

Definition at line 275 of file Lens.h.

The aperture setting at the end of the frame.

Definition at line 276 of file Lens.h.


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