ilabs-flir 1.0.1 → 1.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.
Files changed (117) hide show
  1. package/Flir.podspec +31 -31
  2. package/README.md +1271 -1271
  3. package/android/Flir/build.gradle.kts +85 -80
  4. package/android/Flir/libs/flir-stubs.jar +0 -0
  5. package/android/Flir/src/main/AndroidManifest.xml +31 -31
  6. package/android/Flir/src/main/java/com/flir/thermalsdk/ErrorCodeException.java +14 -0
  7. package/android/Flir/src/main/java/com/flir/thermalsdk/image/ImageBuffer.java +11 -0
  8. package/android/Flir/src/main/java/com/flir/thermalsdk/image/JavaImageBuffer.java +35 -0
  9. package/android/Flir/src/main/java/com/flir/thermalsdk/image/Palette.java +15 -0
  10. package/android/Flir/src/main/java/com/flir/thermalsdk/image/PaletteManager.java +16 -0
  11. package/android/Flir/src/main/java/com/flir/thermalsdk/image/Point.java +11 -0
  12. package/android/Flir/src/main/java/com/flir/thermalsdk/image/ThermalImage.java +23 -0
  13. package/android/Flir/src/main/java/com/flir/thermalsdk/image/ThermalValue.java +9 -0
  14. package/android/Flir/src/main/java/com/flir/thermalsdk/live/CameraType.java +8 -0
  15. package/android/Flir/src/main/java/com/flir/thermalsdk/live/CommunicationInterface.java +16 -0
  16. package/android/Flir/src/main/java/com/flir/thermalsdk/live/Identity.java +23 -0
  17. package/android/Flir/src/main/java/com/flir/thermalsdk/live/IpSettings.java +9 -0
  18. package/android/Flir/src/main/java/com/flir/thermalsdk/live/connectivity/ConnectionStatusListener.java +7 -0
  19. package/android/Flir/src/main/java/com/flir/thermalsdk/live/remote/OnReceived.java +5 -0
  20. package/android/Flir/src/main/java/com/flir/thermalsdk/live/remote/OnRemoteError.java +7 -0
  21. package/android/Flir/src/main/java/flir/android/CameraHandler.java +224 -194
  22. package/android/Flir/src/main/java/flir/android/FlirCommands.java +111 -0
  23. package/android/Flir/src/main/java/flir/android/FlirConnectionManager.java +354 -0
  24. package/android/Flir/src/main/java/flir/android/FlirController.kt +11 -11
  25. package/android/Flir/src/main/java/flir/android/FlirDiscoveryManager.java +236 -0
  26. package/android/Flir/src/main/java/flir/android/FlirDownloadManager.kt +75 -75
  27. package/android/Flir/src/main/java/flir/android/FlirDownloadPackage.kt +16 -16
  28. package/android/Flir/src/main/java/flir/android/FlirFrameCache.kt +6 -6
  29. package/android/Flir/src/main/java/flir/android/FlirManager.kt +254 -248
  30. package/android/Flir/src/main/java/flir/android/FlirModule.kt +74 -74
  31. package/android/Flir/src/main/java/flir/android/FlirPackage.kt +19 -16
  32. package/android/Flir/src/main/java/flir/android/FlirSDKLoader.kt +195 -191
  33. package/android/Flir/src/main/java/flir/android/FlirSdkManager.java +890 -0
  34. package/android/Flir/src/main/java/flir/android/FlirStatus.kt +12 -12
  35. package/android/Flir/src/main/java/flir/android/FlirView.kt +48 -48
  36. package/android/Flir/src/main/java/flir/android/FlirViewManager.kt +13 -13
  37. package/android/Flir/src/main/java/flir/android/FrameDataHolder.java +14 -14
  38. package/app.plugin.js +264 -264
  39. package/expo-module.config.json +5 -5
  40. package/ios/Flir/Framework/ThermalSDK/FLIRBattery.h +76 -76
  41. package/ios/Flir/Framework/ThermalSDK/FLIRCalibration.h +108 -108
  42. package/ios/Flir/Framework/ThermalSDK/FLIRCamera.h +156 -156
  43. package/ios/Flir/Framework/ThermalSDK/FLIRCameraDeviceInfo.h +53 -53
  44. package/ios/Flir/Framework/ThermalSDK/FLIRCameraEvent.h +132 -132
  45. package/ios/Flir/Framework/ThermalSDK/FLIRCameraImport.h +204 -204
  46. package/ios/Flir/Framework/ThermalSDK/FLIRColorDistributionSettings.h +204 -204
  47. package/ios/Flir/Framework/ThermalSDK/FLIRColorizer.h +82 -82
  48. package/ios/Flir/Framework/ThermalSDK/FLIRDiscoveredCamera.h +44 -44
  49. package/ios/Flir/Framework/ThermalSDK/FLIRDiscovery.h +132 -132
  50. package/ios/Flir/Framework/ThermalSDK/FLIRDisplaySettings.h +29 -29
  51. package/ios/Flir/Framework/ThermalSDK/FLIRFocus.h +70 -70
  52. package/ios/Flir/Framework/ThermalSDK/FLIRFusion.h +192 -192
  53. package/ios/Flir/Framework/ThermalSDK/FLIRFusionController.h +136 -136
  54. package/ios/Flir/Framework/ThermalSDK/FLIRFusionTransformation.h +35 -35
  55. package/ios/Flir/Framework/ThermalSDK/FLIRIdentity.h +264 -264
  56. package/ios/Flir/Framework/ThermalSDK/FLIRImageBase.h +196 -196
  57. package/ios/Flir/Framework/ThermalSDK/FLIRImageColorizer.h +26 -26
  58. package/ios/Flir/Framework/ThermalSDK/FLIRImageStatistics.h +61 -61
  59. package/ios/Flir/Framework/ThermalSDK/FLIRIsotherms.h +208 -208
  60. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementArea.h +38 -38
  61. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementCollection.h +147 -147
  62. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDelta.h +62 -62
  63. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDimensions.h +33 -33
  64. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementEllipse.h +49 -49
  65. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementLine.h +66 -66
  66. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementMarker.h +69 -69
  67. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementParameters.h +41 -41
  68. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementRectangle.h +36 -36
  69. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementReference.h +27 -27
  70. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementShape.h +46 -46
  71. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementSpot.h +33 -33
  72. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementsController.h +160 -160
  73. package/ios/Flir/Framework/ThermalSDK/FLIRMeterLinkSensorPoll.h +247 -247
  74. package/ios/Flir/Framework/ThermalSDK/FLIROverlayController.h +27 -27
  75. package/ios/Flir/Framework/ThermalSDK/FLIRPalette.h +60 -60
  76. package/ios/Flir/Framework/ThermalSDK/FLIRPaletteController.h +36 -36
  77. package/ios/Flir/Framework/ThermalSDK/FLIRPaletteManager.h +97 -97
  78. package/ios/Flir/Framework/ThermalSDK/FLIRQuantification.h +55 -55
  79. package/ios/Flir/Framework/ThermalSDK/FLIRRemoteControl.h +393 -393
  80. package/ios/Flir/Framework/ThermalSDK/FLIRRenderer.h +35 -35
  81. package/ios/Flir/Framework/ThermalSDK/FLIRRendererImpl.h +17 -17
  82. package/ios/Flir/Framework/ThermalSDK/FLIRScale.h +99 -99
  83. package/ios/Flir/Framework/ThermalSDK/FLIRScaleController.h +44 -44
  84. package/ios/Flir/Framework/ThermalSDK/FLIRStream.h +109 -109
  85. package/ios/Flir/Framework/ThermalSDK/FLIRStreamer.h +124 -124
  86. package/ios/Flir/Framework/ThermalSDK/FLIRSystem.h +40 -40
  87. package/ios/Flir/Framework/ThermalSDK/FLIRTemperatureRange.h +43 -43
  88. package/ios/Flir/Framework/ThermalSDK/FLIRThermalDelta.h +77 -77
  89. package/ios/Flir/Framework/ThermalSDK/FLIRThermalImage.h +331 -331
  90. package/ios/Flir/Framework/ThermalSDK/FLIRThermalImageFile.h +56 -56
  91. package/ios/Flir/Framework/ThermalSDK/FLIRThermalParameters.h +31 -31
  92. package/ios/Flir/Framework/ThermalSDK/FLIRThermalValue.h +92 -92
  93. package/ios/Flir/Framework/ThermalSDK/FLIRWirelessCameraDetails.h +88 -88
  94. package/ios/Flir/Framework/ThermalSDK/ThermalSDK.h +73 -73
  95. package/ios/Flir/SDKLoader/FlirSDKLoader.m +13 -13
  96. package/ios/Flir/SDKLoader/FlirSDKLoader.swift +175 -175
  97. package/ios/Flir/src/FlirEventEmitter.h +12 -12
  98. package/ios/Flir/src/FlirEventEmitter.m +33 -33
  99. package/ios/Flir/src/FlirModule.h +10 -10
  100. package/ios/Flir/src/FlirModule.m +381 -381
  101. package/ios/Flir/src/FlirPreviewView.h +13 -13
  102. package/ios/Flir/src/FlirPreviewView.m +24 -24
  103. package/ios/Flir/src/FlirState.h +20 -20
  104. package/ios/Flir/src/FlirState.m +79 -79
  105. package/ios/Flir/src/FlirViewManager.h +9 -9
  106. package/ios/Flir/src/FlirViewManager.m +16 -16
  107. package/package.json +61 -61
  108. package/react-native.config.js +14 -14
  109. package/scripts/copy_ios_libs.sh +32 -32
  110. package/scripts/create_stubs.py +174 -174
  111. package/scripts/download-sdk.js +62 -62
  112. package/scripts/prepare-binaries.sh +171 -171
  113. package/sdk-manifest.json +30 -30
  114. package/src/FlirDownload.ts +78 -78
  115. package/src/index.d.ts +17 -17
  116. package/src/index.js +7 -7
  117. package/src/index.ts +7 -7
@@ -1,66 +1,66 @@
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
+ //
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 +1,69 @@
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
+ //
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 +1,41 @@
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
+ //
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 +1,36 @@
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
+ //
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 +1,27 @@
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
+ //
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 +1,46 @@
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
+ //
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 +1,33 @@
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
+ //
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