Public Member Functions | Static Public Member Functions

FCam::Dummy::Platform Class Reference

Static platform data about the Dummy platform and its pretend image sensor. More...

#include <Platform.h>

Inheritance diagram for FCam::Dummy::Platform:
Inheritance graph
[legend]
Collaboration diagram for FCam::Dummy::Platform:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void rawToRGBColorMatrix (int kelvin, float *matrix) const
 Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.
virtual const std::string & manufacturer () const
 The camera's manufacturer.
virtual const std::string & model () const
 The camera's model.
virtual unsigned short minRawValue () const
 The Dummy produces raw values greater than or equal to zero.
virtual unsigned short maxRawValue () const
 The Dummy produces raw values up to a maximum of 1023.
virtual BayerPattern bayerPattern () const
 The Dummy's bayer pattern (the top 2x2 block of pixels) is GRBG.
virtual void rawToRGBColorMatrix (int kelvin, float *matrix) const
 Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.
virtual const std::string & manufacturer () const
 The camera's manufacturer.
virtual const std::string & model () const
 The camera's model.
virtual unsigned short minRawValue () const
 The Dummy produces raw values greater than or equal to zero.
virtual unsigned short maxRawValue () const
 The Dummy produces raw values up to a maximum of 1023.
virtual BayerPattern bayerPattern () const
 The Dummy's bayer pattern (the top 2x2 block of pixels) is GRBG.

Static Public Member Functions

static const Platforminstance ()
 Access to the singleton instance of this class.
static const Platforminstance ()
 Access to the singleton instance of this class.

Detailed Description

Static platform data about the Dummy platform and its pretend image sensor.

Definition at line 15 of file Platform.h.


Member Function Documentation

void FCam::Dummy::Platform::rawToRGBColorMatrix ( int  kelvin,
float *  matrix 
) const [virtual]

Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.

Given in row-major order.

Implements FCam::Platform.

Definition at line 8 of file Platform.cpp.

virtual const std::string& FCam::Dummy::Platform::manufacturer (  )  const [inline, virtual]

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 18 of file Platform.h.

virtual const std::string& FCam::Dummy::Platform::model (  )  const [inline, virtual]

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 19 of file Platform.h.

const Platform & FCam::Dummy::Platform::instance (  )  [static]

Access to the singleton instance of this class.

Normally you access the platform data via Frame::platform or Sensor::platform.

Definition at line 31 of file Platform.cpp.

virtual void FCam::Dummy::Platform::rawToRGBColorMatrix ( int  kelvin,
float *  matrix 
) const [virtual]

Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.

Given in row-major order.

Implements FCam::Platform.

virtual const std::string& FCam::Dummy::Platform::manufacturer (  )  const [inline, virtual]

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 18 of file Platform.h.

virtual const std::string& FCam::Dummy::Platform::model (  )  const [inline, virtual]

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 19 of file Platform.h.

static const Platform& FCam::Dummy::Platform::instance (  )  [static]

Access to the singleton instance of this class.

Normally you access the platform data via Frame::platform or Sensor::platform.


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