Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
OperationMode.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 <memory>
15#include <string>
16
17
18namespace optris
19{
20
34{
35public:
37 using ConstShared = std::shared_ptr<const OperationMode>;
38
39
41 OperationMode() = default;
42
44 OperationMode(const OperationMode&) = delete;
47
52
54 virtual ~OperationMode() = default;
55
56
57 // General
67 virtual int getIndex() const noexcept = 0;
68
69
70 // Optics
76 virtual int getFieldOfView() const noexcept = 0;
77
83 virtual std::string getOpticsText() const noexcept = 0;
84
90 virtual int getOpticsSerialNumber() const noexcept = 0;
91
92
93 // Temperature range
103 virtual float getTemperatureLowerLimit() const noexcept = 0;
104
114 virtual float getTemperatureUpperLimit() const noexcept = 0;
115
121 virtual float getTemperatureNormalLowerLimit() const noexcept = 0;
122
128 virtual float getTemperatureNormalUpperLimit() const noexcept = 0;
129
137 virtual float getTemperatureExtendedLowerLimit() const noexcept = 0;
138
146 virtual float getTemperatureExtendedUpperLimit() const noexcept = 0;
147
159 virtual bool isTemperatureRangeExtended() const noexcept = 0;
160
168 virtual bool isTemperatureRangeExtendable() const noexcept = 0;
169
182 virtual bool isTemperatureHighPrecision() const noexcept = 0;
183
192 virtual bool isTemperatureHighPrecisionAvailable() const noexcept = 0;
193
194
195 // Video format
201 virtual int getFrameWidth() const noexcept = 0;
202
208 virtual int getFrameHeight() const noexcept = 0;
209
215 virtual int getFramerate() const noexcept = 0;
216
217
223 virtual std::string toString() const noexcept = 0;
224};
225
226} // namespace optris
virtual bool isTemperatureRangeExtended() const noexcept=0
Returns whether the temperature range is currently extended.
virtual bool isTemperatureHighPrecisionAvailable() const noexcept=0
Returns whether measurements with high precision are available for the temperature range.
virtual ~OperationMode()=default
Destructor.
OperationMode()=default
Constructor.
OperationMode(const OperationMode &)=delete
No copy constructor.
virtual int getFrameWidth() const noexcept=0
Returns the width of the frame in pixels.
virtual int getFieldOfView() const noexcept=0
Returns the field of view in degrees of the optics.
OperationMode & operator=(OperationMode &&)=delete
No move assignment.
virtual float getTemperatureLowerLimit() const noexcept=0
Returns the lower limit temperature in °C.
virtual std::string toString() const noexcept=0
Returns a string representation of the operation mode.
virtual float getTemperatureExtendedLowerLimit() const noexcept=0
Returns the lower extended limit temperature in °C.
virtual int getFramerate() const noexcept=0
Returns the framerate in Hz (not sub-sampled).
virtual int getFrameHeight() const noexcept=0
Returns the height of the frame in pixels.
virtual float getTemperatureExtendedUpperLimit() const noexcept=0
Returns the upper extended limit temperature in °C.
virtual std::string getOpticsText() const noexcept=0
Returns an optional string that further specifies the optics.
virtual bool isTemperatureRangeExtendable() const noexcept=0
Returns whether the temperature range can be extended.
virtual int getIndex() const noexcept=0
Returns the index of the mode.
OperationMode & operator=(const OperationMode &)=delete
No copy assignment.
virtual float getTemperatureNormalUpperLimit() const noexcept=0
Returns the upper non-extended limit temperature in °C.
virtual bool isTemperatureHighPrecision() const noexcept=0
Returns whether the temperatures were measured with high precision.
std::shared_ptr< const OperationMode > ConstShared
Shared pointer type for operation modes.
Definition OperationMode.h:37
virtual float getTemperatureUpperLimit() const noexcept=0
Returns the upper limit temperature in °C.
OperationMode(OperationMode &&)=delete
No move constructor.
virtual float getTemperatureNormalLowerLimit() const noexcept=0
Returns the lower non-extended limit temperature in °C.
virtual int getOpticsSerialNumber() const noexcept=0
Returns the serial number of the optics.
Main SDK namespace.
Definition AlarmChannel.h:21