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,208 +1,208 @@
1
- //
2
- // FLIRIsotherms.h
3
- // ThermalSDK
4
- //
5
- // Created by FLIR on 2021-04-28.
6
- // Copyright © 2021 Teledyne FLIR. All rights reserved.
7
- //
8
-
9
- #pragma once
10
-
11
- #import <UIKit/UIKit.h>
12
-
13
- #import "FLIRThermalValue.h"
14
-
15
- /** Blending mode to for isotherm with single color */
16
- typedef NS_ENUM(NSInteger, FLIRIsothermBlendingMode) {
17
- /** Use a single color for the isotherm. */
18
- BM_solid,
19
-
20
- /** Use a transparent isotherm. */
21
- BM_transparent,
22
-
23
- /** Use the Y (in YCbCr) value from the palette underneath the isotherm. */
24
- BM_followY,
25
-
26
- /** Link several isotherms by their Y value (in YCbCr). */
27
- BM_linkedY,
28
-
29
- };
30
-
31
- @class FLIRIsotherm;
32
- @class FLIRAboveIsotherm;
33
- @class FLIRBelowIsotherm;
34
- @class FLIRIntervalIsotherm;
35
- @class FLIRHumidityIsotherm;
36
- @class FLIRInsulationIsotherm;
37
-
38
- /**
39
- * fillmode properties of an isotherm
40
- * @note to change an isotherm, @ref setFillmode must be called after changing properties here
41
- * */
42
- @interface FLIRIsothermFillmode : NSObject
43
-
44
- /** palette, a list of colors used for the isotherm, if this is nil, the preset color or color with blending mode is used instead */
45
- @property (nonatomic, retain, nullable) NSArray<UIColor*>* palette;
46
- /** color, not used if palette is set */
47
- @property (nonatomic, retain, nullable) UIColor* color;
48
- /** blending mode, note used if palette is set */
49
- @property (nonatomic, assign) FLIRIsothermBlendingMode blendingMode;
50
-
51
- @end
52
-
53
- /** an interface to the isotherms defined for the image */
54
- @interface FLIRIsotherms : NSObject
55
-
56
- /** add an isotherm with below cutoff */
57
- - (FLIRBelowIsotherm * _Nonnull)addBelowWithCutoff:(FLIRThermalValue * _Nonnull)cutoff
58
- fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
59
- /** add an isotherm with above cutoff */
60
- - (FLIRAboveIsotherm * _Nonnull)addAboveWithCutoff:(FLIRThermalValue * _Nonnull)cutoff
61
- fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
62
- /** add an isotherm with interval */
63
- - (FLIRIntervalIsotherm * _Nonnull)addIntervalWithMin:(FLIRThermalValue * _Nonnull)min
64
- max:(FLIRThermalValue * _Nonnull)max
65
- fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
66
- /** add a humidity point isotherm
67
- */
68
- - (FLIRHumidityIsotherm * _Nonnull)addWithAirHumidity:(float)airHumidity
69
- airHumidityAlarmLevel:(float)airHumidityAlarmLevel
70
- atmosphericTemperature:(FLIRThermalValue * _Nonnull)atmosphericTemperature
71
- fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
72
-
73
- /** add an insulation isotherm
74
- */
75
-
76
- - (FLIRInsulationIsotherm * _Nonnull)addInsulationWithIndoorAirTemperature:(FLIRThermalValue * _Nonnull)indoorAirTemperature
77
- outdoorAirTemperature:(FLIRThermalValue * _Nonnull)outdoorAirTemperature
78
- insulationFactor:(float)insulationFactor
79
- fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
80
-
81
- /** remove an isotherm
82
- */
83
- - (void)remove:(FLIRIsotherm * _Nonnull)isotherm;
84
-
85
- /** remove all isotherms
86
- */
87
- - (void)removeAll;
88
-
89
- /** all isotherms for the image
90
- */
91
- - (NSArray<FLIRIsotherm *> * _Nonnull)getAll;
92
-
93
- /** number of isotherms
94
- */
95
- @property (nonatomic, readonly) NSUInteger count;
96
-
97
- @end
98
-
99
- /** an object with isotherm properties
100
- */
101
- @interface FLIRIsotherm : NSObject
102
-
103
- /** the fillmode of the isotherm
104
- */
105
- @property (nonatomic, nonnull) FLIRIsothermFillmode* fillMode;
106
-
107
- @end
108
-
109
- @interface FLIRCutoffIsotherm : FLIRIsotherm
110
-
111
- /** cutoff temperature
112
- */
113
- @property (nonatomic, nonnull) FLIRThermalValue* cutoff;
114
-
115
- @end
116
-
117
- /**
118
- * An isotherm that is covering an area starting at the cutoff and above that temperature.
119
- */
120
- @interface FLIRAboveIsotherm : FLIRCutoffIsotherm
121
- @end
122
-
123
- /**
124
- * An isotherm that is covering an area starting at the cutoff and below that temperature.
125
- */
126
- @interface FLIRBelowIsotherm : FLIRCutoffIsotherm
127
- @end
128
-
129
- /**
130
- * An isotherm that is covering an area between the defined min and max temperature.
131
- */
132
- @interface FLIRIntervalIsotherm : FLIRIsotherm
133
-
134
- /** min temperature
135
- */
136
- @property (nonatomic, retain, nonnull) FLIRThermalValue* min;
137
-
138
- /** max temperature
139
- */
140
- @property (nonatomic, retain, nonnull) FLIRThermalValue* max;
141
-
142
- @end
143
-
144
- /**
145
- * The humidity isotherm can detect areas where there is a risk of mold growing, or where there is a
146
- * risk of the humidity falling out as liquid water (i.e., the dew point).
147
- */
148
- @interface FLIRHumidityIsotherm : FLIRIsotherm
149
-
150
- /** air humidity in percent (0.0 - 100.0).
151
- */
152
- @property (nonatomic, assign) float airHumidity;
153
-
154
- /** air humidity alarm level in percent (0.0 - 100.0)
155
- */
156
- @property (nonatomic, assign) float airHumidityAlarmLevel;
157
-
158
- /** atmospheric temperature
159
- */
160
- @property (nonatomic, assign, nonnull) FLIRThermalValue *atmosphericTemperature;
161
-
162
-
163
- /** Get the calculated dew point temperature.
164
- */
165
- @property (nonatomic, readonly, nonnull) FLIRThermalValue *dewPointTemperature;
166
-
167
- /** Get the calculated dew point temperature threshold.
168
- */
169
- @property (nonatomic, readonly, nonnull) FLIRThermalValue *thresholdTemperature;
170
-
171
- @end
172
-
173
- /**
174
- * The insulation isotherm can detect areas where there may be an insulation deficiency in the building.
175
- * * It will trigger when the insulation level falls below a preset value of the energy leakage through the
176
- * * building structure - the so-called thermal index/insulation factor. Different building codes recommend different values
177
- * * for the thermal index/insulation factor, but typical values are 60 - 80% for new buildings.
178
- * * Refer to your national building code for recommendations.
179
- */
180
- @interface FLIRInsulationIsotherm : FLIRIsotherm
181
-
182
- /** indoor air temperature
183
- */
184
- @property (nonatomic, retain, nonnull) FLIRThermalValue *indoorAirTemperature;
185
- /** outdoor air temperature
186
- */
187
- @property (nonatomic, retain, nonnull) FLIRThermalValue *outdoorAirTemperature;
188
-
189
- /** insulation factor in percent (0.0 - 100.0).
190
- */
191
- @property (nonatomic, assign) float insulationFactor;
192
-
193
- /** Get the calculated insulation temperature.
194
- */
195
- @property (nonatomic, readonly, nonnull) FLIRThermalValue *insulationTemperature;
196
-
197
- /**
198
- * Calculate the insulation temperature.
199
- * @param indoorAirTemp Indoor air temperature in Kelvin.
200
- * @param outdoorAirTemp Outdoor air temperature in Kelvin.
201
- * @param insulationFactor Insulation factor (0.0 - 1.0).
202
- * @return Insulation temperature in Kelvin
203
- */
204
- + (float)calculateInsulationTempIndoorAirTemp:(float)indoorAirTemp
205
- outdoorAirTemp:(float)outdoorAirTemp
206
- insulationFactor:(float)insulationFactor;
207
-
208
- @end
1
+ //
2
+ // FLIRIsotherms.h
3
+ // ThermalSDK
4
+ //
5
+ // Created by FLIR on 2021-04-28.
6
+ // Copyright © 2021 Teledyne FLIR. All rights reserved.
7
+ //
8
+
9
+ #pragma once
10
+
11
+ #import <UIKit/UIKit.h>
12
+
13
+ #import "FLIRThermalValue.h"
14
+
15
+ /** Blending mode to for isotherm with single color */
16
+ typedef NS_ENUM(NSInteger, FLIRIsothermBlendingMode) {
17
+ /** Use a single color for the isotherm. */
18
+ BM_solid,
19
+
20
+ /** Use a transparent isotherm. */
21
+ BM_transparent,
22
+
23
+ /** Use the Y (in YCbCr) value from the palette underneath the isotherm. */
24
+ BM_followY,
25
+
26
+ /** Link several isotherms by their Y value (in YCbCr). */
27
+ BM_linkedY,
28
+
29
+ };
30
+
31
+ @class FLIRIsotherm;
32
+ @class FLIRAboveIsotherm;
33
+ @class FLIRBelowIsotherm;
34
+ @class FLIRIntervalIsotherm;
35
+ @class FLIRHumidityIsotherm;
36
+ @class FLIRInsulationIsotherm;
37
+
38
+ /**
39
+ * fillmode properties of an isotherm
40
+ * @note to change an isotherm, @ref setFillmode must be called after changing properties here
41
+ * */
42
+ @interface FLIRIsothermFillmode : NSObject
43
+
44
+ /** palette, a list of colors used for the isotherm, if this is nil, the preset color or color with blending mode is used instead */
45
+ @property (nonatomic, retain, nullable) NSArray<UIColor*>* palette;
46
+ /** color, not used if palette is set */
47
+ @property (nonatomic, retain, nullable) UIColor* color;
48
+ /** blending mode, note used if palette is set */
49
+ @property (nonatomic, assign) FLIRIsothermBlendingMode blendingMode;
50
+
51
+ @end
52
+
53
+ /** an interface to the isotherms defined for the image */
54
+ @interface FLIRIsotherms : NSObject
55
+
56
+ /** add an isotherm with below cutoff */
57
+ - (FLIRBelowIsotherm * _Nonnull)addBelowWithCutoff:(FLIRThermalValue * _Nonnull)cutoff
58
+ fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
59
+ /** add an isotherm with above cutoff */
60
+ - (FLIRAboveIsotherm * _Nonnull)addAboveWithCutoff:(FLIRThermalValue * _Nonnull)cutoff
61
+ fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
62
+ /** add an isotherm with interval */
63
+ - (FLIRIntervalIsotherm * _Nonnull)addIntervalWithMin:(FLIRThermalValue * _Nonnull)min
64
+ max:(FLIRThermalValue * _Nonnull)max
65
+ fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
66
+ /** add a humidity point isotherm
67
+ */
68
+ - (FLIRHumidityIsotherm * _Nonnull)addWithAirHumidity:(float)airHumidity
69
+ airHumidityAlarmLevel:(float)airHumidityAlarmLevel
70
+ atmosphericTemperature:(FLIRThermalValue * _Nonnull)atmosphericTemperature
71
+ fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
72
+
73
+ /** add an insulation isotherm
74
+ */
75
+
76
+ - (FLIRInsulationIsotherm * _Nonnull)addInsulationWithIndoorAirTemperature:(FLIRThermalValue * _Nonnull)indoorAirTemperature
77
+ outdoorAirTemperature:(FLIRThermalValue * _Nonnull)outdoorAirTemperature
78
+ insulationFactor:(float)insulationFactor
79
+ fillMode:(FLIRIsothermFillmode * _Nonnull)fillMode;
80
+
81
+ /** remove an isotherm
82
+ */
83
+ - (void)remove:(FLIRIsotherm * _Nonnull)isotherm;
84
+
85
+ /** remove all isotherms
86
+ */
87
+ - (void)removeAll;
88
+
89
+ /** all isotherms for the image
90
+ */
91
+ - (NSArray<FLIRIsotherm *> * _Nonnull)getAll;
92
+
93
+ /** number of isotherms
94
+ */
95
+ @property (nonatomic, readonly) NSUInteger count;
96
+
97
+ @end
98
+
99
+ /** an object with isotherm properties
100
+ */
101
+ @interface FLIRIsotherm : NSObject
102
+
103
+ /** the fillmode of the isotherm
104
+ */
105
+ @property (nonatomic, nonnull) FLIRIsothermFillmode* fillMode;
106
+
107
+ @end
108
+
109
+ @interface FLIRCutoffIsotherm : FLIRIsotherm
110
+
111
+ /** cutoff temperature
112
+ */
113
+ @property (nonatomic, nonnull) FLIRThermalValue* cutoff;
114
+
115
+ @end
116
+
117
+ /**
118
+ * An isotherm that is covering an area starting at the cutoff and above that temperature.
119
+ */
120
+ @interface FLIRAboveIsotherm : FLIRCutoffIsotherm
121
+ @end
122
+
123
+ /**
124
+ * An isotherm that is covering an area starting at the cutoff and below that temperature.
125
+ */
126
+ @interface FLIRBelowIsotherm : FLIRCutoffIsotherm
127
+ @end
128
+
129
+ /**
130
+ * An isotherm that is covering an area between the defined min and max temperature.
131
+ */
132
+ @interface FLIRIntervalIsotherm : FLIRIsotherm
133
+
134
+ /** min temperature
135
+ */
136
+ @property (nonatomic, retain, nonnull) FLIRThermalValue* min;
137
+
138
+ /** max temperature
139
+ */
140
+ @property (nonatomic, retain, nonnull) FLIRThermalValue* max;
141
+
142
+ @end
143
+
144
+ /**
145
+ * The humidity isotherm can detect areas where there is a risk of mold growing, or where there is a
146
+ * risk of the humidity falling out as liquid water (i.e., the dew point).
147
+ */
148
+ @interface FLIRHumidityIsotherm : FLIRIsotherm
149
+
150
+ /** air humidity in percent (0.0 - 100.0).
151
+ */
152
+ @property (nonatomic, assign) float airHumidity;
153
+
154
+ /** air humidity alarm level in percent (0.0 - 100.0)
155
+ */
156
+ @property (nonatomic, assign) float airHumidityAlarmLevel;
157
+
158
+ /** atmospheric temperature
159
+ */
160
+ @property (nonatomic, assign, nonnull) FLIRThermalValue *atmosphericTemperature;
161
+
162
+
163
+ /** Get the calculated dew point temperature.
164
+ */
165
+ @property (nonatomic, readonly, nonnull) FLIRThermalValue *dewPointTemperature;
166
+
167
+ /** Get the calculated dew point temperature threshold.
168
+ */
169
+ @property (nonatomic, readonly, nonnull) FLIRThermalValue *thresholdTemperature;
170
+
171
+ @end
172
+
173
+ /**
174
+ * The insulation isotherm can detect areas where there may be an insulation deficiency in the building.
175
+ * * It will trigger when the insulation level falls below a preset value of the energy leakage through the
176
+ * * building structure - the so-called thermal index/insulation factor. Different building codes recommend different values
177
+ * * for the thermal index/insulation factor, but typical values are 60 - 80% for new buildings.
178
+ * * Refer to your national building code for recommendations.
179
+ */
180
+ @interface FLIRInsulationIsotherm : FLIRIsotherm
181
+
182
+ /** indoor air temperature
183
+ */
184
+ @property (nonatomic, retain, nonnull) FLIRThermalValue *indoorAirTemperature;
185
+ /** outdoor air temperature
186
+ */
187
+ @property (nonatomic, retain, nonnull) FLIRThermalValue *outdoorAirTemperature;
188
+
189
+ /** insulation factor in percent (0.0 - 100.0).
190
+ */
191
+ @property (nonatomic, assign) float insulationFactor;
192
+
193
+ /** Get the calculated insulation temperature.
194
+ */
195
+ @property (nonatomic, readonly, nonnull) FLIRThermalValue *insulationTemperature;
196
+
197
+ /**
198
+ * Calculate the insulation temperature.
199
+ * @param indoorAirTemp Indoor air temperature in Kelvin.
200
+ * @param outdoorAirTemp Outdoor air temperature in Kelvin.
201
+ * @param insulationFactor Insulation factor (0.0 - 1.0).
202
+ * @return Insulation temperature in Kelvin
203
+ */
204
+ + (float)calculateInsulationTempIndoorAirTemp:(float)indoorAirTemp
205
+ outdoorAirTemp:(float)outdoorAirTemp
206
+ insulationFactor:(float)insulationFactor;
207
+
208
+ @end
@@ -1,38 +1,38 @@
1
- //
2
- // FLIRMeasurementArea.h
3
- // FLIR Thermal SDK
4
- //
5
- // Copyright © 2019 Teledyne FLIR. All rights reserved.
6
- //
7
-
8
- #import "FLIRMeasurementMarker.h"
9
-
10
- @class FLIRMeasurementDimensions;
11
-
12
- /**
13
- * Represents a measurement area object.
14
- */
15
- @interface FLIRMeasurementArea : FLIRMeasurementMarker
16
-
17
- /**
18
- * Gets the width of this measurement object.
19
- */
20
- @property (nonatomic, readonly) int width;
21
-
22
- /**
23
- * Gets the height of this measurement object.
24
- */
25
- @property (nonatomic, readonly) int height;
26
-
27
- /**
28
- * Gets the measurement area dimensions
29
- */
30
- - (FLIRMeasurementDimensions * _Nullable)getMeasurementDimensions;
31
-
32
- /**
33
- * Set or get the flag for area calculations
34
- */
35
-
36
- @property (nonatomic, assign) BOOL areaCalc;
37
-
38
- @end
1
+ //
2
+ // FLIRMeasurementArea.h
3
+ // FLIR Thermal SDK
4
+ //
5
+ // Copyright © 2019 Teledyne FLIR. All rights reserved.
6
+ //
7
+
8
+ #import "FLIRMeasurementMarker.h"
9
+
10
+ @class FLIRMeasurementDimensions;
11
+
12
+ /**
13
+ * Represents a measurement area object.
14
+ */
15
+ @interface FLIRMeasurementArea : FLIRMeasurementMarker
16
+
17
+ /**
18
+ * Gets the width of this measurement object.
19
+ */
20
+ @property (nonatomic, readonly) int width;
21
+
22
+ /**
23
+ * Gets the height of this measurement object.
24
+ */
25
+ @property (nonatomic, readonly) int height;
26
+
27
+ /**
28
+ * Gets the measurement area dimensions
29
+ */
30
+ - (FLIRMeasurementDimensions * _Nullable)getMeasurementDimensions;
31
+
32
+ /**
33
+ * Set or get the flag for area calculations
34
+ */
35
+
36
+ @property (nonatomic, assign) BOOL areaCalc;
37
+
38
+ @end