Thermal Camera SDK 10.0.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
optris::ConstMeasurementFieldIterator Class Reference

Iterates over a measurement field in a row major fashion and grants read access. More...

#include <MeasurementFieldIterator.h>

Collaboration diagram for optris::ConstMeasurementFieldIterator:
Collaboration graph

Public Types

using Container = std::vector<unsigned short>
 Container type storing the frame values.
 

Public Member Functions

OTC_SDK_API ConstMeasurementFieldIterator (const MeasurementField &field) noexcept
 Constructor.
 
bool hasNext () const noexcept
 Returns whether there is a next measurement field value.
 
OTC_SDK_API void next ()
 Moves to the next measurement field value.
 
unsigned short getValue () const noexcept
 Returns the current measurement field value.
 
int getIndex () const noexcept
 Returns the index of the current measurement field value.
 
int getX () const noexcept
 Returns the x-coordinate of the current measurement field value.
 
int getY () const noexcept
 Returns the y-coordinate of the current measurement field value.
 

Detailed Description

Iterates over a measurement field in a row major fashion and grants read access.

Constructor & Destructor Documentation

◆ ConstMeasurementFieldIterator()

OTC_SDK_API optris::ConstMeasurementFieldIterator::ConstMeasurementFieldIterator ( const MeasurementField & field)
explicitnoexcept

Constructor.

Parameters
[in]fieldmeasurement field to iterate over.

Member Function Documentation

◆ getIndex()

int optris::ConstMeasurementFieldIterator::getIndex ( ) const
inlinenoexcept

Returns the index of the current measurement field value.

Returns
index of the current measurement field value.

◆ getValue()

unsigned short optris::ConstMeasurementFieldIterator::getValue ( ) const
inlinenoexcept

Returns the current measurement field value.

Returns
current measurement field value.

◆ getX()

int optris::ConstMeasurementFieldIterator::getX ( ) const
inlinenoexcept

Returns the x-coordinate of the current measurement field value.

Returns
x-coordinate of the current measurement field value.

◆ getY()

int optris::ConstMeasurementFieldIterator::getY ( ) const
inlinenoexcept

Returns the y-coordinate of the current measurement field value.

Returns
y-coordinate of the current measurement field value.

◆ hasNext()

bool optris::ConstMeasurementFieldIterator::hasNext ( ) const
inlinenoexcept

Returns whether there is a next measurement field value.

Returns
true if there is a next measurement field value. False otherwise.

The documentation for this class was generated from the following file: