|
|
OTC_SDK_API | ThermalFrame ()=default |
| | Constructor.
|
| |
|
OTC_SDK_API | ThermalFrame (const ThermalFrame &)=default |
| | Copy constructor.
|
| |
|
OTC_SDK_API ThermalFrame & | operator= (const ThermalFrame &)=default |
| | Copy assignment.
|
| |
|
OTC_SDK_API | ThermalFrame (ThermalFrame &&)=default |
| | Move constructor.
|
| |
|
OTC_SDK_API ThermalFrame & | operator= (ThermalFrame &&)=default |
| | Move assignment.
|
| |
|
OTC_SDK_API | ~ThermalFrame () override=default |
| | Destructor.
|
| |
| float | getTemperature (int index) const |
| | Returns the temperature in in °C at the given index.
|
| |
| float | getTemperature (int x, int y) const |
| | Returns the temperature in in °C at the given coordinates.
|
| |
| TemperaturePrecision | getTemperaturePrecision () const noexcept |
| | Returns the precision of the temperatures stored in the frame.
|
| |
| OTC_SDK_API void | copyTemperaturesTo (float *destination, int size) const noexcept |
| | Copies the thermal data as degree Celsius to a one-dimensional array or vector.
|
| |
| OTC_SDK_API void | setData (const unsigned short *source, TemperaturePrecision precision) |
| | Sets the thermal frame data values.
|
| |
| OTC_SDK_API void | setFromRawData (const void *source, TemperaturePrecision precision) |
| | Sets the thermal frame values from raw data.
|
| |
| TemperatureConverter | getConverter () const noexcept |
| | Returns the temperature converter.
|
| |
|
OTC_SDK_API | Frame () noexcept |
| | Constructor.
|
| |
|
OTC_SDK_API | Frame (const Frame &)=default |
| | Copy constructor.
|
| |
|
OTC_SDK_API Frame & | operator= (const Frame &)=default |
| | Copy assignment.
|
| |
|
OTC_SDK_API | Frame (Frame &&)=default |
| | Move constructor.
|
| |
|
OTC_SDK_API Frame & | operator= (Frame &&)=default |
| | Move assignment.
|
| |
|
virtual OTC_SDK_API | ~Frame () noexcept=default |
| | Destructor.
|
| |
| OTC_SDK_API unsigned short | getValue (int index) const noexcept(false) |
| | Returns the frame data value at the given index.
|
| |
| OTC_SDK_API unsigned short | getValue (int x, int y) const noexcept(false) |
| | Returns the frame data value at the given coordinates.
|
| |
| OTC_SDK_API int | getWidth () const noexcept |
| | Returns the width in pixels of the frame.
|
| |
| OTC_SDK_API int | getHeight () const noexcept |
| | Returns the height in pixel of the frame.
|
| |
| OTC_SDK_API int | getSize () const noexcept |
| | Returns the overall size in pixels of the frame (width * height).
|
| |
| OTC_SDK_API bool | isEmpty () const noexcept |
| | Returns whether the frame is empty.
|
| |
|
OTC_SDK_API void | clear () |
| | Clears the frame data.
|
| |
| OTC_SDK_API void | resize (int width, int height) |
| | Resizes the frame.
|
| |
| OTC_SDK_API void | setData (const unsigned short *source) |
| | Sets the frame data values.
|
| |
| OTC_SDK_API void | setFromRawData (const void *source) |
| | Sets the frame data values from raw data.
|
| |
| OTC_SDK_API void | copyDataTo (unsigned short *destination, int size) const noexcept |
| | Copies the internal data to a one-dimensional array or vector.
|
| |
| OTC_SDK_API const unsigned short * | getData () const noexcept |
| | Returns a pointer to the first element of the internal value array.
|
| |
Encapsulates processed thermal frame data.