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,393 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRRemoteControl.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Created on 2018-09-05.
|
|
6
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
// Camera remote control. Can read, manipulate and listen for events from a Camera.
|
|
9
|
-
//
|
|
10
|
-
|
|
11
|
-
#pragma once
|
|
12
|
-
|
|
13
|
-
#import <Foundation/Foundation.h>
|
|
14
|
-
#import "FLIRIdentity.h"
|
|
15
|
-
#import "FLIRBattery.h"
|
|
16
|
-
#import "FLIRCalibration.h"
|
|
17
|
-
#import "FLIRFusionController.h"
|
|
18
|
-
#import "FLIRCameraImport.h"
|
|
19
|
-
#import "FLIRThermalValue.h"
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Path to a stored image (or IR+visual pair of images) on a camera.
|
|
23
|
-
*/
|
|
24
|
-
@interface FLIRStoredImage : NSObject
|
|
25
|
-
/** Reference to the thermalimage */
|
|
26
|
-
@property (nonatomic, nonnull, readwrite) FLIRFileReference *thermalImage;
|
|
27
|
-
/** Reference to the visualimage. */
|
|
28
|
-
@property (nonatomic, nullable, readwrite) FLIRFileReference *visualImage;
|
|
29
|
-
@end
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Describes a state of a FLIR camera.
|
|
34
|
-
*/
|
|
35
|
-
typedef NS_ENUM(NSUInteger, FLIRCameraState)
|
|
36
|
-
{
|
|
37
|
-
/** Camera is not ready */
|
|
38
|
-
NOT_READY,
|
|
39
|
-
/** Camera is cooling down */
|
|
40
|
-
COOLING,
|
|
41
|
-
/** Camera is ready */
|
|
42
|
-
READY
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Progress status for firmware update. (Internal use only.)
|
|
47
|
-
*/
|
|
48
|
-
typedef NS_ENUM(NSUInteger, FLIRFirmwareUpdateStatus)
|
|
49
|
-
{
|
|
50
|
-
/// no firmware update is started
|
|
51
|
-
US_noUpdate,
|
|
52
|
-
/// information on firmware update progress
|
|
53
|
-
US_info,
|
|
54
|
-
/// the firmware update failed, camera will be rebooted
|
|
55
|
-
US_failure,
|
|
56
|
-
/// the firmware update was successful, camera will be rebooted
|
|
57
|
-
US_success,
|
|
58
|
-
/// the firmware update is ongoing, camera is rebooting
|
|
59
|
-
US_rebooting,
|
|
60
|
-
/// the firmware update starts writing a package
|
|
61
|
-
US_startWritingPackage,
|
|
62
|
-
/// the firmware update has written a package
|
|
63
|
-
US_doneWritingPackage,
|
|
64
|
-
/// there was a failure writing a package
|
|
65
|
-
US_failureWritingPackage,
|
|
66
|
-
/// the firmware update starts
|
|
67
|
-
US_startExecutingUpdate,
|
|
68
|
-
/// the firmware update is done
|
|
69
|
-
US_doneExecutingUpdate,
|
|
70
|
-
/// the firmware update cannot start, since the camera is in normal mode instead of upgrade mode
|
|
71
|
-
US_failureInvalidMode,
|
|
72
|
-
/// the package write failed, retry
|
|
73
|
-
US_retryWritingPackage
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/// Time format for time display on camera
|
|
77
|
-
typedef NS_ENUM(NSUInteger, FLIRTimeDisplayFormat)
|
|
78
|
-
{
|
|
79
|
-
/// 12h (e.g. 1.00 pm)
|
|
80
|
-
TF_t12H,
|
|
81
|
-
/// 24h (e.g. 13.00)
|
|
82
|
-
TF_t24H
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/// Date format for date display on camera
|
|
86
|
-
typedef NS_ENUM(NSUInteger, FLIRDateDisplayFormat)
|
|
87
|
-
{
|
|
88
|
-
/// YYYY-MM-DD
|
|
89
|
-
DF_ymd,
|
|
90
|
-
/// MM/DD/YYYY
|
|
91
|
-
DF_mdy,
|
|
92
|
-
/// DD/MM/YYYY
|
|
93
|
-
DF_dmy
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
/// Operating modes used by cameras for firefighting
|
|
97
|
-
typedef NS_ENUM(NSUInteger, FLIRFireCameraMode)
|
|
98
|
-
{
|
|
99
|
-
FLIRFireCameraMode_basic, ///< Default mode for firefighting. Basic mode on K45, K55. TI Basic NFPA on K65.
|
|
100
|
-
FLIRFireCameraMode_search, ///< Search mode.
|
|
101
|
-
FLIRFireCameraMode_detection, ///< Detection mode.
|
|
102
|
-
FLIRFireCameraMode_fire, ///< Fire mode. Similar to Basic/NFPA mode but with a higher threshold for heat colorization.
|
|
103
|
-
FLIRFireCameraMode_whiteHot, ///< White hot mode.
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
@interface FLIRFireCameraModeObject : NSObject
|
|
107
|
-
@property (nonatomic, assign) FLIRFireCameraMode mode;
|
|
108
|
-
@end
|
|
109
|
-
|
|
110
|
-
@interface FLIRFireCameraTemperatureRange : NSObject
|
|
111
|
-
@property (nonatomic, assign) NSInteger minKelvin;
|
|
112
|
-
@property (nonatomic, assign) NSInteger maxKelvin;
|
|
113
|
-
@property (nonatomic, assign) BOOL isAuto;
|
|
114
|
-
@end
|
|
115
|
-
|
|
116
|
-
@interface FLIRFireCameraModeController : NSObject
|
|
117
|
-
- (BOOL)getAvailable;
|
|
118
|
-
- (BOOL)setAvailable:(BOOL)visible error:(out NSError * _Nullable * _Nullable)error;
|
|
119
|
-
- (BOOL)getReadOnly;
|
|
120
|
-
- (FLIRFireCameraTemperatureRange * _Nullable)getTemperatureRange:(out NSError * _Nullable * _Nullable)error;
|
|
121
|
-
@end
|
|
122
|
-
|
|
123
|
-
/// GUI HotSpot shapes used by cameras for firefighting.
|
|
124
|
-
typedef NS_ENUM(NSUInteger, FLIRHotSpotShape)
|
|
125
|
-
{
|
|
126
|
-
FLIRHotSpotShape_disabled, ///< Disabled.
|
|
127
|
-
FLIRHotSpotShape_nfpa, ///< NFPA/basic mode style.
|
|
128
|
-
FLIRHotSpotShape_crosshair ///< Crosshair style.
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
typedef NS_ENUM(NSUInteger, FLIRSingleTriggerBehaviour)
|
|
132
|
-
{
|
|
133
|
-
FLIRSingleTriggerBehaviour_save, ///< save a still image
|
|
134
|
-
FLIRSingleTriggerBehaviour_freeze, ///< freeze image
|
|
135
|
-
FLIRSingleTriggerBehaviour_none, ///< no effect
|
|
136
|
-
FLIRSingleTriggerBehaviour_record ///< record video
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
@interface FLIRDualTriggerBehaviour : NSObject
|
|
140
|
-
@property (nonatomic, assign) FLIRSingleTriggerBehaviour shortPress;
|
|
141
|
-
@property (nonatomic, assign) FLIRSingleTriggerBehaviour longPress;
|
|
142
|
-
@end
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Internal interface for firmware update of FLIR One
|
|
146
|
-
*/
|
|
147
|
-
@interface FLIRFirmwareUpdate : NSObject
|
|
148
|
-
@end
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Video recorder for network cameras
|
|
152
|
-
*/
|
|
153
|
-
@interface FLIRVideoRecorder : NSObject
|
|
154
|
-
- (BOOL)start:(out NSError * _Nullable *_Nullable)error;
|
|
155
|
-
- (BOOL)stop:(out NSError * _Nullable *_Nullable)error;
|
|
156
|
-
|
|
157
|
-
@property (nonatomic, readonly) BOOL isRecording;
|
|
158
|
-
|
|
159
|
-
- (BOOL)subscribeVideoRecorder:(out NSError * _Nullable *_Nullable)error;
|
|
160
|
-
- (void)unsubscribeVideoRecorder;
|
|
161
|
-
|
|
162
|
-
@end
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Controller for general camera settings
|
|
166
|
-
*/
|
|
167
|
-
@interface FLIRCameraUISettingsController : NSObject
|
|
168
|
-
|
|
169
|
-
- (TemperatureUnit)getTemperatureUnit;
|
|
170
|
-
- (BOOL)setTemperatureUnit:(TemperatureUnit)unit error:(out NSError * _Nullable * _Nullable)error;
|
|
171
|
-
- (FLIRDateDisplayFormat)getDateDisplayFormat;
|
|
172
|
-
- (BOOL)setDateDisplayFormat:(FLIRDateDisplayFormat)format error:(out NSError * _Nullable * _Nullable)error;
|
|
173
|
-
- (FLIRTimeDisplayFormat)getTimeDisplayFormat;
|
|
174
|
-
- (BOOL)setTimeDisplayFormat:(FLIRTimeDisplayFormat)format error:(out NSError * _Nullable * _Nullable)error;
|
|
175
|
-
|
|
176
|
-
@end
|
|
177
|
-
|
|
178
|
-
@interface FLIRFireCameraController : NSObject
|
|
179
|
-
|
|
180
|
-
- (FLIRFireCameraMode)getCurrentMode;
|
|
181
|
-
- (BOOL)setCurrentMode:(FLIRFireCameraMode)mode error:(out NSError * _Nullable * _Nullable)error;
|
|
182
|
-
- (NSArray<FLIRFireCameraModeObject *> *_Nullable)getAllModes:(out NSError * _Nullable * _Nullable)error;
|
|
183
|
-
- (NSArray<FLIRFireCameraModeObject *> *_Nullable)getAvailableModes:(out NSError * _Nullable * _Nullable)error;
|
|
184
|
-
|
|
185
|
-
- (FLIRHotSpotShape)getHotSpotShape;
|
|
186
|
-
- (BOOL)setHotSpotShape:(FLIRHotSpotShape)shape error:(out NSError * _Nullable * _Nullable)error;
|
|
187
|
-
|
|
188
|
-
- (BOOL)getShowTemperatureBar;
|
|
189
|
-
- (BOOL)setShowTemperatureBar:(BOOL)show error:(out NSError * _Nullable * _Nullable)error;
|
|
190
|
-
- (BOOL)getShowReferenceBar;
|
|
191
|
-
- (BOOL)setShowReferenceBar:(BOOL)show error:(out NSError * _Nullable * _Nullable)error;
|
|
192
|
-
- (BOOL)getShowDigitalReadout;
|
|
193
|
-
- (BOOL)setShowDigitalReadout:(BOOL)show error:(out NSError * _Nullable * _Nullable)error;
|
|
194
|
-
|
|
195
|
-
- (FLIRDualTriggerBehaviour *_Nullable)getDualTriggerBehaviour:(out NSError * _Nullable *_Nullable)error;
|
|
196
|
-
- (BOOL)setDualTriggerBehaviour:(FLIRDualTriggerBehaviour *_Nonnull)behaviour error:(out NSError * _Nullable *_Nullable)error;
|
|
197
|
-
- (NSArray<FLIRDualTriggerBehaviour *> *_Nullable)getAvailableDualTriggerBehaviours:(out NSError * _Nullable *_Nullable)error;
|
|
198
|
-
|
|
199
|
-
- (BOOL)getBlackBox;
|
|
200
|
-
- (BOOL)setBlackBox:(BOOL)blackBox error:(out NSError * _Nullable * _Nullable)error;
|
|
201
|
-
|
|
202
|
-
- (FLIRFireCameraModeController *_Nullable)getFireCameraModeController:(FLIRFireCameraMode)mode error:(out NSError * _Nullable * _Nullable)error;
|
|
203
|
-
|
|
204
|
-
- (BOOL)getAllowChanges;
|
|
205
|
-
- (BOOL)subscribeAllowChanges:(out NSError * _Nullable * _Nullable)error;
|
|
206
|
-
- (void)unsubscribeAllowChanges;
|
|
207
|
-
- (BOOL)resetParameters:(out NSError * _Nullable * _Nullable)error;
|
|
208
|
-
|
|
209
|
-
@end
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Camera image storage control interface.
|
|
213
|
-
*/
|
|
214
|
-
@interface FLIRStorage : NSObject
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Get the latest image that was stored in the camera.
|
|
218
|
-
* This property will be updated when the file is completely written to storage,
|
|
219
|
-
* so there may be some delay from when the picture is taken till the property is updated.
|
|
220
|
-
* Note: this call is blocking.
|
|
221
|
-
*/
|
|
222
|
-
-(nullable FLIRStoredImage *) getLastStoredImage:(out NSError * _Nullable *_Nullable)error;
|
|
223
|
-
|
|
224
|
-
/** Subscribes for camera last stored image notifications. */
|
|
225
|
-
-(BOOL) subscribeLastStoredImage: (out NSError * _Nullable *_Nullable)error;
|
|
226
|
-
/** Revokes subscription for last stored image. */
|
|
227
|
-
-(void) unsubscribeLastStoredImage;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
/** Check if camera has snapshot capability */
|
|
231
|
-
- (BOOL)snapshotIsAvailable;
|
|
232
|
-
|
|
233
|
-
/** Request camera to store an image into the image storage and return it.
|
|
234
|
-
*/
|
|
235
|
-
- (FLIRStoredImage * _Nullable)snapshot:(out NSError * _Nullable * _Nullable)error;
|
|
236
|
-
|
|
237
|
-
@end
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Delegate to return events from a connectad camera.
|
|
241
|
-
*/
|
|
242
|
-
@protocol FLIRRemoteDelegate <NSObject>
|
|
243
|
-
|
|
244
|
-
@optional
|
|
245
|
-
|
|
246
|
-
#pragma mark - Battery
|
|
247
|
-
/** Called when battery charging state changes. */
|
|
248
|
-
-(void)ChargingStateChanged:(FLIRChargingState) state;
|
|
249
|
-
/** Called when remaining battery power changes. */
|
|
250
|
-
-(void)PercentageChanged:(int) percent;
|
|
251
|
-
|
|
252
|
-
#pragma mark - Calibration
|
|
253
|
-
/** Called when a NUC state changes. */
|
|
254
|
-
-(void)CalibrationStateChanged:(BOOL) isActive;
|
|
255
|
-
/** Called when a NUC state changes, with the NUC state as parameter */
|
|
256
|
-
- (void)nucStateChanged: (FLIRNucState)state;
|
|
257
|
-
/** Called when shutter state changes */
|
|
258
|
-
- (void)shutterStateChanged: (FLIRShutterState)state;
|
|
259
|
-
|
|
260
|
-
#pragma mark - Storage
|
|
261
|
-
/** Called when new image was taken on the camera. */
|
|
262
|
-
-(void)lastStoredImageChanged:(FLIRStoredImage *_Nonnull) laststore;
|
|
263
|
-
|
|
264
|
-
/** Called when state is changing, if subscribing */
|
|
265
|
-
- (void)cameraStateChanged: (FLIRCameraState)newState;
|
|
266
|
-
|
|
267
|
-
/** Called when cameraInformation is changing, if subscribing */
|
|
268
|
-
- (void)cameraInformationChanged: (FLIRCameraInformation*_Nonnull)newInformation;
|
|
269
|
-
|
|
270
|
-
/** Called when laserOn is changing, if subscribing */
|
|
271
|
-
- (void)cameraIsLaserOnChanged: (BOOL)newIsLaserOn;
|
|
272
|
-
|
|
273
|
-
#pragma mark - TemperatureRange
|
|
274
|
-
/** Called when selected temperature range changes, if subscribing */
|
|
275
|
-
- (void)selectedTemperatureRangeIndexChanged: (int)index;
|
|
276
|
-
|
|
277
|
-
#pragma mark - FusionController
|
|
278
|
-
/** Called when fusion activeChannel is changing, if subscribing */
|
|
279
|
-
- (void)activeChannelChanged: (FLIRChannelType)newActiveChannel;
|
|
280
|
-
|
|
281
|
-
#pragma mark - ScaleController
|
|
282
|
-
/** Called when scale controller auto adjust is chaning, if subscribing */
|
|
283
|
-
- (void)autoAdjustChanged: (BOOL)autoAdjust;
|
|
284
|
-
|
|
285
|
-
/** Called when status changes in an ongoing firmware update */
|
|
286
|
-
-(void)updateStatusChanged:(FLIRFirmwareUpdateStatus) status;
|
|
287
|
-
|
|
288
|
-
#pragma mark - VideoRecorder
|
|
289
|
-
/** Called when recording has started or stopped */
|
|
290
|
-
- (void)videoRecorderChanged:(BOOL)isRecording;
|
|
291
|
-
|
|
292
|
-
#pragma mark - FireCameraController
|
|
293
|
-
/// Called when allowChanges is changed.
|
|
294
|
-
- (void)allowChangesChanged:(BOOL)allowChanges;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
@end
|
|
298
|
-
|
|
299
|
-
@class FLIRTemperatureRange;
|
|
300
|
-
@class FLIRSystem;
|
|
301
|
-
@class FLIRFocus;
|
|
302
|
-
@class FLIRPaletteController;
|
|
303
|
-
@class FLIRFusionController;
|
|
304
|
-
@class FLIRMeasurementsController;
|
|
305
|
-
@class FLIRScaleController;
|
|
306
|
-
@class FLIROverlayController;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Camera remote control. Can read, manipulate and listen on events from a Camera.
|
|
310
|
-
*/
|
|
311
|
-
@interface FLIRRemoteControl : NSObject
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* A delegate to handle the events.
|
|
315
|
-
*/
|
|
316
|
-
@property (nonatomic, assign, nullable) id<FLIRRemoteDelegate> delegate;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Fetch information about that device.
|
|
320
|
-
*
|
|
321
|
-
* @note This is a synchronous call to the camera, which blocks until the result is retrieved or an error occurs.
|
|
322
|
-
* @param error Out parameter filled with an error object on failure, or nil on success.
|
|
323
|
-
* @return The result object on success, or nil on failure.
|
|
324
|
-
*/
|
|
325
|
-
-(nullable FLIRCameraInformation*)getCameraInformation:(out NSError * _Nullable * _Nullable)error;
|
|
326
|
-
|
|
327
|
-
/** subscribe to changes on camera information, delegate will be called when camera information changes */
|
|
328
|
-
- (BOOL)subscribeCameraInformation: (out NSError * _Nullable *_Nullable)error;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Get the Battery interface to monitor camera battery status.
|
|
332
|
-
*
|
|
333
|
-
* @return Battery object if it's available, or nil if the Camera model has no battery support.
|
|
334
|
-
*/
|
|
335
|
-
-(nullable FLIRBattery *) getBattery;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Get the camera calibration control interface.
|
|
339
|
-
*
|
|
340
|
-
* @return Calibration object if it's available, or nil if the Camera model has no calibration support.
|
|
341
|
-
*/
|
|
342
|
-
-(FLIRCalibration* _Nullable) getCalibration;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Get the Storage interface to interact with camera storage (i.e. internal storage or SD card).
|
|
346
|
-
*
|
|
347
|
-
* @return Storage object if it's available, or nil if the Camera model has no storage support.
|
|
348
|
-
*/
|
|
349
|
-
-(FLIRStorage* _Nullable) getStorage;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Check if the camera is ready for connecting a stream.
|
|
353
|
-
*/
|
|
354
|
-
- (FLIRCameraState)getCameraReady;
|
|
355
|
-
|
|
356
|
-
/** subscribe to changes on camera state, delegate will be called when camera state changes */
|
|
357
|
-
- (BOOL)subscribeCameraState: (out NSError * _Nullable *_Nullable)error;
|
|
358
|
-
|
|
359
|
-
/** Check if the laser is on */
|
|
360
|
-
- (BOOL)getLaserOn;
|
|
361
|
-
/** turn on or of the laser */
|
|
362
|
-
- (BOOL)setLaserOn: (BOOL)laserOn error: (out NSError * _Nullable *_Nullable)error;
|
|
363
|
-
|
|
364
|
-
/** subscribe to changes on laser on, delegate will be called when laser on changes */
|
|
365
|
-
- (BOOL)subscribeIsLaserOn: (out NSError * _Nullable *_Nullable)error;
|
|
366
|
-
/** unsubscribe to changes on laser on */
|
|
367
|
-
- (void)unsubscribeIsLaserOn;
|
|
368
|
-
|
|
369
|
-
/** get the temperature range interface */
|
|
370
|
-
- (FLIRTemperatureRange * _Nullable)getTemperatureRange;
|
|
371
|
-
/** get remote system parameters interface */
|
|
372
|
-
- (FLIRSystem* _Nullable)getSystem;
|
|
373
|
-
/** get remote focus parameters interface */
|
|
374
|
-
- (FLIRFocus* _Nullable)getFocus;
|
|
375
|
-
/** get remote palette controller interface */
|
|
376
|
-
- (FLIRPaletteController * _Nullable)getPaletteController;
|
|
377
|
-
/** get remote fusion controller interface */
|
|
378
|
-
- (FLIRFusionController * _Nullable)getFusionController;
|
|
379
|
-
/** get remote measurements controller interface */
|
|
380
|
-
- (FLIRMeasurementsController * _Nullable)getMeasurementsController;
|
|
381
|
-
/** get the scale controller interface */
|
|
382
|
-
- (FLIRScaleController * _Nullable)getScaleController;
|
|
383
|
-
/** get the overlay controller interface */
|
|
384
|
-
- (FLIROverlayController * _Nullable)getOverlayController;
|
|
385
|
-
/** get firmware update (only for internal use) */
|
|
386
|
-
- (FLIRFirmwareUpdate * _Nullable)getFirmwareUpdate;
|
|
387
|
-
/** get video recorder */
|
|
388
|
-
- (FLIRVideoRecorder * _Nullable)getVideoRecorder;
|
|
389
|
-
/** get camera settings controller */
|
|
390
|
-
- (FLIRCameraUISettingsController * _Nullable)getCameraUISettingsController;
|
|
391
|
-
/// get fire camera controller
|
|
392
|
-
- (FLIRFireCameraController * _Nullable)getFireCameraController;
|
|
393
|
-
@end
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRRenderer.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2021-10-12.
|
|
6
|
-
// Copyright © 2021 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
#import <UIKit/UIKit.h>
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Class for rendering images.
|
|
15
|
-
*/
|
|
16
|
-
@protocol FLIRRenderer
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Get "rendered result"
|
|
20
|
-
*
|
|
21
|
-
* Fetch the rendered image from the renderer. This returns a deep copy of the image.
|
|
22
|
-
* @return Returns an UIImage, or nil if update has not been called previously or no source image was available yet.
|
|
23
|
-
*/
|
|
24
|
-
- (UIImage * _Nullable)getImage;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Execute renderer
|
|
28
|
-
*
|
|
29
|
-
* Polls image data from the source (e.g. a @ref FLIRStream or a @ref FLIRThermalImage), then performs image processing
|
|
30
|
-
* Result could be stored in a UIImage or rendered directly to screen, depending on configuration.
|
|
31
|
-
* @return true if update is succesfull, otherwise the error is set
|
|
32
|
-
*/
|
|
33
|
-
- (BOOL)update:(out NSError * _Nullable __autoreleasing * _Nullable)error;
|
|
34
|
-
|
|
35
|
-
@end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRRendererImpl.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2021-11-01.
|
|
6
|
-
// Copyright © 2021 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import "FLIRRenderer.h"
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Class implementing FLIRRenderer, for internal use only
|
|
13
|
-
*/
|
|
14
|
-
@interface FLIRRendererImpl : NSObject<FLIRRenderer>
|
|
15
|
-
|
|
16
|
-
@end
|
|
17
|
-
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRScale.h
|
|
3
|
-
//
|
|
4
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
#pragma once
|
|
8
|
-
|
|
9
|
-
#import "FLIRThermalValue.h"
|
|
10
|
-
#import "FLIRPalette.h"
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Defines an image's linear scale object and basic scale's parameters.
|
|
14
|
-
* The scale defines the way the Palette is applied to the ThermalImage.
|
|
15
|
-
* Scale is an interval of the temperature, where colors from a selected Palette is applied.
|
|
16
|
-
* The available temperature's range is defined by the ThermalImage.
|
|
17
|
-
* Scale cannot be created directly, it should always be obtained from ThermalImage.
|
|
18
|
-
* To do so, the ThermalImage.getScale() method should be called.
|
|
19
|
-
*/
|
|
20
|
-
@interface FLIRScale : NSObject
|
|
21
|
-
/**
|
|
22
|
-
* Sets the minimum and maximum scale values.
|
|
23
|
-
*
|
|
24
|
-
* @param min The minimum scale value.
|
|
25
|
-
* @param max The maximum scale value.
|
|
26
|
-
*/
|
|
27
|
-
- (void)setRangeWithMin:(FLIRThermalValue * _Nonnull)min andMax:(FLIRThermalValue * _Nonnull) max;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Sets the scale automatically based on the min and max scale values.
|
|
31
|
-
*
|
|
32
|
-
* @note This call will be removed, use FLIRColorizer.autoScale from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead.
|
|
33
|
-
*/
|
|
34
|
-
- (void)setAutoAdjustEnabled:(BOOL)enabled DEPRECATED_MSG_ATTRIBUTE("This call will be removed, use FLIRColorizer.autoScale from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead");;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets the current minimum scale value.
|
|
38
|
-
* @return The min scale value.
|
|
39
|
-
*/
|
|
40
|
-
- (FLIRThermalValue * _Nonnull)getRangeMin;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Gets the current maximum scale value.
|
|
44
|
-
* @return The max scale value
|
|
45
|
-
*/
|
|
46
|
-
- (FLIRThermalValue * _Nonnull)getRangeMax;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Gets the thermal scale image.
|
|
50
|
-
*
|
|
51
|
-
* @return An UIImage representing the thermal scale.
|
|
52
|
-
*
|
|
53
|
-
* @note This call will be removed, use FLIRColorizer.getScaleImage from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead.
|
|
54
|
-
*/
|
|
55
|
-
- (UIImage * _Nullable)getImage DEPRECATED_MSG_ATTRIBUTE("This call will be removed, use FLIRColorizer.getScaleImage from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead");
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Gets the thermal scale image.
|
|
59
|
-
*
|
|
60
|
-
* @param palette the pallete
|
|
61
|
-
*
|
|
62
|
-
* @return An UIImage representing the full thermal range scale.
|
|
63
|
-
*
|
|
64
|
-
* @note This feature will likely be removed in upcoming release.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
+ (UIImage * _Nullable)getFixedFullRangeScaleImage:(FLIRPalette * _Nonnull) palette DEPRECATED_MSG_ATTRIBUTE("This feature will likely be removed in upcoming release.");;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Gets the thermal scale image from current palette.
|
|
71
|
-
*
|
|
72
|
-
* @return An UIImage representing the full thermal range scale.
|
|
73
|
-
*
|
|
74
|
-
* @note This feature will likely be removed in upcoming release.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
- (UIImage * _Nullable)getFixedFullRangeScaleImage DEPRECATED_MSG_ATTRIBUTE("This feature will likely be removed in upcoming release.");
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Gets auto adjust setting.
|
|
82
|
-
*
|
|
83
|
-
* @note This call will be removed, use FLIRColorizer.autoScale from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead.
|
|
84
|
-
*/
|
|
85
|
-
- (BOOL)isAutoAdjustEnabled DEPRECATED_MSG_ATTRIBUTE("This call will be removed, use FLIRColorizer.autoScale from FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead");
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Sets the maximum range, where colors defined by the Palette are applied to the ThermalImage.
|
|
89
|
-
* @Deprecated Setting max value may affect min value, use setRangeWithMin:andMax:
|
|
90
|
-
*/
|
|
91
|
-
- (void)setRangeMax:(FLIRThermalValue * _Nonnull)max;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Sets the minimum range, where colors defined by the Palette are applied to the ThermalImage.
|
|
95
|
-
* @Deprecated Setting min value may affect max value, use setRangeWithMin:andMax:
|
|
96
|
-
*/
|
|
97
|
-
- (void)setRangeMin:(FLIRThermalValue * _Nonnull)min;
|
|
98
|
-
|
|
99
|
-
@end
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRScaleController.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-09-14.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
@class FLIRRange;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Camera scale controller interface.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
@interface FLIRScaleController : NSObject
|
|
18
|
-
|
|
19
|
-
/** check if auto adjust is available */
|
|
20
|
-
- (BOOL)autoAdjustAvailable;
|
|
21
|
-
/**
|
|
22
|
-
* Get auto adjust mode. Defines the adjust mode of the temperature scale on the live screen on the camera.
|
|
23
|
-
* Auto mode (true value): In this mode, the camera is continuously auto-adjusted for the best image brightness and contrast.
|
|
24
|
-
* Manual mode (false value): This mode allows manual adjustments of the temperature span and the temperature level.
|
|
25
|
-
*/
|
|
26
|
-
- (BOOL)getAutoAdjust;
|
|
27
|
-
/** Set auto adjust mode */
|
|
28
|
-
- (BOOL)setAutoAdjust:(BOOL)autoAdjust error: (out NSError * _Nullable * _Nullable)error;
|
|
29
|
-
/** subscribe to changes of auto adjust mode */
|
|
30
|
-
- (BOOL)subscribeAutoAdjust:(out NSError * _Nullable * _Nullable)error;
|
|
31
|
-
/** unsubscribe to changes of auto adjust mode */
|
|
32
|
-
- (void)unsubscribeAutoAdjust;
|
|
33
|
-
/** check if scale active mode is available */
|
|
34
|
-
- (BOOL)activeAvailable;
|
|
35
|
-
/** get active mode */
|
|
36
|
-
- (BOOL)getActive;
|
|
37
|
-
/** Enables/disables the scale active mode.*/
|
|
38
|
-
- (BOOL)setActive:(BOOL)active error: (out NSError * _Nullable * _Nullable)error;
|
|
39
|
-
/** get range for scale */
|
|
40
|
-
- (FLIRRange *_Nullable)getRange;
|
|
41
|
-
/** set range for scale */
|
|
42
|
-
- (BOOL)setRange:(FLIRRange *_Nonnull)range error:(out NSError * _Nullable * _Nullable)error;
|
|
43
|
-
|
|
44
|
-
@end
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRStream.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2021-10-11.
|
|
6
|
-
// Copyright © 2021 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Delegate for streaming
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
@protocol FLIRStreamDelegate <NSObject>
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Called when an error occurs in streaming
|
|
21
|
-
*/
|
|
22
|
-
- (void)onError:(NSError *)error;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Called when an image is available on the stream
|
|
26
|
-
*/
|
|
27
|
-
- (void)onImageReceived;
|
|
28
|
-
|
|
29
|
-
@end
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Camera stream class.
|
|
33
|
-
* @note the implementation for thermal streaming for network cameras is still in experimental stage.
|
|
34
|
-
*/
|
|
35
|
-
@interface FLIRStream : NSObject
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Delegate with callbacks
|
|
39
|
-
*/
|
|
40
|
-
@property (nonatomic, strong, nullable) id<FLIRStreamDelegate> delegate;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* True if the stream contains both thermal and visual data
|
|
44
|
-
*/
|
|
45
|
-
@property (nonatomic, readonly) BOOL isDual;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Width and height of the IR data for each frame
|
|
49
|
-
* (Zero If no IR data is available)
|
|
50
|
-
*/
|
|
51
|
-
@property (nonatomic, readonly) CGSize irSize;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Width and height of the visual data for each frame
|
|
55
|
-
* (Zero If no visual data is available)
|
|
56
|
-
*/
|
|
57
|
-
@property (nonatomic, readonly) CGSize visualSize;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* True if the stream contains readiometric data
|
|
61
|
-
*/
|
|
62
|
-
@property (nonatomic, readonly) BOOL isThermal;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* True if the stream is active and streaming
|
|
66
|
-
*/
|
|
67
|
-
@property (nonatomic, readonly) BOOL isStreaming;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Start frame grabbing on the provided stream.
|
|
71
|
-
*
|
|
72
|
-
* Starts the frame grabbing. When a new frame is available the delegate method onImageRecieved will be called.
|
|
73
|
-
* @note the implementation for thermal streaming for network cameras is still in experimental stage.
|
|
74
|
-
* @param error The error if start returns false
|
|
75
|
-
* @return returns false if not able to start stream
|
|
76
|
-
*/
|
|
77
|
-
- (BOOL)start:(out NSError * _Nullable __autoreleasing * _Nullable)error;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Stop frame grabbing on the stream.
|
|
81
|
-
*/
|
|
82
|
-
- (void)stop;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Set the camera's streamed frame rate.<br />
|
|
86
|
-
* Note: Some cameras will not change frame rate while streaming.
|
|
87
|
-
*
|
|
88
|
-
* @param hz Frames per second, must be in between getMinFrameRate and getMaxFrameRate, inclusive
|
|
89
|
-
*/
|
|
90
|
-
- (BOOL)setFrameRate:(double)hertz error:(out NSError * _Nullable __autoreleasing * _Nullable)error;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Get the camera's streamed frame rate. If the frame rate cannot be fetched, zero is returned.
|
|
94
|
-
*/
|
|
95
|
-
- (double)getFrameRate;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Get the lowest possible frame rate for this camera stream.
|
|
99
|
-
*/
|
|
100
|
-
- (double)getMinFrameRate;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Get the highest possible frame rate for this camera stream. If the frame rate cannot be fetched, zero is returned.
|
|
104
|
-
*/
|
|
105
|
-
- (double)getMaxFrameRate;
|
|
106
|
-
|
|
107
|
-
@end
|
|
108
|
-
|
|
109
|
-
NS_ASSUME_NONNULL_END
|