![]() |
Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
|
Encapsulates the metadata of frames provided by the devices. More...
#include <FrameMetadata.h>

Public Member Functions | |
| OTC_SDK_API | FrameMetadata () noexcept |
| Constructor. | |
| int | getSize () const noexcept |
| Returns the size of the raw metadata structure in bytes. | |
| void | setSize (int size) noexcept |
| Sets the size of the raw metadata structure in bytes. | |
| bool | isFrameDataReliable () const noexcept |
| Returns whether the data provided in the associated frame is reliable. | |
| unsigned int | getCounter () const noexcept |
| Returns a consecutive number for each received frame. | |
| unsigned int | getCounterHardware () const noexcept |
| Returns the frame number received from the device. | |
| void | setCounters (unsigned int counter, unsigned int counterHardware) noexcept |
| Sets the frame counters. | |
| long long | getTimestamp () const noexcept |
| Returns the frame timestamp in UNITS (10000000 units per second). | |
| long long | getTimestampMedia () const noexcept |
| Returns the media timestamp. | |
| void | setTimestamps (long long timestamp, long long timestampMedia) noexcept |
| Sets the timestamps. | |
| FlagState | getFlagState () const noexcept |
| Returns the state of the shutter flag at frame capturing time. | |
| void | setFlagState (FlagState flagState) noexcept |
| Sets the state of the shutter flag. | |
| float | getTemperatureFlag () const noexcept |
| Returns the shutter flag temperature in °C at frame capturing time. | |
| float | getTemperatureBox () const noexcept |
| Returns the housing temperature in °C at frame capturing time. | |
| float | getTemperatureChip () const noexcept |
| Returns the sensor chip temperature in °C at frame capturing time. | |
| void | setProbeTemperatures (float flag, float box, float chip) noexcept |
| Set the flag, box and chip probe temperatures in °C. | |
| RadiationParameterSource | getEmissivitySource () const noexcept |
| Returns the source of the emissivity value. | |
| RadiationParameterSource | getTransmissivitySource () const noexcept |
| Returns the source of the transmissivity value. | |
| RadiationParameterSource | getAmbientTemperatureSource () const noexcept |
| Returns the source of the ambient temperature value. | |
| RadiationParameters | getRadiationParameters () const noexcept |
| Grants read access to the radiation parameters use to process the thermal frame. | |
| void | setRadiationParameterSources (RadiationParameterSource emissivitySource, RadiationParameterSource ambientTemperatureSource) noexcept |
| Sets the radiation parameters sources. | |
| OTC_SDK_API float | getPifAiValue (int deviceIndex, int pinIndex) const |
| Returns the analog input value on the given PIF channel. | |
| OTC_SDK_API bool | getPifDiValue (int deviceIndex, int pinIndex) const |
| Returns the digital input value on the given PIF channel. | |
| int | getPifActualDeviceCount () const noexcept |
| Returns the count of actually connected PIF devices. | |
| int | getPifConfigurableDeviceCount () const noexcept |
| Returns the count of configurable PIF devices. | |
| int | getPifAiCountPerDevice () const noexcept |
| Returns the count of analog input channels per PIF device. | |
| int | getPifDiCountPerDevice () const noexcept |
| Returns the count of digital input channels per PIF device. | |
| OTC_SDK_API void | setPifCounts (int actualDeviceCount, int configurableDeviceCount, int aiCountPerDevice, int diCountPerDevice) noexcept |
| Sets the counts of the PIF devices and input channels. | |
| OTC_SDK_API void | setPifAiValue (int deviceIndex, int pinIndex, float value) |
| Sets the value of the specified PIF analog input channel. | |
| OTC_SDK_API void | setPifDiValue (int deviceIndex, int pinIndex, bool value) |
| Sets the value of the specified PIF digital input channel. | |
| OTC_SDK_API FrameMetadata | clone () const noexcept |
| Returns a complete copy of this metadata. | |
Static Public Member Functions | |
| static FrameMetadata | fromRawMetadata (FrameMetadata2 *raw, bool initializing, int pifActualDeviceCount, int pifConfigurableDeviceCount) |
| Creates a frame metadata object from raw metadata. | |
Encapsulates the metadata of frames provided by the devices.
This metadata is passed alongside the frame data from the devices via the streaming interface (e.g. USB, Ethernet).
|
inlinenoexcept |
Returns a complete copy of this metadata.
|
static |
Creates a frame metadata object from raw metadata.
| [in] | raw | metadata to convert. |
| [in] | initializing | true if the device is currently performing the startup calibrations. False otherwise. |
| [in] | pifActualDeviceCount | count of actually connected PIF devices. |
| [in] | pifConfigurableDeviceCount | count of configurable PIF devices. |
|
inlinenoexcept |
Returns the source of the ambient temperature value.
|
inlinenoexcept |
Returns a consecutive number for each received frame.
|
inlinenoexcept |
Returns the frame number received from the device.
|
inlinenoexcept |
Returns the source of the emissivity value.
|
inlinenoexcept |
Returns the state of the shutter flag at frame capturing time.
|
inlinenoexcept |
Returns the count of actually connected PIF devices.
|
inlinenoexcept |
Returns the count of analog input channels per PIF device.
| OTC_SDK_API float optris::FrameMetadata::getPifAiValue | ( | int | deviceIndex, |
| int | pinIndex ) const |
Returns the analog input value on the given PIF channel.
| [in] | deviceIndex | of the PIF device. |
| [in] | pinIndex | of the pin on the specified PIF device. |
| SDKException | if either the device or pin index is out of range. |
|
inlinenoexcept |
Returns the count of configurable PIF devices.
|
inlinenoexcept |
Returns the count of digital input channels per PIF device.
| OTC_SDK_API bool optris::FrameMetadata::getPifDiValue | ( | int | deviceIndex, |
| int | pinIndex ) const |
Returns the digital input value on the given PIF channel.
| [in] | deviceIndex | of the PIF device. |
| [in] | pinIndex | of the pin on the specified PIF device. |
| SDKException | if either the device or pin index is out of range. |
|
inlinenoexcept |
Grants read access to the radiation parameters use to process the thermal frame.
To get the set/configured parameters see IRImager::getRadiationParameters().
|
inlinenoexcept |
Returns the size of the raw metadata structure in bytes.
|
inlinenoexcept |
Returns the housing temperature in °C at frame capturing time.
|
inlinenoexcept |
Returns the sensor chip temperature in °C at frame capturing time.
|
inlinenoexcept |
Returns the shutter flag temperature in °C at frame capturing time.
|
inlinenoexcept |
Returns the frame timestamp in UNITS (10000000 units per second).
|
inlinenoexcept |
Returns the media timestamp.
|
inlinenoexcept |
Returns the source of the transmissivity value.
|
inlinenoexcept |
Returns whether the data provided in the associated frame is reliable.
During the initial startup calibration the data provide by the device is not reliable.
|
inlinenoexcept |
Sets the frame counters.
| [in] | counter | to set. |
| [in] | counterHardware | to set. |
|
inlinenoexcept |
Sets the state of the shutter flag.
| [in] | flagState | to set. |
| OTC_SDK_API void optris::FrameMetadata::setPifAiValue | ( | int | deviceIndex, |
| int | pinIndex, | ||
| float | value ) |
Sets the value of the specified PIF analog input channel.
| [in] | deviceIndex | of the PIF device. |
| [in] | pinIndex | of the pin on the specified PIF device. |
| [in] | value | to set. |
| SDKException | if either the device or pin index is out of range. |
|
noexcept |
Sets the counts of the PIF devices and input channels.
| [in] | actualDeviceCount | count of actual connected PIF devices. |
| [in] | configurableDeviceCount | count of configurable PIF devices. |
| [in] | aiCountPerDevice | count of analog input channels per PIF device. |
| [in] | diCountPerDevice | count of digital input channels per PIF device. |
| OTC_SDK_API void optris::FrameMetadata::setPifDiValue | ( | int | deviceIndex, |
| int | pinIndex, | ||
| bool | value ) |
Sets the value of the specified PIF digital input channel.
| [in] | deviceIndex | of the PIF device. |
| [in] | pinIndex | of the pin on the specified PIF device. |
| [in] | value | to set. |
| SDKException | if either the device or pin index is out of range. |
|
inlinenoexcept |
Set the flag, box and chip probe temperatures in °C.
| [in] | flag | temperature in °C. |
| [in] | box | temperature in °C. |
| [in] | chip | temperature in °C. |
|
inlinenoexcept |
Sets the radiation parameters sources.
| [in] | emissivitySource | to set. |
| [in] | ambientTemperatureSource | to set. |
|
inlinenoexcept |
Sets the size of the raw metadata structure in bytes.
| [in] | size | of the raw metadata structure in bytes. |
|
inlinenoexcept |
Sets the timestamps.
| [in] | timestamp | frame timestamp in UNITS (10000000 units per second). |
| [in] | timestampMedia | media timestamp. |