Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Contains the exceptions raised by the SDK.
Contains various enums and structs representing the properties of fields.
Contains a class for a generic 2D vector.
Main SDK namespace.
Definition AlarmChannel.h:21
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.
FieldShape
Represents the different available field shapes.
Definition FieldProperties.h:24
@ Rectangle
Rectangular field.
Definition FieldProperties.h:25
Vector2< float > Vector2f
Alias for a 2D vector with float components.
Definition Vector.h:38
Encapsulates the configuration of a field shape.
Definition MeasurementFieldConfig.h:28
Vector2f dimension
Dimension for rectangular and elliptical fields. Ignored for polygonal and spline based fields.
Definition MeasurementFieldConfig.h:39
Vector2f position
Center point for rectangular and elliptical fields or the origin of of the vertex coordinates for pol...
Definition MeasurementFieldConfig.h:36
bool normalized
Specifies whether the provided position, dimension and vertices are pixel coordinates or are normaliz...
Definition MeasurementFieldConfig.h:54
std::vector< Vector2f > vertices
Vertices for polygonal and spline based fields. Ignored for rectangular and elliptical fields.
Definition MeasurementFieldConfig.h:46
static OTC_SDK_API void validate(FieldShapeConfig &config)
Validates the field shape configuration.
FieldShape type
Type of the field shape.
Definition MeasurementFieldConfig.h:30
Encapsulates the configuration of a measurement field.
Definition MeasurementFieldConfig.h:70
std::string name
Measurement field name.
Definition MeasurementFieldConfig.h:72
bool customEmissivity
Indicates whether a custom emissivity should be used.
Definition MeasurementFieldConfig.h:85
float emissivity
Field-specific emissivity value in [0.01, 1.1].
Definition MeasurementFieldConfig.h:82
static OTC_SDK_API void validate(MeasurementFieldConfig &config)
Validates the measurement field configuration.
FieldShapeConfig shape
Defines the shape of the measurement field.
Definition MeasurementFieldConfig.h:75