Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
RadiationParameters.h
Go to the documentation of this file.
1// Copyright (c) 2008-2026 Optris GmbH & Co. KG
2
11
12#pragma once
13
14#include <string>
15#include <ostream>
16
17#include "otcsdk/Api.h"
18#include "otcsdk/Exceptions.h"
20
21
22namespace optris
23{
24
31
32
35{
41 float emissivity = 1.F;
42
48 float transmissivity = 1.F;
49
58
75
76
85 OTC_SDK_API static void validate(RadiationParameters& radiation) noexcept;
86
94 OTC_SDK_API static void validate(float& parameter) noexcept;
95};
96
97
98// Utility functions
107bool operator==(const RadiationParameters& lhs, const RadiationParameters& rhs) noexcept;
108
117bool operator!=(const RadiationParameters& lhs, const RadiationParameters& rhs) noexcept;
118
128OTC_SDK_API std::string toString(RadiationParameterSource source) noexcept;
129
138OTC_SDK_API std::ostream& operator<<(std::ostream& out, const RadiationParameters& radiation) noexcept;
139
148OTC_SDK_API std::ostream& operator<<(std::ostream& out, RadiationParameterSource source) noexcept;
149
150} // namespace optris
Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Contains the exceptions raised by the SDK.
Contains an enum representing the different temperature precisions and constants denoting invalid tem...
Static class granting access to SDK wide configuration and utility functions.
Definition Sdk.h:49
Main SDK namespace.
Definition AlarmChannel.h:21
RadiationParameterSource
Represents the different sources of radiation parameters.
Definition RadiationParameters.h:27
@ Pif
The radiation parameter is set by the processing interface (PIF).
Definition RadiationParameters.h:29
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.
static constexpr float INVALID_TEMPERATURE
All temperatures in °C equal or lower are invalid.
Definition TemperaturePrecision.h:24
bool operator!=(const RadiationParameters &lhs, const RadiationParameters &rhs) noexcept
Checks if two radiation parameter sets are unequal.
bool operator==(const RadiationParameters &lhs, const RadiationParameters &rhs) noexcept
Checks if two radiation parameter sets are equal.
OTC_SDK_API std::string toString(AlarmInput alarmInput) noexcept
Returns a string representation of the given alarm input.
Holds the radiation parameters for a frame or a measurement field.
Definition RadiationParameters.h:35
float emissivity
Emissivity.
Definition RadiationParameters.h:41
float transmissivity
Transmissivity.
Definition RadiationParameters.h:48
static OTC_SDK_API void validate(float &parameter) noexcept
Validates emissivity and transmissivity parameter values.
bool estimateAmbientTemperature
Estimate the ambient temperature.
Definition RadiationParameters.h:74
float ambientTemperature
Ambient temperature in °C.
Definition RadiationParameters.h:57
static OTC_SDK_API void validate(RadiationParameters &radiation) noexcept
Validates the radiation parameters.