Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
TemperaturePrecision.h
Go to the documentation of this file.
1// Copyright (c) 2008-2025 Optris GmbH & Co. KG
2
11
12#pragma once
13
14#include <ostream>
15#include <string>
16
17#include "otcsdk/Api.h"
18
19
20namespace optris
21{
22
24static constexpr float INVALID_TEMPERATURE = -100.F;
25
27static constexpr unsigned short INVALID_VALUE = 0;
28
29
32{
33 Unknown = 0,
35 High = 2,
36};
37
47OTC_SDK_API std::string toString(TemperaturePrecision precision) noexcept;
48
57OTC_SDK_API std::ostream& operator<<(std::ostream& out, TemperaturePrecision precision) noexcept;
58
59} // 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
Main SDK namespace.
Definition DeviceInfo.h:24
static constexpr float INVALID_TEMPERATURE
All temperatures in °C equal or lower are invalid.
Definition TemperaturePrecision.h:24
static constexpr unsigned short INVALID_VALUE
All internal temperature values equal to this are invalid.
Definition TemperaturePrecision.h:27
TemperaturePrecision
Represents the available temperature precisions.
Definition TemperaturePrecision.h:32
@ High
High precision.
Definition TemperaturePrecision.h:35
@ Standard
Standard precision.
Definition TemperaturePrecision.h:34
OTC_SDK_API std::string toString(DeviceType deviceType) noexcept
Returns a string representation of the given device type.
OTC_SDK_API std::ostream & operator<<(std::ostream &out, DeviceType deviceType) noexcept
Output stream operator for device types.