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,247 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeterLinkSensorPoll.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2021-01-19.
|
|
6
|
-
// Copyright © 2021 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
#import <Foundation/Foundation.h>
|
|
12
|
-
|
|
13
|
-
/** Supported data quantities */
|
|
14
|
-
// must match enum ES_QUANTITY
|
|
15
|
-
typedef NS_ENUM(NSInteger, ExternalSensorQuantity) {
|
|
16
|
-
ESQ_INVALID = 0,
|
|
17
|
-
|
|
18
|
-
ESQ_CURRENT,
|
|
19
|
-
ESQ_VOLTAGE,
|
|
20
|
-
ESQ_RESISTANCE,
|
|
21
|
-
ESQ_REACTANCE,
|
|
22
|
-
ESQ_IMPEDANCE,
|
|
23
|
-
ESQ_CONDUCTANCE,
|
|
24
|
-
ESQ_CAPACITANCE,
|
|
25
|
-
ESQ_INDUCTANCE,
|
|
26
|
-
ESQ_EL_FIELD,
|
|
27
|
-
ESQ_MAG_FIELD,
|
|
28
|
-
ESQ_MAG_FLUX,
|
|
29
|
-
ESQ_CHARGE,
|
|
30
|
-
ESQ_TEMPERATURE,
|
|
31
|
-
ESQ___FREE_SLOT,
|
|
32
|
-
ESQ_TIME,
|
|
33
|
-
ESQ_FREQUENCY,
|
|
34
|
-
ESQ_MASS,
|
|
35
|
-
ESQ_FORCE,
|
|
36
|
-
ESQ_PRESSURE,
|
|
37
|
-
ESQ_MOMENTUM,
|
|
38
|
-
ESQ_TORQUE,
|
|
39
|
-
ESQ_SPEED,
|
|
40
|
-
ESQ_ACCELERATION,
|
|
41
|
-
ESQ_ENERGY,
|
|
42
|
-
ESQ_POWER,
|
|
43
|
-
ESQ_ENTHALPY,
|
|
44
|
-
ESQ_RELHUMIDITY,
|
|
45
|
-
ESQ_ABSHUMIDITY,
|
|
46
|
-
ESQ_RELMOISTURE,
|
|
47
|
-
ESQ_DISTANCE,
|
|
48
|
-
ESQ_ANGLE,
|
|
49
|
-
ESQ_RADIOACTIVITY,
|
|
50
|
-
ESQ_RAD_EXPOSURE,
|
|
51
|
-
ESQ_RAD_ABS_DOSE,
|
|
52
|
-
ESQ_RAD_EQ_DOSE,
|
|
53
|
-
ESQ_MASS_MASS_FRAC,
|
|
54
|
-
ESQ_MASS_VOL_FRAC,
|
|
55
|
-
ESQ_VOL_VOL_FRAC,
|
|
56
|
-
ESQ_RAD_FLUX,
|
|
57
|
-
ESQ_LUM_FLUX,
|
|
58
|
-
ESQ_LUM_INTENSITY,
|
|
59
|
-
ESQ_ILLUMINANCE,
|
|
60
|
-
ESQ_POWER_FACTOR,
|
|
61
|
-
|
|
62
|
-
ESQ_NONE, // New with Meterlink 2.1. Previous, SI units. But with MeterLink 2.1, this are more basic units.
|
|
63
|
-
ESQ_NO_IMPL, // Not mapped so far.
|
|
64
|
-
ESQ_ADMITTANCE,
|
|
65
|
-
ESQ_RPM,
|
|
66
|
-
ESQ_DUTYCYCLE,
|
|
67
|
-
ESQ_TEST_VOLT,
|
|
68
|
-
ESQ_POLAR_INDEX,
|
|
69
|
-
ESQ_DAR,
|
|
70
|
-
ESQ_EBOND_TEST_VOLT,
|
|
71
|
-
ESQ_EBOND_TEST,
|
|
72
|
-
ESQ_20MA,
|
|
73
|
-
ESQ_PHASE,
|
|
74
|
-
ESQ_HARMONIC_LEV,
|
|
75
|
-
ESQ_HARMONIC_THD,
|
|
76
|
-
ESQ_CREST,
|
|
77
|
-
ESQ_QUALITY_FACT,
|
|
78
|
-
ESQ_DISSIPATION,
|
|
79
|
-
ESQ_ESR,
|
|
80
|
-
ESQ_AC_TESTER_LOAD,
|
|
81
|
-
ESQ_AC_TESTER_UNLOAD_VOLT,
|
|
82
|
-
ESQ_AC_TESTER_LOAD_VOLT,
|
|
83
|
-
ESQ_AC_TESTER_DROP,
|
|
84
|
-
ESQ_RECEPTACLE_TEST,
|
|
85
|
-
ESQ_AFCI,
|
|
86
|
-
ESQ_GFCI,
|
|
87
|
-
ESQ_GFCI_TRIP_CURR,
|
|
88
|
-
ESQ_GFCI_TRIP_TIME,
|
|
89
|
-
ESQ_EDP_TRIP_CURR,
|
|
90
|
-
ESQ_NEUTRAL_GROUND,
|
|
91
|
-
ESQ_HOT_IMP,
|
|
92
|
-
ESQ_NEUTRAL_IMP,
|
|
93
|
-
ESQ_GROUND_IMP,
|
|
94
|
-
ESQ_SHORT_CIRC_CURRENT,
|
|
95
|
-
ESQ_EMISSIVITY,
|
|
96
|
-
ESQ_RESMOISTURE,
|
|
97
|
-
ESQ_GROUP,
|
|
98
|
-
ESQ_CAPMOISTURE,
|
|
99
|
-
ESQ_SOILMOISTURE,
|
|
100
|
-
ESQ_AREA,
|
|
101
|
-
ESQ_VOLUME,
|
|
102
|
-
ESQ_EMF_FREQ,
|
|
103
|
-
ESQ_EMF_STRENGTH,
|
|
104
|
-
ESQ_WEIGHT,
|
|
105
|
-
ESQ_IRRADIANCE,
|
|
106
|
-
ESQ_COMPBEARING,
|
|
107
|
-
ESQ_PITCH,
|
|
108
|
-
ESQ_LATITUDE,
|
|
109
|
-
ESQ_LONGITUDE,
|
|
110
|
-
ESQ_ALTITUDE,
|
|
111
|
-
|
|
112
|
-
ESQ_LAST
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
/** Supported data aux info */
|
|
116
|
-
// must match enum ES_AUX_INFO
|
|
117
|
-
typedef NS_ENUM(NSInteger, ExternalSensorAuxInfo) {
|
|
118
|
-
ESAI_INVALID = 0,
|
|
119
|
-
|
|
120
|
-
ESAI_DC, //!< Voltage/current is DC
|
|
121
|
-
ESAI_AC, //!< Voltage/current is AC
|
|
122
|
-
ESAI_INT, //!< Measurement is internal
|
|
123
|
-
ESAI_EXT, //!< Measurement is external
|
|
124
|
-
ESAI_MIN__DEPR, //!< This was actually peak min, moved to ES_MEAS_INFO
|
|
125
|
-
ESAI_MAX__DEPR, //!< This was actually peak max, moved to ES_MEAS_INFO
|
|
126
|
-
ESAI_DEW, //!< Temperature is dew point temp.
|
|
127
|
-
ESAI_AIR, //!< Temperature is air temp.
|
|
128
|
-
ESAI_IR, //!< Temperature is IR reflected temp.
|
|
129
|
-
ESAI_K, //!< Temperature is thermocouple type K temp.
|
|
130
|
-
ESAI_COND, //!< Temperature is condensation temp.
|
|
131
|
-
ESAI_DB, //!< Temperature is dry bulb temp.
|
|
132
|
-
ESAI_WB, //!< Temperature is wet bulb temp.
|
|
133
|
-
ESAI_WME, //!< Mass fraction is wood moisture equivalent
|
|
134
|
-
ESAI_AC_DC, //!< Voltage/current is AC+DC (CM83)
|
|
135
|
-
ESAI_VFD, //!< LowPassFilter is applied before measument, intended for VariableFrequencyDrives (VFD)(CM83)
|
|
136
|
-
ESAI_THD, //!< THD Total Harmonic Mode (CM83)
|
|
137
|
-
ESAI_PF, //!< Power Factor (CM83)
|
|
138
|
-
|
|
139
|
-
// New in MeterLink 2.1
|
|
140
|
-
ESAI_WGBT, //!< Temperature is wet bulb global temp.
|
|
141
|
-
|
|
142
|
-
ESAI_LAST
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
/** Measurement info */
|
|
146
|
-
// must match enum ES_MEAS_INFO
|
|
147
|
-
typedef NS_ENUM(NSInteger, ExternalSensorMeasInfo) {
|
|
148
|
-
ESMI_INVALID = 0,
|
|
149
|
-
|
|
150
|
-
ESMI_MIN, //!< Minimum value
|
|
151
|
-
ESMI_MAX, //!< Maximum value
|
|
152
|
-
ESMI_PEAKMIN, //!< Peak min value
|
|
153
|
-
ESMI_PEAKMAX, //!< Peak max value
|
|
154
|
-
ESMI_PEAKTOPEAK, //!< Value is peak-to-peak
|
|
155
|
-
ESMI_MEAN, //!< Mean value
|
|
156
|
-
ESMI_RMS, //!< Root mean square value
|
|
157
|
-
ESMI_MEDIAN, //!< Median value
|
|
158
|
-
ESMI_ALARM, //!< Alarm from measuring device
|
|
159
|
-
ESMI_HOLD, //!< Measuring device are in HOLD
|
|
160
|
-
ESMI_ERROR, //!< Measuring device reports error.
|
|
161
|
-
|
|
162
|
-
ESMI_LAST
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
/** Type of Meterlink device */
|
|
166
|
-
// must match enum class MeterType
|
|
167
|
-
typedef NS_ENUM(NSInteger, ExternalSensorMeterType) {
|
|
168
|
-
ESMT_OTHER = 0,
|
|
169
|
-
ESMT_DMM,
|
|
170
|
-
ESMT_CLAMP,
|
|
171
|
-
ESMT_TEMPERATUREMETER,
|
|
172
|
-
ESMT_RHMETER,
|
|
173
|
-
ESMT_ANEMOMETER,
|
|
174
|
-
ESMT_MANOMETER,
|
|
175
|
-
ESMT_MOISTURE,
|
|
176
|
-
ESMT_GASSENSOR,
|
|
177
|
-
ESMT_WATERQUALITY,
|
|
178
|
-
ESMT_VIBRATIONMETER,
|
|
179
|
-
ESMT_SOUNDMETER,
|
|
180
|
-
ESMT_WEIGHTSCALE,
|
|
181
|
-
ESMT_SPEED,
|
|
182
|
-
ESMT_TACHOMETER,
|
|
183
|
-
ESMT_PRESSUREMETER,
|
|
184
|
-
ESMT_LAST,
|
|
185
|
-
ESMT_INVALID = 0XFF
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Holds information of a MeterLink sensor poll and value contained in an image
|
|
190
|
-
*/
|
|
191
|
-
@interface FLIRMeterLinkSensorPoll : NSObject
|
|
192
|
-
|
|
193
|
-
/** Meterlink protocol version. 0,1 = Meterlink 2.0. 2 = Meterlink 2.1, 3 = Meterlink 3.0 */
|
|
194
|
-
@property (nonatomic, readonly) NSInteger protocolVersion;
|
|
195
|
-
|
|
196
|
-
/** Model name of Meterlink device, e.g. "CM83" */
|
|
197
|
-
@property (nonatomic, readonly, nonnull) NSString *modelName;
|
|
198
|
-
|
|
199
|
-
/** Device serial number */
|
|
200
|
-
@property (nonatomic, readonly, nonnull) NSString *serialNumber;
|
|
201
|
-
|
|
202
|
-
/** Device type */
|
|
203
|
-
@property (nonatomic, readonly) ExternalSensorMeterType meterType;
|
|
204
|
-
|
|
205
|
-
/** Value quantity (invalid if unknown) */
|
|
206
|
-
@property (nonatomic, readonly) ExternalSensorQuantity quantity;
|
|
207
|
-
|
|
208
|
-
/** Value quantity as string */
|
|
209
|
-
@property (nonatomic, readonly, nonnull) NSString *quantityString;
|
|
210
|
-
|
|
211
|
-
/** Auxillary information (invalid if unknown) */
|
|
212
|
-
@property (nonatomic, readonly) ExternalSensorAuxInfo auxInfo;
|
|
213
|
-
|
|
214
|
-
/** Auxillary information as string */
|
|
215
|
-
@property (nonatomic, readonly, nonnull) NSString *auxInfoString;
|
|
216
|
-
|
|
217
|
-
/** Measure information (invalid if unknown) */
|
|
218
|
-
@property (nonatomic, readonly) ExternalSensorMeasInfo measInfo;
|
|
219
|
-
|
|
220
|
-
/** Measure information as string */
|
|
221
|
-
@property (nonatomic, readonly, nonnull) NSString *measInfoString;
|
|
222
|
-
|
|
223
|
-
/** Time when the message was parsed */
|
|
224
|
-
@property (nonatomic, readonly, nonnull) NSDate *timeStamp;
|
|
225
|
-
|
|
226
|
-
/** Value */
|
|
227
|
-
@property (nonatomic, readonly) double value;
|
|
228
|
-
|
|
229
|
-
/** Value as string */
|
|
230
|
-
@property (nonatomic, readonly, nonnull) NSString *valueString;
|
|
231
|
-
|
|
232
|
-
/** Number of significant numbers in value */
|
|
233
|
-
@property (nonatomic, readonly) NSInteger precision;
|
|
234
|
-
|
|
235
|
-
/** Value is difference */
|
|
236
|
-
@property (nonatomic, readonly) BOOL isDifference;
|
|
237
|
-
|
|
238
|
-
/** Value is valid */
|
|
239
|
-
@property (nonatomic, readonly) BOOL isValueValid;
|
|
240
|
-
|
|
241
|
-
/** -9=nano, -6=u, -3=milli, +3=kilo, etc. Only available for protocolVersion>=2 */
|
|
242
|
-
@property (nonatomic, readonly) NSInteger unitPrefix;
|
|
243
|
-
|
|
244
|
-
/** Index of value for a multi sensor-reading packet. Only available for protocolVersion>=2 */
|
|
245
|
-
@property (nonatomic, readonly) NSInteger index;
|
|
246
|
-
|
|
247
|
-
@end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIROverlayController.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-09-15.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Controls the visual overlay with settings and scale on a camera
|
|
15
|
-
*/
|
|
16
|
-
@interface FLIROverlayController : NSObject
|
|
17
|
-
|
|
18
|
-
/** Check if camera has overlay */
|
|
19
|
-
- (BOOL)getIsAvailable;
|
|
20
|
-
/** Check if overlay is hidden */
|
|
21
|
-
- (BOOL)getIsHidden;
|
|
22
|
-
/** Set overlay hidden */
|
|
23
|
-
- (BOOL)setIsHidden: (BOOL)hidden error:(out NSError * _Nullable *_Nullable)error;
|
|
24
|
-
|
|
25
|
-
@end
|
|
26
|
-
|
|
27
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRPalette.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import <UIKit/UIKit.h>
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Defines a palette representation, which can be applied to the ThermalImage in order to display it in specified colors.
|
|
13
|
-
* The palette is a set of colors applied to the temperature or signal data stored in the ThermalImage.
|
|
14
|
-
* Thanks to that each temperature / signal value can be displayed in specific color.
|
|
15
|
-
* This creates a visual representation of the ThermalImage.
|
|
16
|
-
* A Palette's object cannot be created directly.
|
|
17
|
-
* It can be obtained from ThermalImage by calling ThermalImage.getPalette() method.
|
|
18
|
-
* This method will always return an Palette instance.
|
|
19
|
-
* A ThermalImage has to have palette set in order to be presented to the User.
|
|
20
|
-
*
|
|
21
|
-
* The Palette for ThermalImage can be changed. In order to get the other palettes a PaletteManager class should be used.
|
|
22
|
-
* It can provide the list of predefined palettes and allows to load more palettes as well from a user-defined location.
|
|
23
|
-
*/
|
|
24
|
-
@interface FLIRPalette : NSObject
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets and sets the color of the above span.
|
|
28
|
-
*/
|
|
29
|
-
@property (readwrite) UIColor * _Nonnull aboveSpanColor;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Gets and sets the color of the below span.
|
|
33
|
-
*/
|
|
34
|
-
@property (readwrite) UIColor * _Nonnull belowSpanColor;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets and sets the color of the overflow.
|
|
38
|
-
*/
|
|
39
|
-
@property (readwrite) UIColor * _Nonnull overflowColor;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Gets and sets the color of the underflow.
|
|
43
|
-
*/
|
|
44
|
-
@property (readwrite) UIColor * _Nonnull underflowColor;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Gets or sets list of all the colors defining the palette.
|
|
48
|
-
*/
|
|
49
|
-
@property (readwrite) NSArray<UIColor *> * _Nonnull paletteColors;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Inverts the colors i.e. warm colors are shown as cold.
|
|
53
|
-
*/
|
|
54
|
-
@property (readwrite) BOOL isInverted;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Name of the Palette
|
|
58
|
-
*/
|
|
59
|
-
@property (readwrite) NSString * _Nonnull name;
|
|
60
|
-
@end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRPaletteController.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
|
-
#import "FLIRCameraImport.h"
|
|
11
|
-
|
|
12
|
-
/** camera palette */
|
|
13
|
-
@interface FLIRRemotePalette : NSObject
|
|
14
|
-
|
|
15
|
-
/** name of palette */
|
|
16
|
-
@property (nonatomic, retain, nonnull) NSString* name;
|
|
17
|
-
/** inverted state of palette */
|
|
18
|
-
@property (nonatomic, assign) BOOL isInverted;
|
|
19
|
-
/** Holds remote absolute path where palette file is stored on a particular camera, i.e.: "/FLIR/usr/etc/iron.pal". */
|
|
20
|
-
@property (nonatomic, retain, nonnull) FLIRFileReference *fileReference;
|
|
21
|
-
|
|
22
|
-
@end
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Controller for the camera palettes
|
|
26
|
-
*/
|
|
27
|
-
@interface FLIRPaletteController : NSObject
|
|
28
|
-
|
|
29
|
-
/** get current palette on camera */
|
|
30
|
-
- (FLIRRemotePalette* _Nullable)getCurrentPalette;
|
|
31
|
-
/** set current palette on camera */
|
|
32
|
-
- (BOOL)setCurrentPalette: (FLIRRemotePalette* _Nonnull)currentPalette error: (out NSError * _Nullable *_Nullable)error;
|
|
33
|
-
/** list available palettes on camera */
|
|
34
|
-
- (NSArray<FLIRRemotePalette*>* _Nullable) getAvailablePalettes;
|
|
35
|
-
|
|
36
|
-
@end
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRPaletteManager.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "FLIRPalette.h"
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The palette manager is a way to get the default palettes. These palettes can be applied to a thermal image, to change its look.
|
|
13
|
-
* Every palette has a different color for a different temperature.
|
|
14
|
-
* Some Palettes provide better contrast, while other expose the important details.
|
|
15
|
-
*/
|
|
16
|
-
@interface FLIRPaletteManager : NSObject
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Gets the Arctic Palette.
|
|
20
|
-
*/
|
|
21
|
-
@property (readonly) FLIRPalette *arctic;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets the blackhot Palette.
|
|
25
|
-
*/
|
|
26
|
-
@property (readonly) FLIRPalette *blackhot;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Gets the gray / "black and white" Palette
|
|
30
|
-
*/
|
|
31
|
-
@property (readonly) FLIRPalette *gray;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Gets the iron Palette.
|
|
35
|
-
*/
|
|
36
|
-
@property (readonly) FLIRPalette *iron;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Gets the lava Palette.
|
|
40
|
-
*/
|
|
41
|
-
@property (readonly) FLIRPalette *lava;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Gets the rainbow Palette.
|
|
45
|
-
*/
|
|
46
|
-
@property (readonly) FLIRPalette *rainbow;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Gets the rainbow HighContrast Palette.
|
|
50
|
-
*/
|
|
51
|
-
@property (readonly) FLIRPalette *rainHC;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Gets the coldest Palette.
|
|
55
|
-
*/
|
|
56
|
-
@property (readonly) FLIRPalette *coldest;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Gets the hottest Palette.
|
|
60
|
-
*/
|
|
61
|
-
@property (readonly) FLIRPalette *hottest;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Gets the colorWheel6 Palette.
|
|
65
|
-
*/
|
|
66
|
-
@property (readonly) FLIRPalette *colorWheel6;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Gets the doubleRainbow Palette.
|
|
70
|
-
*/
|
|
71
|
-
@property (readonly) FLIRPalette *doubleRainbow;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Gets the whitehot Palette.
|
|
75
|
-
*/
|
|
76
|
-
@property (readonly) FLIRPalette *whitehot;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Gets a list of default Palettes.
|
|
80
|
-
*
|
|
81
|
-
* @return an array with the default palettes
|
|
82
|
-
*/
|
|
83
|
-
- (NSArray<FLIRPalette*>*)getDefaultPalettes;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Open a palette from file.
|
|
87
|
-
*
|
|
88
|
-
* @return a palette object based on palette file
|
|
89
|
-
*/
|
|
90
|
-
- (FLIRPalette *) openPalette:(NSURL *) paletteFile;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Get the default manager
|
|
94
|
-
*/
|
|
95
|
-
+ (instancetype)default;
|
|
96
|
-
|
|
97
|
-
@end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRQuantification.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by Teledyne 2023-04-27.
|
|
6
|
-
// Copyright © 2023 Teledyne. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
///Describes the type of a gas leak
|
|
12
|
-
typedef NS_ENUM(NSInteger, FLIRGasLeakType) {
|
|
13
|
-
/// Point-shaped leak
|
|
14
|
-
FLIRGasLeakType_point,
|
|
15
|
-
/// Diffused leak
|
|
16
|
-
FLIRGasLeakType_diffused
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/// Describes the wind speed conditions
|
|
20
|
-
typedef NS_ENUM(NSInteger, FLIRWindSpeed) {
|
|
21
|
-
/// Calm wind.
|
|
22
|
-
FLIRWindSpeed_calm,
|
|
23
|
-
/// Normal wind speed.
|
|
24
|
-
FLIRWindSpeed_normal,
|
|
25
|
-
/// High wind speed.
|
|
26
|
-
FLIRWindSpeed_high
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/// Gas quantification information
|
|
30
|
-
@interface FLIRGasQuantificationInput : NSObject
|
|
31
|
-
/// Temperature of surrounding environment
|
|
32
|
-
@property (nonatomic, readonly) double ambientTemperature;
|
|
33
|
-
/// Name of the gas
|
|
34
|
-
@property (nonatomic, readonly, nonnull) NSString* gas;
|
|
35
|
-
/// Type of gas leak
|
|
36
|
-
@property (nonatomic, readonly) FLIRGasLeakType leakType;
|
|
37
|
-
/// Wind speed
|
|
38
|
-
@property (nonatomic, readonly) FLIRWindSpeed windSpeed;
|
|
39
|
-
/// Distance to object in meters
|
|
40
|
-
@property (nonatomic, readonly) NSInteger distance;
|
|
41
|
-
/// Detection threshold temperature difference
|
|
42
|
-
@property (nonatomic, readonly) double thresholdDeltaTemperature;
|
|
43
|
-
/// True if gas is warmer than the surrounding environment
|
|
44
|
-
@property (nonatomic, readonly) BOOL emissive;
|
|
45
|
-
|
|
46
|
-
@end
|
|
47
|
-
|
|
48
|
-
/// Gas quantification result information
|
|
49
|
-
@interface FLIRGasQuantificationResult : NSObject
|
|
50
|
-
/// Amount of gas flow
|
|
51
|
-
@property (nonatomic, readonly) double flow;
|
|
52
|
-
/// Gas concentration
|
|
53
|
-
@property (nonatomic, readonly) double concentration;
|
|
54
|
-
|
|
55
|
-
@end
|