![]() |
Thermal Camera SDK 10.1.0
SDK for Optris Thermal Cameras
|
Interface defining the API for interacting with Optris thermal cameras. More...
#include <IRImager.h>

Public Member Functions | |
| IRImager ()=default | |
| Constructor. | |
| IRImager (const IRImager &)=delete | |
| No copy constructor. | |
| IRImager & | operator= (const IRImager &)=delete |
| No copy assignment. | |
| IRImager (IRImager &&)=delete | |
| No move constructor. | |
| IRImager & | operator= (IRImager &&)=delete |
| No move assignment. | |
| virtual | ~IRImager ()=default |
| Destructor. | |
| virtual void | connect (IRImagerConfig &config)=0 |
| Connects to the device with the given configuration. | |
| virtual void | connect (const DeviceInfo &deviceInfo)=0 |
| Connects to the device with the given device information. | |
| virtual void | connect (unsigned long serialNumber)=0 |
| Connects to the device with the given serial number. | |
| virtual void | disconnect ()=0 |
| Disconnects from the current device. | |
| virtual bool | isConnected () const noexcept=0 |
| Returns whether a connection is established. | |
| virtual void | addClient (IRImagerClient *client)=0 |
| Adds an observer/client that will be updated when new data arrives. | |
| virtual bool | removeClient (IRImagerClient *client)=0 |
| Removes the given observer/client. | |
| virtual void | run ()=0 |
| Runs the processing loop continuously. | |
| virtual bool | runAsync ()=0 |
| Runs the processing loop continuously in a dedicated thread. | |
| virtual void | stopRunning ()=0 |
| Stops the continuously running processing loop. | |
| virtual bool | isRunning () const noexcept=0 |
| Returns whether the processing loop is currently running. | |
| virtual DeviceType | getDeviceType () const =0 |
| Returns the type of device the IRImager is connected to. | |
| virtual unsigned long | getSerialNumber () const =0 |
| Returns the serial number of the connected device. | |
| virtual unsigned int | getHardwareRevision () const =0 |
| Returns the hardware revision of the connected device. | |
| virtual unsigned int | getFirmwareRevision () const =0 |
| Returns the firmware revision of the connected device. | |
| virtual std::vector< std::shared_ptr< OperationMode > > | getOperationModes ()=0 |
| Returns the operation modes for the currently connected device. | |
| virtual std::shared_ptr< OperationMode > | getActiveOperationMode ()=0 |
| Returns the active operation mode for the currently connected device. | |
| virtual int | addMeasurementField (const MeasurementFieldConfig &config)=0 |
| Adds a measurement field that is processed for every new thermal frame. | |
| virtual void | setAutoFlagEnabled (bool enable)=0 |
| Sets the automatic triggering of flag cycles en-/disabled. | |
| virtual bool | isAutoFlagEnabled () const =0 |
| Returns whether flag cycles are triggered automatically. | |
| virtual void | setFlagInterval (float minInterval, float maxInterval)=0 |
| Sets the minimum and maximum flag intervals in seconds. | |
| virtual float | getFlagMinInterval () const =0 |
| Returns the minimum flag interval in seconds. | |
| virtual float | getFlagMaxInterval () const =0 |
| Returns the maximum flag interval in seconds. | |
| virtual void | forceFlagEvent (float time=0.F)=0 |
| Force a flag cycle manually. | |
| virtual bool | isFlagOpen () const =0 |
| Returns whether the shutter flag is open. | |
| virtual void | setFlagForecastEnabled (bool enable)=0 |
| Set the shutter flag forecast en-/disabled. | |
| virtual bool | isFlagForecastEnabled () const =0 |
| Returns whether the shutter flag forecast is en-/disabled. | |
| virtual int | getWidth () const =0 |
| Returns the width in pixels of the thermal frame. | |
| virtual int | getHeight () const =0 |
| Returns the height in pixels of thermal frame. | |
| virtual float | getTemperatureFlag () const =0 |
| Returns the temperature of the shutter flag in °C. | |
| virtual float | getTemperatureBox () const =0 |
| Returns the temperature of the device housing in °C. | |
| virtual float | getTemperatureChip () const =0 |
| Returns the temperature of the sensor chip. | |
| virtual void | setChipHeatingEnabled (bool enable)=0 |
| Enables the heating of the sensor chip. | |
| virtual bool | isChipHeatingEnabled () const =0 |
| Return whether the sensor chip heating is enabled. | |
| virtual void | setTemperatureChipReference (float temperature)=0 |
| Sets the reference temperature in °C for the sensor chip heating. | |
| virtual float | getTemperatureChipReference () const =0 |
| Returns the reference temperature in °C of the sensor chip heating. | |
| virtual void | setRadiationParameters (float emissivity, float transmissivity, float ambientTemperature=INVALID_TEMPERATURE)=0 |
| Sets the radiation properties, i.e. emissivity and transmissivity parameters. | |
| virtual void | setFocusMotorPosition (float position)=0 |
| Sets the position of the focus motor. | |
| virtual float | getFocusMotorPosition () const =0 |
| Returns the position of the focus motor. | |
| virtual TemperaturePrecision | getTemperaturePrecision () const =0 |
| Returns the current precision of the thermal data. | |
| virtual void | setReferenceTemperature (float referenceTemperature, float measuredTemperature, float ambientTemperature=INVALID_TEMPERATURE)=0 |
| Sets a reference temperature to a known reference source inside the view of the device to improve measurement accuracy. | |
| virtual void | setDeviceNetworkConfig (const DeviceNetworkConfig &networkConfig)=0 |
| Sets the network configuration of the device. | |
| virtual DeviceNetworkConfig | getDeviceNetworkConfig ()=0 |
| Returns the network configuration of the device. | |
| virtual ProcessInterface & | getPif ()=0 |
| Grants access to the process interface. | |
| virtual const ProcessInterface & | getPif () const =0 |
| Grants read access to the process interface. | |
| virtual void | interruptFailSafe (bool active, const std::string &reason)=0 |
| Interrups the all clear fail safe signal. | |
Interface defining the API for interacting with Optris thermal cameras.
|
pure virtual |
Adds an observer/client that will be updated when new data arrives.
| [in] | client | callback client. |
|
pure virtual |
Adds a measurement field that is processed for every new thermal frame.
The resulting data can be accessed via the IRImagerClient::onMeasurementField() callback.
| [in] | config | of the measurement field to add. |
| SDKException | if not connected or if the measurement field is not completely within the thermal frame or if adding it failed. |
|
pure virtual |
Connects to the device with the given device information.
EnumerationManager to find a device to connect to. This currently works only for a single USB device.| [in] | deviceInfo | device information. |
| SDKException | if connecting fails. |
|
pure virtual |
Connects to the device with the given configuration.
| [in] | config | configuration. |
| SDKException | if connecting fails. |
|
pure virtual |
Connects to the device with the given serial number.
EnumerationManager to find a device to connect to. This currently works only for a single USB device.| [in] | serialNumber | of the device. |
| SDKException | if connecting fails. |
|
pure virtual |
Force a flag cycle manually.
| [in] | time | point of time in future in milliseconds, when the shutter flag should be closed. |
| SDKException | if not connected. |
|
pure virtual |
Returns the active operation mode for the currently connected device.
Each operation mode holds a valid combination of optics, temperature range and video format settings for the currently connected device.
| SDKException | if not connected. |
|
pure virtual |
Returns the network configuration of the device.
| SDKException | if not connect via USB or if device does not support Ethernet or if getting the device network configuration failed. |
|
pure virtual |
|
pure virtual |
Returns the firmware revision of the connected device.
|
pure virtual |
Returns the maximum flag interval in seconds.
Maximum time that can elapse before a new flag cycle is triggered.
|
pure virtual |
Returns the minimum flag interval in seconds.
Minimum time that has to elapse before a new flag cycle is triggered.
|
pure virtual |
Returns the position of the focus motor.
|
pure virtual |
Returns the hardware revision of the connected device.
|
pure virtual |
Returns the height in pixels of thermal frame.
|
pure virtual |
Returns the operation modes for the currently connected device.
Each operation mode holds a valid combination of optics, temperature range and video format settings for the currently connected device.
| SDKException | if not connected. |
|
pure virtual |
Grants read access to the process interface.
| SDKException | if not connected. |
|
pure virtual |
Grants access to the process interface.
| SDKException | if not connected. |
|
pure virtual |
Returns the serial number of the connected device.
|
pure virtual |
Returns the temperature of the device housing in °C.
|
pure virtual |
Returns the temperature of the sensor chip.
|
pure virtual |
Returns the reference temperature in °C of the sensor chip heating.
|
pure virtual |
Returns the temperature of the shutter flag in °C.
|
pure virtual |
Returns the current precision of the thermal data.
|
pure virtual |
Returns the width in pixels of the thermal frame.
|
pure virtual |
Interrups the all clear fail safe signal.
| [in] | active | if true the all clear signal is interrupted. If false, the all clear may be restored, if all other sources report an all clear. |
| [in] | reason | to be displayed in the logs. |
| SDKException | if not connected. |
|
pure virtual |
Returns whether flag cycles are triggered automatically.
|
pure virtual |
Return whether the sensor chip heating is enabled.
|
pure virtualnoexcept |
Returns whether a connection is established.
|
pure virtual |
Returns whether the shutter flag forecast is en-/disabled.
|
pure virtual |
Returns whether the shutter flag is open.
|
pure virtualnoexcept |
Returns whether the processing loop is currently running.
|
pure virtual |
Removes the given observer/client.
| [in] | client | to remove. |
|
pure virtual |
Runs the processing loop continuously.
Blocks until stopRunning() or disconnect() is called from another thread or until the application terminates.
|
pure virtual |
Runs the processing loop continuously in a dedicated thread.
Runs until stopRunning() or disconnect() is called from another thread or until the application terminates.
|
pure virtual |
Sets the automatic triggering of flag cycles en-/disabled.
| [in] | enable | or disable automatic triggering of flag cycles. |
|
pure virtual |
Enables the heating of the sensor chip.
| [in] | enable | indicates whether to enable heating. |
| SDKException | if not connected. |
|
pure virtual |
Sets the network configuration of the device.
| [in] | networkConfig | to set. |
| SDKException | if not connect via USB or if device does not support Ethernet or if setting the device network configuration failed. |
|
pure virtual |
Set the shutter flag forecast en-/disabled.
| enable | of disable the shutter flag forecast. |
| SDKException | if not connected. |
|
pure virtual |
Sets the minimum and maximum flag intervals in seconds.
| [in] | minInterval | minimal time in seconds that has to elapse before a new flag cycle is triggered. |
| [in] | maxInterval | maximum time in seconds that can elapse until a new flag cycle is triggered. Set to 0 to deactivate. |
| SDKException | if provided intervals are negative. |
|
pure virtual |
Sets the position of the focus motor.
The position should be in [0, 100] %. If not, the position will automatically be clipped.
| [in] | position | focus motor position in %. |
| SDKException | if not connected or if no focus motor is available. |
|
pure virtual |
Sets the radiation properties, i.e. emissivity and transmissivity parameters.
| [in] | emissivity | of the observed object. Should be in [0, 1]. |
| [in] | transmissivity | of the observed object. Should be in [0, 1]. |
| [in] | ambientTemperature | in °C Set it to INVALID_TEMPERATURE or less to force the SDK to estimate the ambient temperature based on thermal probe readings of the camera. |
| SDKException | if not connected or if parameters are invalid or if setting the parameters fails. |
|
pure virtual |
Sets a reference temperature to a known reference source inside the view of the device to improve measurement accuracy.
| [in] | referenceTemperature | real temperature of reference source. |
| [in] | measuredTemperature | measured temperature from the device of reference source. |
| [in] | ambientTemperature | in °C. Set it to INVALID_TEMPERATURE or less to force the SDK to estimate the ambient temperature based on thermal probe readings of the device. |
| SDKException | if setting the reference temperatures fails or if not connected. |
|
pure virtual |
Sets the reference temperature in °C for the sensor chip heating.
The specified temperature should be in [20, 55] °C. If not, the temperature will automatically be clipped. The current chip temperature can be monitored with getTemperatureChip().
| [in] | temperature | to set in °C. |
| SDKException | if not connected. |