OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — legacy C++ API referencev12.0

These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.

optris::MeasurementField

Measurement field or region of interest (ROI) within the thermal frame.

Public types

ConstShared

std::shared_ptr< const MeasurementField > ConstShared

Shared pointer type for measurement fields.

Public functions

MeasurementField

MeasurementField()=default

Constructor.

MeasurementField

MeasurementField(MeasurementField &)=delete

No copy constructor.

operator=

MeasurementField & operator=(MeasurementField &)=delete

No copy assignment operator.

MeasurementField

MeasurementField(MeasurementField &&)=delete

No move constructor.

operator=

MeasurementField & operator=(MeasurementField &&)=delete

No move assignment operator.

~MeasurementField

~MeasurementField()=default

Destructor.

getId

std::int32_t getId() const noexcept=0

Returns the unique ID of the measurement field.

Returns: unique ID of the measurement field.

getIndex

std::uint32_t getIndex() const noexcept=0

Returns the index of the measurement field. The index determines the order in which measurement fields are rendered on top of each other. Fields with a higher index are rendered on top of fields with a lower index. The thermal frame will always be in the background.

Returns: index of the measurement field.

getName

const std::string & getName() const noexcept=0

Returns the name of the measurement field.

Returns: name of the measurement field.

getConfig

const MeasurementFieldConfig & getConfig() const noexcept=0

Returns the configuration of the measurement field.

Returns: configuration of the measurement field.