118 return _converter.toTemperature(
getValue(index));
123 return _converter.toTemperature(
getValue(x, y));
128 return _converter.getPrecision();
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 a class representing a data frame received from a device.
Contains a class that converts between temperatures in the internal SDK format and in °C.
OTC_SDK_API unsigned short getValue(int index) const noexcept(false)
Returns the frame data value at the given index.
OTC_SDK_API Frame() noexcept
Constructor.
Converts temperatures in °C to and from their internal SDK representation.
Definition TemperatureConverter.h:23
OTC_SDK_API void setData(const unsigned short *source, TemperaturePrecision precision)
Sets the thermal frame data values.
ThermalFrame clone() const noexcept
Returns a complete copy of this frame.
Definition ThermalFrame.h:136
OTC_SDK_API ThermalFrame & operator=(const ThermalFrame &)=default
Copy assignment.
float getTemperature(int index) const
Returns the temperature in in °C at the given index.
Definition ThermalFrame.h:116
TemperaturePrecision getTemperaturePrecision() const noexcept
Returns the precision of the temperatures stored in the frame.
Definition ThermalFrame.h:126
OTC_SDK_API ThermalFrame(const ThermalFrame &)=default
Copy constructor.
OTC_SDK_API ThermalFrame(ThermalFrame &&)=default
Move constructor.
OTC_SDK_API ~ThermalFrame() override=default
Destructor.
OTC_SDK_API ThermalFrame & operator=(ThermalFrame &&)=default
Move assignment.
TemperatureConverter getConverter() const noexcept
Returns the temperature converter.
Definition ThermalFrame.h:131
OTC_SDK_API void setFromRawData(const void *source, TemperaturePrecision precision)
Sets the thermal frame values from raw data.
OTC_SDK_API ThermalFrame()=default
Constructor.
Main SDK namespace.
Definition DeviceInfo.h:23
TemperaturePrecision
Represents the available temperature precisions.
Definition TemperaturePrecision.h:29