Iterates over a measurement field in a row major fashion and grants read access.
More...
#include <MeasurementFieldIterator.h>
|
using | Container = std::vector<unsigned short> |
| Container type storing the frame values.
|
|
|
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.
|
|
Iterates over a measurement field in a row major fashion and grants read access.
◆ ConstMeasurementFieldIterator()
Constructor.
- Parameters
-
[in] | field | measurement field to iterate over. |
◆ 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: