ilabs-flir 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.plugin.js +1 -1
- package/ios/Flir/SDKLoader/FlirSDKLoader.swift +9 -9
- package/ios/Flir/src/FlirModule.m +12 -1
- package/package.json +1 -1
- package/ios/Flir/Framework/ThermalSDK/FLIRBattery.h +0 -76
- package/ios/Flir/Framework/ThermalSDK/FLIRCalibration.h +0 -108
- package/ios/Flir/Framework/ThermalSDK/FLIRCamera.h +0 -156
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraDeviceInfo.h +0 -53
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraEvent.h +0 -132
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraImport.h +0 -204
- package/ios/Flir/Framework/ThermalSDK/FLIRColorDistributionSettings.h +0 -204
- package/ios/Flir/Framework/ThermalSDK/FLIRColorizer.h +0 -82
- package/ios/Flir/Framework/ThermalSDK/FLIRDiscoveredCamera.h +0 -44
- package/ios/Flir/Framework/ThermalSDK/FLIRDiscovery.h +0 -132
- package/ios/Flir/Framework/ThermalSDK/FLIRDisplaySettings.h +0 -29
- package/ios/Flir/Framework/ThermalSDK/FLIRFocus.h +0 -70
- package/ios/Flir/Framework/ThermalSDK/FLIRFusion.h +0 -192
- package/ios/Flir/Framework/ThermalSDK/FLIRFusionController.h +0 -136
- package/ios/Flir/Framework/ThermalSDK/FLIRFusionTransformation.h +0 -35
- package/ios/Flir/Framework/ThermalSDK/FLIRIdentity.h +0 -264
- package/ios/Flir/Framework/ThermalSDK/FLIRImageBase.h +0 -196
- package/ios/Flir/Framework/ThermalSDK/FLIRImageColorizer.h +0 -26
- package/ios/Flir/Framework/ThermalSDK/FLIRImageStatistics.h +0 -61
- package/ios/Flir/Framework/ThermalSDK/FLIRIsotherms.h +0 -208
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementArea.h +0 -38
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementCollection.h +0 -147
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDelta.h +0 -62
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDimensions.h +0 -33
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementEllipse.h +0 -49
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementLine.h +0 -66
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementMarker.h +0 -69
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementParameters.h +0 -41
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementRectangle.h +0 -36
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementReference.h +0 -27
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementShape.h +0 -46
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementSpot.h +0 -33
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementsController.h +0 -160
- package/ios/Flir/Framework/ThermalSDK/FLIRMeterLinkSensorPoll.h +0 -247
- package/ios/Flir/Framework/ThermalSDK/FLIROverlayController.h +0 -27
- package/ios/Flir/Framework/ThermalSDK/FLIRPalette.h +0 -60
- package/ios/Flir/Framework/ThermalSDK/FLIRPaletteController.h +0 -36
- package/ios/Flir/Framework/ThermalSDK/FLIRPaletteManager.h +0 -97
- package/ios/Flir/Framework/ThermalSDK/FLIRQuantification.h +0 -55
- package/ios/Flir/Framework/ThermalSDK/FLIRRemoteControl.h +0 -393
- package/ios/Flir/Framework/ThermalSDK/FLIRRenderer.h +0 -35
- package/ios/Flir/Framework/ThermalSDK/FLIRRendererImpl.h +0 -17
- package/ios/Flir/Framework/ThermalSDK/FLIRScale.h +0 -99
- package/ios/Flir/Framework/ThermalSDK/FLIRScaleController.h +0 -44
- package/ios/Flir/Framework/ThermalSDK/FLIRStream.h +0 -109
- package/ios/Flir/Framework/ThermalSDK/FLIRStreamer.h +0 -124
- package/ios/Flir/Framework/ThermalSDK/FLIRSystem.h +0 -40
- package/ios/Flir/Framework/ThermalSDK/FLIRTemperatureRange.h +0 -43
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalDelta.h +0 -77
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalImage.h +0 -331
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalImageFile.h +0 -56
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalParameters.h +0 -31
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalValue.h +0 -92
- package/ios/Flir/Framework/ThermalSDK/FLIRWirelessCameraDetails.h +0 -88
- package/ios/Flir/Framework/ThermalSDK/ThermalSDK.h +0 -73
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementDelta.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-12-08.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
#import "FLIRMeasurementShape.h"
|
|
12
|
-
#import "FLIRThermalDelta.h"
|
|
13
|
-
|
|
14
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Class representing a delta measurement type in the image.
|
|
18
|
-
*/
|
|
19
|
-
@interface FLIRMeasurementDelta : FLIRMeasurementShape
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Thermal difference/delta value.
|
|
23
|
-
*/
|
|
24
|
-
- (FLIRThermalDelta * _Nullable)getDeltaValue:(out NSError * _Nullable * _Nullable)error;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets the first shape.
|
|
28
|
-
*/
|
|
29
|
-
- (FLIRMeasurementShape *)getMember1;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Gets the second shape.
|
|
33
|
-
*/
|
|
34
|
-
- (FLIRMeasurementShape *)getMember2;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets the first delta member type.
|
|
38
|
-
*/
|
|
39
|
-
- (DeltaMemberValueType)getMember1ValueType;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Gets the second delta member type.
|
|
43
|
-
*/
|
|
44
|
-
- (DeltaMemberValueType)getMember2ValueType;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Sets the first delta member.
|
|
48
|
-
*/
|
|
49
|
-
- (BOOL)setMember1:(FLIRMeasurementShape *)shape
|
|
50
|
-
type:(DeltaMemberValueType)type
|
|
51
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Sets the second delta member.
|
|
55
|
-
*/
|
|
56
|
-
- (BOOL)setMember2:(FLIRMeasurementShape *)shape
|
|
57
|
-
type:(DeltaMemberValueType)type
|
|
58
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
59
|
-
|
|
60
|
-
@end
|
|
61
|
-
|
|
62
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementDimensions.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-11-05.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Describes area calculation for specified measurement tool.
|
|
13
|
-
* Note: Some fields are only applicable for specific measurement tools. See description for each field for details.
|
|
14
|
-
* Note: When field is unapplicable for a specified measurement type, field's value will evaluate to default value of 0.0.
|
|
15
|
-
*/
|
|
16
|
-
@interface FLIRMeasurementDimensions : NSObject
|
|
17
|
-
|
|
18
|
-
/** Area dimension value - only applicable for rectangle and ellipse (evaluates to 0.0 for other types) */
|
|
19
|
-
@property (nonatomic, readonly) double area;
|
|
20
|
-
/** Height dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
21
|
-
@property (nonatomic, readonly) double height;
|
|
22
|
-
/** Width dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
23
|
-
@property (nonatomic, readonly) double width;
|
|
24
|
-
/** Length dimension value - only applicable for line (evaluates to 0.0 for other types) */
|
|
25
|
-
@property (nonatomic, readonly) double length;
|
|
26
|
-
/** Horizontal radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
27
|
-
@property (nonatomic, readonly) double radiusX;
|
|
28
|
-
/** Vertical radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
29
|
-
@property (nonatomic, readonly) double radiusY;
|
|
30
|
-
/** Dimension status - true when calculation is valid and accurate, otherwise false */
|
|
31
|
-
@property (nonatomic, readonly) BOOL valid;
|
|
32
|
-
|
|
33
|
-
@end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementEllipse.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2024 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <CoreGraphics/CoreGraphics.h>
|
|
9
|
-
#import "FLIRMeasurementArea.h"
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Defines the ellipse measurement tool shape.
|
|
13
|
-
* Ellipse is described by a center point and two radii, one horizontal (X) and one vertical (Y).
|
|
14
|
-
* This tool allows to measure temperature in ellipse area.
|
|
15
|
-
* It gives the possibility to find area's minimum, maximum and average temperature.
|
|
16
|
-
* There is functionality to find the exact location for minimum and maximum values.
|
|
17
|
-
*/
|
|
18
|
-
@interface FLIRMeasurementEllipse : FLIRMeasurementArea
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Gets x,y positon, the center of the ellipse
|
|
22
|
-
*/
|
|
23
|
-
- (CGPoint)getPosition;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Gets radii
|
|
27
|
-
*/
|
|
28
|
-
- (int)getRadiusX;
|
|
29
|
-
- (int)getRadiusY;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Sets position, the center of the ellipse
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
- (BOOL)setPosition:(CGPoint)position error:(out NSError * _Nullable *_Nullable)error;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Sets radii
|
|
40
|
-
*/
|
|
41
|
-
- (BOOL)setRadiusX:(int)radiusX radiusY:(int)radiusY error:(out NSError * _Nullable *_Nullable)error;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Sets both position and radii
|
|
45
|
-
*/
|
|
46
|
-
- (BOOL)setPosition:(CGPoint)position radiusX:(int)radiusX radiusY:(int)radiusY
|
|
47
|
-
error:(out NSError * _Nullable *_Nullable)error;
|
|
48
|
-
|
|
49
|
-
@end
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementLine.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "FLIRMeasurementArea.h"
|
|
9
|
-
#import "FLIRThermalValue.h"
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
/**
|
|
13
|
-
* Defines a line measurement tool shape.
|
|
14
|
-
* The SDK supports only horizontal or vertical lines.
|
|
15
|
-
* This tool allows to measure temperature in line area.
|
|
16
|
-
* It gives the possibility to find area's minimum, maximum and average temperature.
|
|
17
|
-
* There is functionality to find the exact location for minimum and maximum values.
|
|
18
|
-
*/
|
|
19
|
-
@interface FLIRMeasurementLine : FLIRMeasurementArea
|
|
20
|
-
|
|
21
|
-
/** Set the location of a vertical line.
|
|
22
|
-
*
|
|
23
|
-
* @param x The x-coordinate where the line is placed.
|
|
24
|
-
*
|
|
25
|
-
* X-coordinates should be positive values.
|
|
26
|
-
*/
|
|
27
|
-
- (BOOL)setVerticalLine:(int)x
|
|
28
|
-
error:(out NSError* _Nullable * _Nullable)error;
|
|
29
|
-
|
|
30
|
-
/** Set the location of a horizontal line.
|
|
31
|
-
*
|
|
32
|
-
* @param y The y-coordinate where the line is placed.
|
|
33
|
-
*
|
|
34
|
-
* Y-coordinates should be positive values.
|
|
35
|
-
*/
|
|
36
|
-
- (BOOL)setHorizontalLine:(int)y
|
|
37
|
-
error:(out NSError* _Nullable * _Nullable)error;
|
|
38
|
-
|
|
39
|
-
/** Set line location
|
|
40
|
-
*
|
|
41
|
-
* @param from starting point
|
|
42
|
-
* @param to ending point
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
|
-
- (BOOL)setLineFrom:(CGPoint)start
|
|
46
|
-
to:(CGPoint)end
|
|
47
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
48
|
-
|
|
49
|
-
/** The start position of the line.
|
|
50
|
-
* A Point with (x,y)-coordinates. Error if point is (-1,-1).
|
|
51
|
-
*/
|
|
52
|
-
- (CGPoint)getStartPosition;
|
|
53
|
-
|
|
54
|
-
/** The end position of the line.
|
|
55
|
-
* A Point with (x,y)-coordinates. Error if point is (-1,-1).
|
|
56
|
-
*/
|
|
57
|
-
- (CGPoint)getEndPosition;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Return true if the line measurement tool is horizontal.
|
|
61
|
-
*/
|
|
62
|
-
- (BOOL)isHorizontal;
|
|
63
|
-
|
|
64
|
-
@end
|
|
65
|
-
|
|
66
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementMarker.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "FLIRMeasurementShape.h"
|
|
9
|
-
#import "FLIRThermalValue.h"
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Represents the marker objects of the measurement object
|
|
13
|
-
*/
|
|
14
|
-
@interface FLIRMeasurementMarker : FLIRMeasurementShape
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Gets the average value of this measurement object.
|
|
18
|
-
* To enable average calculations isAverageEnabled must be set
|
|
19
|
-
*/
|
|
20
|
-
@property (nonatomic,readonly) FLIRThermalValue *average;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Gets the max value of this measurement object.
|
|
24
|
-
* To enable max calculations isHotSpotEnabled must be set
|
|
25
|
-
*/
|
|
26
|
-
@property (nonatomic,readonly) FLIRThermalValue *max;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Gets the min value of this measurement object.
|
|
30
|
-
* To enable min calculations isColdSpotEnabled must be set
|
|
31
|
-
*/
|
|
32
|
-
@property (nonatomic,readonly) FLIRThermalValue *min;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Gets the position of the hot spot on the image.
|
|
36
|
-
*/
|
|
37
|
-
@property (nonatomic,readonly) CGPoint hotSpot;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Gets the position of the cold spot on the image.
|
|
41
|
-
*/
|
|
42
|
-
@property (nonatomic,readonly) CGPoint coldSpot;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Average is enabled. The average value should be displayed in the result table as seen in the camera overlay.
|
|
46
|
-
*/
|
|
47
|
-
@property BOOL isAverageEnabled;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Hot Spot is enabled. The hot spot value should be displayed in the result table as seen in the camera overlay.
|
|
51
|
-
*/
|
|
52
|
-
@property BOOL isHotSpotEnabled;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Marker is visible. The marker glyph should be displayed as seen in the camera overlay.
|
|
56
|
-
*/
|
|
57
|
-
@property BOOL isHotSpotVisible;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Cold spot is enabled. The cold spot value should be displayed in the result table as seen in the camera overlay.
|
|
61
|
-
*/
|
|
62
|
-
@property BOOL isColdSpotEnabled;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Marker is visible. The marker glyph should be displayed as seen in the camera overlay.
|
|
66
|
-
*/
|
|
67
|
-
@property BOOL isColdSpotVisible;
|
|
68
|
-
|
|
69
|
-
@end
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MeasurementParameters.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
Encapsulates the object parameters for a MeasurementShape object
|
|
12
|
-
*/
|
|
13
|
-
@interface FLIRMeasurementParameters : NSObject
|
|
14
|
-
/**
|
|
15
|
-
* NS_UNAVAILABLE
|
|
16
|
-
*
|
|
17
|
-
* @return NS_UNAVAILABLE
|
|
18
|
-
*/
|
|
19
|
-
- (instancetype)init NS_UNAVAILABLE;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Gets or sets the distance to the object.
|
|
23
|
-
*/
|
|
24
|
-
@property (readwrite) double distance;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets or sets the default emissivity for the Thermal Image.
|
|
28
|
-
*/
|
|
29
|
-
@property (readwrite) double emissivity;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Gets or sets the reflected temperature.
|
|
33
|
-
*/
|
|
34
|
-
@property (readwrite) double reflectedTemperature;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets or sets a value indicating whether to use custom object parameters.
|
|
38
|
-
*/
|
|
39
|
-
@property (readwrite) bool useCustomObjectParameters;
|
|
40
|
-
|
|
41
|
-
@end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementRectangle.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "FLIRMeasurementArea.h"
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Represents a MeasurementRectangle object.
|
|
12
|
-
*/
|
|
13
|
-
@interface FLIRMeasurementRectangle : FLIRMeasurementArea
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Gets x,y positon
|
|
17
|
-
*/
|
|
18
|
-
- (CGPoint)getPosition;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Sets position
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
- (BOOL)setPosition:(CGPoint)position error:(out NSError * _Nullable *_Nullable)error;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets the measurement rectangle, position and size
|
|
28
|
-
*/
|
|
29
|
-
- (CGRect)getRectangle;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Sets the measurement rectangle, position and size
|
|
33
|
-
*/
|
|
34
|
-
- (BOOL)setRectangle:(CGRect)rectangle error:(out NSError * _Nullable *_Nullable)error;
|
|
35
|
-
|
|
36
|
-
@end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementReference.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2021-01-05.
|
|
6
|
-
// Copyright © 2021 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import "FLIRMeasurementShape.h"
|
|
10
|
-
#import "FLIRThermalValue.h"
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Represents a MeasurementReference object.
|
|
14
|
-
*/
|
|
15
|
-
@interface FLIRMeasurementReference : FLIRMeasurementShape
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Get or set the thermal value (i.e. temperature) of the reference measurement.
|
|
19
|
-
*/
|
|
20
|
-
@property (nonatomic, strong, nonnull) FLIRThermalValue* value;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get or set a label for the reference measurement.
|
|
24
|
-
*/
|
|
25
|
-
@property (nonatomic, strong, nonnull) NSString* label;
|
|
26
|
-
|
|
27
|
-
@end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MeasurementShape.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import <CoreGraphics/CoreGraphics.h>
|
|
10
|
-
#import "FLIRMeasurementParameters.h"
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* The class is a base class for other measurement shapes. The class has the basic properties
|
|
14
|
-
* and methods for a measurement shape.
|
|
15
|
-
*/
|
|
16
|
-
@interface FLIRMeasurementShape : NSObject
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Gets the identity on the measurement shape.
|
|
20
|
-
*/
|
|
21
|
-
@property (readonly) uint32_t identity;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets or sets the name of the measurement shape.
|
|
25
|
-
*/
|
|
26
|
-
@property (nonatomic,readwrite) NSString * _Nonnull name;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Gets the object parameters for this measurement shape.
|
|
30
|
-
*/
|
|
31
|
-
@property (nonatomic,readonly) FLIRMeasurementParameters * _Nonnull thermalParameters;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Adjusts the location of this measurement shape by the specified amount.
|
|
35
|
-
*
|
|
36
|
-
* @param offset Amount to offset the location.
|
|
37
|
-
*/
|
|
38
|
-
- (BOOL)offset:(CGPoint)offset error: (out NSError * _Nullable *_Nullable)error;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Move the location of this measurement shape to the specified position.
|
|
42
|
-
*
|
|
43
|
-
* @param point Position
|
|
44
|
-
*/
|
|
45
|
-
- (BOOL)moveTo:(CGPoint)point error: (out NSError * _Nullable *_Nullable)error;
|
|
46
|
-
@end
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MeasurementSpot.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "FLIRMeasurementShape.h"
|
|
9
|
-
#import "FLIRThermalValue.h"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Represents a MeasurementSpot object.
|
|
14
|
-
*/
|
|
15
|
-
@interface FLIRMeasurementSpot : FLIRMeasurementShape
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Gets the thermal value of this MeasurementSpot.
|
|
19
|
-
*/
|
|
20
|
-
- (FLIRThermalValue* _Nonnull)getValue;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get the position of this MeasurementSpot.
|
|
24
|
-
*/
|
|
25
|
-
- (CGPoint)getPosition;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Set the position of this MeasurementSpot.
|
|
29
|
-
*/
|
|
30
|
-
- (BOOL)setPosition:(CGPoint)position error: (out NSError* _Nullable* _Nullable)error;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
@end
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementsController.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-07-02.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
@class FLIRThermalValue;
|
|
12
|
-
|
|
13
|
-
/** abstract class for remote measurement shape, either a point (spot), a circle, a rectangle or a line */
|
|
14
|
-
@interface FLIRRemoteShape : NSObject
|
|
15
|
-
|
|
16
|
-
@end
|
|
17
|
-
|
|
18
|
-
/** Flags for calculations done on measurement areas. */
|
|
19
|
-
typedef NS_OPTIONS(NSUInteger, FLIRCalcMask) {
|
|
20
|
-
/// Single value temperature/signal, e.g. a spot value
|
|
21
|
-
CM_temp = 1 << 1,
|
|
22
|
-
/// Maximum temperature/signal, e.g a area max value
|
|
23
|
-
CM_max = 1 << 2,
|
|
24
|
-
/// Position of maximum temperature
|
|
25
|
-
CM_maxpos = 1 << 3,
|
|
26
|
-
/// Minimum temperature/signal
|
|
27
|
-
CM_min = 1 << 4,
|
|
28
|
-
/// Position of minimum temperature
|
|
29
|
-
CM_minpos = 1 << 5,
|
|
30
|
-
/// Average temperature/signal
|
|
31
|
-
CM_avg = 1 << 6,
|
|
32
|
-
/// Standard deviation temperature/signal
|
|
33
|
-
CM_sdev = 1 << 7,
|
|
34
|
-
/// Median temperature/signal
|
|
35
|
-
CM_median = 1 << 8,
|
|
36
|
-
/// Isotherm coloring or coverage depending on function
|
|
37
|
-
CM_iso = 1 << 10,
|
|
38
|
-
/// Dimension of bounded object, e.g area of box
|
|
39
|
-
CM_dimension = 1 << 13,
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/** abstract class for remote measurement marker, either a rectangle, a circle or a line */
|
|
43
|
-
@interface FLIRRemoteMarker : FLIRRemoteShape
|
|
44
|
-
|
|
45
|
-
/** get the position of the hottest spot */
|
|
46
|
-
- (CGPoint)getHotSpotPosition;
|
|
47
|
-
/** get the position of the coldest spot */
|
|
48
|
-
- (CGPoint)getColdSpotPosition;
|
|
49
|
-
/** get the thermal value of the hottest spot */
|
|
50
|
-
- (FLIRThermalValue* _Nullable)getHotSpotTemperature;
|
|
51
|
-
/** get the thermal value of the coldest spot */
|
|
52
|
-
- (FLIRThermalValue* _Nullable)getColdSpotTemperature;
|
|
53
|
-
/** get the average thermal value */
|
|
54
|
-
- (FLIRThermalValue* _Nullable)getAverageTemperature;
|
|
55
|
-
/** is the markers active */
|
|
56
|
-
- (BOOL)isMarkersActive;
|
|
57
|
-
/** set marker active (YES) or inactive (NO) */
|
|
58
|
-
- (BOOL)setIsMarkersActive: (BOOL)active error:(out NSError * _Nullable *_Nullable)error;
|
|
59
|
-
|
|
60
|
-
/** get the calcmask for the marker */
|
|
61
|
-
- (FLIRCalcMask)getCalcMask;
|
|
62
|
-
/** set the calcmask for the marker */
|
|
63
|
-
- (BOOL)setCalcMask:(FLIRCalcMask)calcMask error:(out NSError * _Nullable * _Nullable)error;
|
|
64
|
-
@end
|
|
65
|
-
|
|
66
|
-
/** a circular measurement area */
|
|
67
|
-
@interface FLIRRemoteCircle : FLIRRemoteMarker
|
|
68
|
-
|
|
69
|
-
/** get the center of the circle */
|
|
70
|
-
- (CGPoint)getPosition;
|
|
71
|
-
/** get radius of the circle */
|
|
72
|
-
- (int)getRadius;
|
|
73
|
-
/** set the center and radius of the circle */
|
|
74
|
-
- (BOOL)setPosition: (CGPoint)center radius: (int)radius error: (out NSError * _Nullable *_Nullable)error;
|
|
75
|
-
|
|
76
|
-
@end
|
|
77
|
-
|
|
78
|
-
/** a rectangular measurement area */
|
|
79
|
-
@interface FLIRRemoteRect : FLIRRemoteMarker
|
|
80
|
-
|
|
81
|
-
/** get the measurement rectangle */
|
|
82
|
-
- (CGRect)getRect;
|
|
83
|
-
/** set the measurement rectangle */
|
|
84
|
-
- (BOOL)setRect: (CGRect)rect error: (out NSError * _Nullable *_Nullable)error;
|
|
85
|
-
|
|
86
|
-
@end
|
|
87
|
-
|
|
88
|
-
/** a horizontal or vertical measurement line */
|
|
89
|
-
@interface FLIRRemoteLine : FLIRRemoteMarker
|
|
90
|
-
|
|
91
|
-
/** get the x-coordinate (if vertical) or y-coordinate (if horizontal) of the line */
|
|
92
|
-
- (int)getCoordinate;
|
|
93
|
-
/** get whether the line is horizontal (true) or vertical (false) */
|
|
94
|
-
- (BOOL)getHorizontal;
|
|
95
|
-
/** set the x-coordinate (if horizontal) or y-coordinate (if vertical) of the line and orientation */
|
|
96
|
-
- (BOOL)setCoordinate: (int)coordinate horizontal: (BOOL)horizontal error: (out NSError * _Nullable *_Nullable)error;
|
|
97
|
-
|
|
98
|
-
@end
|
|
99
|
-
|
|
100
|
-
/** a measurement point */
|
|
101
|
-
@interface FLIRRemoteSpot : FLIRRemoteShape
|
|
102
|
-
|
|
103
|
-
/** get the position of the measurement point */
|
|
104
|
-
- (CGPoint)getPosition;
|
|
105
|
-
/** set the position of the measurement point */
|
|
106
|
-
- (BOOL)setPosition: (CGPoint)position error: (out NSError * _Nullable *_Nullable)error;
|
|
107
|
-
/** the thermal value at the measurement point */
|
|
108
|
-
- (FLIRThermalValue* _Nullable) getValue;
|
|
109
|
-
|
|
110
|
-
@end
|
|
111
|
-
|
|
112
|
-
/** remote measurements */
|
|
113
|
-
@interface FLIRMeasurementsController : NSObject
|
|
114
|
-
|
|
115
|
-
/** add a measurement point */
|
|
116
|
-
- (FLIRRemoteSpot * _Nullable)addSpot:(CGPoint)point
|
|
117
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
118
|
-
/** add a circular measurement area */
|
|
119
|
-
- (FLIRRemoteCircle * _Nullable)addCircle: (CGPoint)position
|
|
120
|
-
radius: (int)radius
|
|
121
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
122
|
-
|
|
123
|
-
/** add a rectangular measurement area */
|
|
124
|
-
- (FLIRRemoteRect * _Nullable)addRectangle: (CGRect)rect
|
|
125
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
126
|
-
|
|
127
|
-
/** add a measurement line
|
|
128
|
-
*
|
|
129
|
-
* @param y y position of the line
|
|
130
|
-
* @return FLIRRemoteLine
|
|
131
|
-
*/
|
|
132
|
-
- (FLIRRemoteLine * _Nullable)addHorizontalLine:(int)y
|
|
133
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
134
|
-
|
|
135
|
-
/** add a measurement line
|
|
136
|
-
*
|
|
137
|
-
* @param x x position of the line
|
|
138
|
-
* @return FLIRRemoteLine
|
|
139
|
-
*/
|
|
140
|
-
- (FLIRRemoteLine * _Nullable)addVerticalLine:(int)x
|
|
141
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
142
|
-
|
|
143
|
-
/** remove a previously added measurement shape
|
|
144
|
-
*
|
|
145
|
-
* @param shape The measurement shape (line, spot, rectangle or circle)
|
|
146
|
-
* @return true if shape removed (i.e. the shape was in the collection)
|
|
147
|
-
*/
|
|
148
|
-
- (BOOL)remove:(FLIRRemoteShape * _Nonnull)shape
|
|
149
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
150
|
-
|
|
151
|
-
/** get all measument points */
|
|
152
|
-
- (NSArray<FLIRRemoteSpot *> * _Nullable) getSpots;
|
|
153
|
-
/** get all measument rectangles */
|
|
154
|
-
- (NSArray<FLIRRemoteRect *> * _Nullable) getRects;
|
|
155
|
-
/** get all measument circles */
|
|
156
|
-
- (NSArray<FLIRRemoteCircle *> * _Nullable) getCircles;
|
|
157
|
-
/** get all measument lines */
|
|
158
|
-
- (NSArray<FLIRRemoteLine *> * _Nullable) getLines;
|
|
159
|
-
|
|
160
|
-
@end
|