![]() |
Thermal Camera SDK 10.0.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 | setTemperatures (float flag, float box, float chip) noexcept |
| Set the flag, box and chip temperatures in °C. | |
| OTC_SDK_API bool | getPifDigitalInputValue (int channel) const |
| Returns the digital input value on the given PIF channel. | |
| OTC_SDK_API float | getPifAnalogInputValue (int channel) const |
| Returns the analog input value on the given PIF channel. | |
| int | getPifDigitalInputChannelCount () const noexcept |
| Returns the count of digital PIF input channel count. | |
| int | getPifAnalogInputChannelCount () const noexcept |
| Returns the count of analog PIF input channel count. | |
| void | setPifInputChannelCounts (int digital, int analog) noexcept |
| Sets the counts of the PIF input channels. | |
| OTC_SDK_API void | setPifDigitalInputValue (int channel, bool value) |
| Sets the value of the specified PIF digital input channel. | |
| OTC_SDK_API void | setPifAnalogInputValue (int channel, float value) |
| Sets the value of the specified PIF analog 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) |
| 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. |
|
inlinenoexcept |
Returns a consecutive number for each received frame.
|
inlinenoexcept |
Returns the frame number received from the device.
|
inlinenoexcept |
Returns the state of the shutter flag at frame capturing time.
|
inlinenoexcept |
Returns the count of analog PIF input channel count.
| OTC_SDK_API float optris::FrameMetadata::getPifAnalogInputValue | ( | int | channel | ) | const |
Returns the analog input value on the given PIF channel.
| [in] | channel | number for which the input value is desired. |
| SDKException | if channel number is out of bounds. |
|
inlinenoexcept |
Returns the count of digital PIF input channel count.
| OTC_SDK_API bool optris::FrameMetadata::getPifDigitalInputValue | ( | int | channel | ) | const |
Returns the digital input value on the given PIF channel.
| [in] | channel | number for which the input value is desired. |
| SDKException | if channel number is out of bounds. |
|
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 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::setPifAnalogInputValue | ( | int | channel, |
| float | value ) |
Sets the value of the specified PIF analog input channel.
| [in] | channel | analog input channel. |
| [in] | value | to set. |
| SDKException | if channel number is out of bounds. |
| OTC_SDK_API void optris::FrameMetadata::setPifDigitalInputValue | ( | int | channel, |
| bool | value ) |
Sets the value of the specified PIF digital input channel.
| [in] | channel | digital input channel. |
| [in] | value | to set. |
| SDKException | if channel number is out of bounds. |
|
inlinenoexcept |
Sets the counts of the PIF input channels.
| [in] | digital | input channel count. |
| [in] | analog | input channel count. |
|
inlinenoexcept |
Sets the size of the raw metadata structure in bytes.
| [in] | size | of the raw metadata structure in bytes. |
|
inlinenoexcept |
Set the flag, box and chip temperatures in °C.
| [in] | flag | temperature in °C. |
| [in] | box | temperature in °C. |
| [in] | chip | temperature in °C. |
|
inlinenoexcept |
Sets the timestamps.
| [in] | timestamp | frame timestamp in UNITS (10000000 units per second). |
| [in] | timestampMedia | media timestamp. |