Public Member Functions | Public Attributes

FCam::HistogramConfig Class Reference

The configuration of the histogram generator. More...

#include <Histogram.h>

Collaboration diagram for FCam::HistogramConfig:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HistogramConfig ()
 The default constructor disables the histogram generator.
bool operator== (const HistogramConfig &other) const
 Compare two requested configurations to see if they would return the same data.
bool operator!= (const HistogramConfig &other) const
 Compare two requested configurations to see if they would return the same data.

Public Attributes

Rect region
 Rectangle specifying the region over which a histogram is computed.
unsigned buckets
 The requested number of buckets in the histogram.
bool enabled
 Whether or not a histogram should be generated at all.

Detailed Description

The configuration of the histogram generator.

Definition at line 12 of file Histogram.h.


Constructor & Destructor Documentation

FCam::HistogramConfig::HistogramConfig (  )  [inline]

The default constructor disables the histogram generator.

Definition at line 16 of file Histogram.h.


Member Function Documentation

bool FCam::HistogramConfig::operator== ( const HistogramConfig other  )  const [inline]

Compare two requested configurations to see if they would return the same data.

Definition at line 32 of file Histogram.h.

bool FCam::HistogramConfig::operator!= ( const HistogramConfig other  )  const [inline]

Compare two requested configurations to see if they would return the same data.

Definition at line 41 of file Histogram.h.


Member Data Documentation

Rectangle specifying the region over which a histogram is computed.

Definition at line 20 of file Histogram.h.

The requested number of buckets in the histogram.

The N900 implementation ignores this request and gives you a 64-bucket histogram.

Definition at line 25 of file Histogram.h.


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