Struct SpectrumCharacteristics#

Struct Documentation#

struct SpectrumCharacteristics#

Structure used to describe the spectral characteristic of light.

Public Types

enum class InformationType#

Values that represent the “type of information given”.

Values:

enumerator SinglePeak#

An enum constant representing that a single peak is characterized.

enumerator Ranges#

An enum constant representing that a set of ranges are used to characterize the spectrum.

Public Members

InformationType type#

The type of information given.

double singlePeak#

The single peak (only valid if “type” is “InformationType::SinglePeak”).

std::vector<RangeOrSingleValue<double>> ranges#

The set of ranges (only valid if “type” is “InformationType::Ranges”).