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.
- package/Flir.podspec +31 -31
- package/README.md +1271 -1271
- package/android/Flir/build.gradle.kts +85 -80
- package/android/Flir/libs/flir-stubs.jar +0 -0
- package/android/Flir/src/main/AndroidManifest.xml +31 -31
- package/android/Flir/src/main/java/com/flir/thermalsdk/ErrorCodeException.java +14 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/ImageBuffer.java +11 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/JavaImageBuffer.java +35 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/Palette.java +15 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/PaletteManager.java +16 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/Point.java +11 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/ThermalImage.java +23 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/image/ThermalValue.java +9 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/CameraType.java +8 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/CommunicationInterface.java +16 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/Identity.java +23 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/IpSettings.java +9 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/connectivity/ConnectionStatusListener.java +7 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/remote/OnReceived.java +5 -0
- package/android/Flir/src/main/java/com/flir/thermalsdk/live/remote/OnRemoteError.java +7 -0
- package/android/Flir/src/main/java/flir/android/CameraHandler.java +224 -194
- package/android/Flir/src/main/java/flir/android/FlirCommands.java +111 -0
- package/android/Flir/src/main/java/flir/android/FlirConnectionManager.java +354 -0
- package/android/Flir/src/main/java/flir/android/FlirController.kt +11 -11
- package/android/Flir/src/main/java/flir/android/FlirDiscoveryManager.java +236 -0
- package/android/Flir/src/main/java/flir/android/FlirDownloadManager.kt +75 -75
- package/android/Flir/src/main/java/flir/android/FlirDownloadPackage.kt +16 -16
- package/android/Flir/src/main/java/flir/android/FlirFrameCache.kt +6 -6
- package/android/Flir/src/main/java/flir/android/FlirManager.kt +254 -248
- package/android/Flir/src/main/java/flir/android/FlirModule.kt +74 -74
- package/android/Flir/src/main/java/flir/android/FlirPackage.kt +19 -16
- package/android/Flir/src/main/java/flir/android/FlirSDKLoader.kt +195 -191
- package/android/Flir/src/main/java/flir/android/FlirSdkManager.java +890 -0
- package/android/Flir/src/main/java/flir/android/FlirStatus.kt +12 -12
- package/android/Flir/src/main/java/flir/android/FlirView.kt +48 -48
- package/android/Flir/src/main/java/flir/android/FlirViewManager.kt +13 -13
- package/android/Flir/src/main/java/flir/android/FrameDataHolder.java +14 -14
- package/app.plugin.js +264 -264
- package/expo-module.config.json +5 -5
- package/ios/Flir/Framework/ThermalSDK/FLIRBattery.h +76 -76
- package/ios/Flir/Framework/ThermalSDK/FLIRCalibration.h +108 -108
- package/ios/Flir/Framework/ThermalSDK/FLIRCamera.h +156 -156
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraDeviceInfo.h +53 -53
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraEvent.h +132 -132
- package/ios/Flir/Framework/ThermalSDK/FLIRCameraImport.h +204 -204
- package/ios/Flir/Framework/ThermalSDK/FLIRColorDistributionSettings.h +204 -204
- package/ios/Flir/Framework/ThermalSDK/FLIRColorizer.h +82 -82
- package/ios/Flir/Framework/ThermalSDK/FLIRDiscoveredCamera.h +44 -44
- package/ios/Flir/Framework/ThermalSDK/FLIRDiscovery.h +132 -132
- package/ios/Flir/Framework/ThermalSDK/FLIRDisplaySettings.h +29 -29
- package/ios/Flir/Framework/ThermalSDK/FLIRFocus.h +70 -70
- package/ios/Flir/Framework/ThermalSDK/FLIRFusion.h +192 -192
- package/ios/Flir/Framework/ThermalSDK/FLIRFusionController.h +136 -136
- package/ios/Flir/Framework/ThermalSDK/FLIRFusionTransformation.h +35 -35
- package/ios/Flir/Framework/ThermalSDK/FLIRIdentity.h +264 -264
- package/ios/Flir/Framework/ThermalSDK/FLIRImageBase.h +196 -196
- package/ios/Flir/Framework/ThermalSDK/FLIRImageColorizer.h +26 -26
- package/ios/Flir/Framework/ThermalSDK/FLIRImageStatistics.h +61 -61
- package/ios/Flir/Framework/ThermalSDK/FLIRIsotherms.h +208 -208
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementArea.h +38 -38
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementCollection.h +147 -147
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDelta.h +62 -62
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDimensions.h +33 -33
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementEllipse.h +49 -49
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementLine.h +66 -66
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementMarker.h +69 -69
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementParameters.h +41 -41
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementRectangle.h +36 -36
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementReference.h +27 -27
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementShape.h +46 -46
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementSpot.h +33 -33
- package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementsController.h +160 -160
- package/ios/Flir/Framework/ThermalSDK/FLIRMeterLinkSensorPoll.h +247 -247
- package/ios/Flir/Framework/ThermalSDK/FLIROverlayController.h +27 -27
- package/ios/Flir/Framework/ThermalSDK/FLIRPalette.h +60 -60
- package/ios/Flir/Framework/ThermalSDK/FLIRPaletteController.h +36 -36
- package/ios/Flir/Framework/ThermalSDK/FLIRPaletteManager.h +97 -97
- package/ios/Flir/Framework/ThermalSDK/FLIRQuantification.h +55 -55
- package/ios/Flir/Framework/ThermalSDK/FLIRRemoteControl.h +393 -393
- package/ios/Flir/Framework/ThermalSDK/FLIRRenderer.h +35 -35
- package/ios/Flir/Framework/ThermalSDK/FLIRRendererImpl.h +17 -17
- package/ios/Flir/Framework/ThermalSDK/FLIRScale.h +99 -99
- package/ios/Flir/Framework/ThermalSDK/FLIRScaleController.h +44 -44
- package/ios/Flir/Framework/ThermalSDK/FLIRStream.h +109 -109
- package/ios/Flir/Framework/ThermalSDK/FLIRStreamer.h +124 -124
- package/ios/Flir/Framework/ThermalSDK/FLIRSystem.h +40 -40
- package/ios/Flir/Framework/ThermalSDK/FLIRTemperatureRange.h +43 -43
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalDelta.h +77 -77
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalImage.h +331 -331
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalImageFile.h +56 -56
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalParameters.h +31 -31
- package/ios/Flir/Framework/ThermalSDK/FLIRThermalValue.h +92 -92
- package/ios/Flir/Framework/ThermalSDK/FLIRWirelessCameraDetails.h +88 -88
- package/ios/Flir/Framework/ThermalSDK/ThermalSDK.h +73 -73
- package/ios/Flir/SDKLoader/FlirSDKLoader.m +13 -13
- package/ios/Flir/SDKLoader/FlirSDKLoader.swift +175 -175
- package/ios/Flir/src/FlirEventEmitter.h +12 -12
- package/ios/Flir/src/FlirEventEmitter.m +33 -33
- package/ios/Flir/src/FlirModule.h +10 -10
- package/ios/Flir/src/FlirModule.m +381 -381
- package/ios/Flir/src/FlirPreviewView.h +13 -13
- package/ios/Flir/src/FlirPreviewView.m +24 -24
- package/ios/Flir/src/FlirState.h +20 -20
- package/ios/Flir/src/FlirState.m +79 -79
- package/ios/Flir/src/FlirViewManager.h +9 -9
- package/ios/Flir/src/FlirViewManager.m +16 -16
- package/package.json +61 -61
- package/react-native.config.js +14 -14
- package/scripts/copy_ios_libs.sh +32 -32
- package/scripts/create_stubs.py +174 -174
- package/scripts/download-sdk.js +62 -62
- package/scripts/prepare-binaries.sh +171 -171
- package/sdk-manifest.json +30 -30
- package/src/FlirDownload.ts +78 -78
- package/src/index.d.ts +17 -17
- package/src/index.js +7 -7
- package/src/index.ts +7 -7
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MeasurementCollection.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "FLIRMeasurementSpot.h"
|
|
9
|
-
#import "FLIRMeasurementRectangle.h"
|
|
10
|
-
#import "FLIRMeasurementEllipse.h"
|
|
11
|
-
#import "FLIRMeasurementLine.h"
|
|
12
|
-
#import "FLIRMeasurementDelta.h"
|
|
13
|
-
#import "FLIRMeasurementReference.h"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Container for a different type of MeasurementShapes.
|
|
17
|
-
* It provides access to all measurements added to an image.
|
|
18
|
-
* It also allows to add a new measurements to an existing image.
|
|
19
|
-
* The collection is obtained FLIRThermalImage.Measurements.
|
|
20
|
-
*/
|
|
21
|
-
@interface FLIRMeasurementCollection : NSObject
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets all measurement ellipses
|
|
25
|
-
*/
|
|
26
|
-
- (NSArray<FLIRMeasurementEllipse *> * _Nonnull)getAllEllipses;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Gets all measurement lines
|
|
30
|
-
*/
|
|
31
|
-
- (NSArray<FLIRMeasurementLine *> * _Nonnull)getAllLines;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Gets all measurement rectangles
|
|
35
|
-
*/
|
|
36
|
-
- (NSArray<FLIRMeasurementRectangle *> * _Nonnull)getAllRectangles;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Gets all measurement spots
|
|
40
|
-
*/
|
|
41
|
-
- (NSArray<FLIRMeasurementSpot *> * _Nonnull)getAllSpots;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Gets all measurement deltas
|
|
45
|
-
*/
|
|
46
|
-
- (NSArray<FLIRMeasurementDelta *> * _Nonnull)getAllDeltas;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Gets all measurement references
|
|
50
|
-
*/
|
|
51
|
-
- (NSArray<FLIRMeasurementReference *> * _Nonnull)getAllReferences;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Adds a new MeasurementSpot to the collection.
|
|
55
|
-
*
|
|
56
|
-
* @param point The location of the spot.
|
|
57
|
-
*
|
|
58
|
-
* @return The MeasurementSpot object added to the collection.
|
|
59
|
-
*/
|
|
60
|
-
- (FLIRMeasurementSpot * _Nullable)addSpot:(CGPoint)point
|
|
61
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Adds a new MeasurementRectangle to the collection.
|
|
66
|
-
*
|
|
67
|
-
* @param rect The MeasurementRectangles position and size
|
|
68
|
-
* @return FLIRMeasurementRectangle
|
|
69
|
-
*/
|
|
70
|
-
- (FLIRMeasurementRectangle * _Nullable)addRectangle:(CGRect)rect
|
|
71
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Adds a new MeasurementEllipse to the collection.
|
|
76
|
-
*
|
|
77
|
-
* @param position Center position of the ellipse
|
|
78
|
-
* @param radiusX Horizontal radius of the ellipse
|
|
79
|
-
* @param radiusY Vertical radius of the ellipse
|
|
80
|
-
* @return FLIRMeasurementEllipse
|
|
81
|
-
*/
|
|
82
|
-
- (FLIRMeasurementEllipse * _Nullable)addEllipse:(CGPoint)position
|
|
83
|
-
radiusX:(int)radiusX
|
|
84
|
-
radiusY:(int)radiusY
|
|
85
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Adds a new MeasurementLine to the collection.
|
|
90
|
-
*
|
|
91
|
-
* @param y y position of the line
|
|
92
|
-
* @return FLIRMeasurementLine
|
|
93
|
-
*/
|
|
94
|
-
- (FLIRMeasurementLine * _Nullable)addHorizontalLine:(int)y
|
|
95
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Adds a new MeasurementLine to the collection.
|
|
99
|
-
*
|
|
100
|
-
* @param x x position of the line
|
|
101
|
-
* @return FLIRMeasurementLine
|
|
102
|
-
*/
|
|
103
|
-
- (FLIRMeasurementLine * _Nullable)addVerticalLine:(int)x
|
|
104
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Adds a new MeasurementLine to the collection.
|
|
108
|
-
*
|
|
109
|
-
* @param from starting point
|
|
110
|
-
* @param to ending point
|
|
111
|
-
* @return FLIRMeasurementLine
|
|
112
|
-
*/
|
|
113
|
-
- (FLIRMeasurementLine * _Nullable)addLineFrom:(CGPoint)start
|
|
114
|
-
to:(CGPoint)end
|
|
115
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Adds a new MeasurementDelta to the collection
|
|
119
|
-
* @param member1
|
|
120
|
-
* @param member1DeltaValueType
|
|
121
|
-
* @param member2
|
|
122
|
-
* @param member2DeltaValueType
|
|
123
|
-
* @return FLIRMeasurementDelta
|
|
124
|
-
*/
|
|
125
|
-
- (FLIRMeasurementDelta * _Nullable)addMeasurementDeltaMember1:(FLIRMeasurementShape * _Nonnull)member1
|
|
126
|
-
member1DeltaType:(DeltaMemberValueType)member1DeltaValueType
|
|
127
|
-
member2:(FLIRMeasurementShape * _Nonnull)member2
|
|
128
|
-
member2DeltaType:(DeltaMemberValueType)member2DeltaValueType
|
|
129
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Adds a new MeasurementReference to the collection
|
|
133
|
-
* @param value the thermal alue for the reference
|
|
134
|
-
* @return FLIRMeasurementReference
|
|
135
|
-
*/
|
|
136
|
-
- (FLIRMeasurementReference * _Nullable)addReference:(FLIRThermalValue * _Nonnull)value
|
|
137
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Removes the specified measurement shape from the collection.
|
|
141
|
-
*
|
|
142
|
-
* @param shape The Measurement shape (line, spot, rectangle or ellipse)
|
|
143
|
-
* @return true if shape removed (i.e. the shape was in the collection)
|
|
144
|
-
*/
|
|
145
|
-
- (BOOL)remove:(FLIRMeasurementShape * _Nonnull)shape
|
|
146
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
147
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// MeasurementCollection.h
|
|
3
|
+
// FLIR Thermal SDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2019 Teledyne FLIR. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "FLIRMeasurementSpot.h"
|
|
9
|
+
#import "FLIRMeasurementRectangle.h"
|
|
10
|
+
#import "FLIRMeasurementEllipse.h"
|
|
11
|
+
#import "FLIRMeasurementLine.h"
|
|
12
|
+
#import "FLIRMeasurementDelta.h"
|
|
13
|
+
#import "FLIRMeasurementReference.h"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Container for a different type of MeasurementShapes.
|
|
17
|
+
* It provides access to all measurements added to an image.
|
|
18
|
+
* It also allows to add a new measurements to an existing image.
|
|
19
|
+
* The collection is obtained FLIRThermalImage.Measurements.
|
|
20
|
+
*/
|
|
21
|
+
@interface FLIRMeasurementCollection : NSObject
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Gets all measurement ellipses
|
|
25
|
+
*/
|
|
26
|
+
- (NSArray<FLIRMeasurementEllipse *> * _Nonnull)getAllEllipses;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Gets all measurement lines
|
|
30
|
+
*/
|
|
31
|
+
- (NSArray<FLIRMeasurementLine *> * _Nonnull)getAllLines;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets all measurement rectangles
|
|
35
|
+
*/
|
|
36
|
+
- (NSArray<FLIRMeasurementRectangle *> * _Nonnull)getAllRectangles;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Gets all measurement spots
|
|
40
|
+
*/
|
|
41
|
+
- (NSArray<FLIRMeasurementSpot *> * _Nonnull)getAllSpots;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Gets all measurement deltas
|
|
45
|
+
*/
|
|
46
|
+
- (NSArray<FLIRMeasurementDelta *> * _Nonnull)getAllDeltas;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Gets all measurement references
|
|
50
|
+
*/
|
|
51
|
+
- (NSArray<FLIRMeasurementReference *> * _Nonnull)getAllReferences;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Adds a new MeasurementSpot to the collection.
|
|
55
|
+
*
|
|
56
|
+
* @param point The location of the spot.
|
|
57
|
+
*
|
|
58
|
+
* @return The MeasurementSpot object added to the collection.
|
|
59
|
+
*/
|
|
60
|
+
- (FLIRMeasurementSpot * _Nullable)addSpot:(CGPoint)point
|
|
61
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Adds a new MeasurementRectangle to the collection.
|
|
66
|
+
*
|
|
67
|
+
* @param rect The MeasurementRectangles position and size
|
|
68
|
+
* @return FLIRMeasurementRectangle
|
|
69
|
+
*/
|
|
70
|
+
- (FLIRMeasurementRectangle * _Nullable)addRectangle:(CGRect)rect
|
|
71
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Adds a new MeasurementEllipse to the collection.
|
|
76
|
+
*
|
|
77
|
+
* @param position Center position of the ellipse
|
|
78
|
+
* @param radiusX Horizontal radius of the ellipse
|
|
79
|
+
* @param radiusY Vertical radius of the ellipse
|
|
80
|
+
* @return FLIRMeasurementEllipse
|
|
81
|
+
*/
|
|
82
|
+
- (FLIRMeasurementEllipse * _Nullable)addEllipse:(CGPoint)position
|
|
83
|
+
radiusX:(int)radiusX
|
|
84
|
+
radiusY:(int)radiusY
|
|
85
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Adds a new MeasurementLine to the collection.
|
|
90
|
+
*
|
|
91
|
+
* @param y y position of the line
|
|
92
|
+
* @return FLIRMeasurementLine
|
|
93
|
+
*/
|
|
94
|
+
- (FLIRMeasurementLine * _Nullable)addHorizontalLine:(int)y
|
|
95
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Adds a new MeasurementLine to the collection.
|
|
99
|
+
*
|
|
100
|
+
* @param x x position of the line
|
|
101
|
+
* @return FLIRMeasurementLine
|
|
102
|
+
*/
|
|
103
|
+
- (FLIRMeasurementLine * _Nullable)addVerticalLine:(int)x
|
|
104
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Adds a new MeasurementLine to the collection.
|
|
108
|
+
*
|
|
109
|
+
* @param from starting point
|
|
110
|
+
* @param to ending point
|
|
111
|
+
* @return FLIRMeasurementLine
|
|
112
|
+
*/
|
|
113
|
+
- (FLIRMeasurementLine * _Nullable)addLineFrom:(CGPoint)start
|
|
114
|
+
to:(CGPoint)end
|
|
115
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Adds a new MeasurementDelta to the collection
|
|
119
|
+
* @param member1
|
|
120
|
+
* @param member1DeltaValueType
|
|
121
|
+
* @param member2
|
|
122
|
+
* @param member2DeltaValueType
|
|
123
|
+
* @return FLIRMeasurementDelta
|
|
124
|
+
*/
|
|
125
|
+
- (FLIRMeasurementDelta * _Nullable)addMeasurementDeltaMember1:(FLIRMeasurementShape * _Nonnull)member1
|
|
126
|
+
member1DeltaType:(DeltaMemberValueType)member1DeltaValueType
|
|
127
|
+
member2:(FLIRMeasurementShape * _Nonnull)member2
|
|
128
|
+
member2DeltaType:(DeltaMemberValueType)member2DeltaValueType
|
|
129
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Adds a new MeasurementReference to the collection
|
|
133
|
+
* @param value the thermal alue for the reference
|
|
134
|
+
* @return FLIRMeasurementReference
|
|
135
|
+
*/
|
|
136
|
+
- (FLIRMeasurementReference * _Nullable)addReference:(FLIRThermalValue * _Nonnull)value
|
|
137
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Removes the specified measurement shape from the collection.
|
|
141
|
+
*
|
|
142
|
+
* @param shape The Measurement shape (line, spot, rectangle or ellipse)
|
|
143
|
+
* @return true if shape removed (i.e. the shape was in the collection)
|
|
144
|
+
*/
|
|
145
|
+
- (BOOL)remove:(FLIRMeasurementShape * _Nonnull)shape
|
|
146
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
147
|
+
@end
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementDelta.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-12-08.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#pragma once
|
|
10
|
-
|
|
11
|
-
#import "FLIRMeasurementShape.h"
|
|
12
|
-
#import "FLIRThermalDelta.h"
|
|
13
|
-
|
|
14
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Class representing a delta measurement type in the image.
|
|
18
|
-
*/
|
|
19
|
-
@interface FLIRMeasurementDelta : FLIRMeasurementShape
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Thermal difference/delta value.
|
|
23
|
-
*/
|
|
24
|
-
- (FLIRThermalDelta * _Nullable)getDeltaValue:(out NSError * _Nullable * _Nullable)error;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets the first shape.
|
|
28
|
-
*/
|
|
29
|
-
- (FLIRMeasurementShape *)getMember1;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Gets the second shape.
|
|
33
|
-
*/
|
|
34
|
-
- (FLIRMeasurementShape *)getMember2;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets the first delta member type.
|
|
38
|
-
*/
|
|
39
|
-
- (DeltaMemberValueType)getMember1ValueType;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Gets the second delta member type.
|
|
43
|
-
*/
|
|
44
|
-
- (DeltaMemberValueType)getMember2ValueType;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Sets the first delta member.
|
|
48
|
-
*/
|
|
49
|
-
- (BOOL)setMember1:(FLIRMeasurementShape *)shape
|
|
50
|
-
type:(DeltaMemberValueType)type
|
|
51
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Sets the second delta member.
|
|
55
|
-
*/
|
|
56
|
-
- (BOOL)setMember2:(FLIRMeasurementShape *)shape
|
|
57
|
-
type:(DeltaMemberValueType)type
|
|
58
|
-
error:(out NSError * _Nullable * _Nullable)error;
|
|
59
|
-
|
|
60
|
-
@end
|
|
61
|
-
|
|
62
|
-
NS_ASSUME_NONNULL_END
|
|
1
|
+
//
|
|
2
|
+
// FLIRMeasurementDelta.h
|
|
3
|
+
// ThermalSDK
|
|
4
|
+
//
|
|
5
|
+
// Created by FLIR on 2020-12-08.
|
|
6
|
+
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#pragma once
|
|
10
|
+
|
|
11
|
+
#import "FLIRMeasurementShape.h"
|
|
12
|
+
#import "FLIRThermalDelta.h"
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Class representing a delta measurement type in the image.
|
|
18
|
+
*/
|
|
19
|
+
@interface FLIRMeasurementDelta : FLIRMeasurementShape
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Thermal difference/delta value.
|
|
23
|
+
*/
|
|
24
|
+
- (FLIRThermalDelta * _Nullable)getDeltaValue:(out NSError * _Nullable * _Nullable)error;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Gets the first shape.
|
|
28
|
+
*/
|
|
29
|
+
- (FLIRMeasurementShape *)getMember1;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Gets the second shape.
|
|
33
|
+
*/
|
|
34
|
+
- (FLIRMeasurementShape *)getMember2;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Gets the first delta member type.
|
|
38
|
+
*/
|
|
39
|
+
- (DeltaMemberValueType)getMember1ValueType;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets the second delta member type.
|
|
43
|
+
*/
|
|
44
|
+
- (DeltaMemberValueType)getMember2ValueType;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Sets the first delta member.
|
|
48
|
+
*/
|
|
49
|
+
- (BOOL)setMember1:(FLIRMeasurementShape *)shape
|
|
50
|
+
type:(DeltaMemberValueType)type
|
|
51
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Sets the second delta member.
|
|
55
|
+
*/
|
|
56
|
+
- (BOOL)setMember2:(FLIRMeasurementShape *)shape
|
|
57
|
+
type:(DeltaMemberValueType)type
|
|
58
|
+
error:(out NSError * _Nullable * _Nullable)error;
|
|
59
|
+
|
|
60
|
+
@end
|
|
61
|
+
|
|
62
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementDimensions.h
|
|
3
|
-
// ThermalSDK
|
|
4
|
-
//
|
|
5
|
-
// Created by FLIR on 2020-11-05.
|
|
6
|
-
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Describes area calculation for specified measurement tool.
|
|
13
|
-
* Note: Some fields are only applicable for specific measurement tools. See description for each field for details.
|
|
14
|
-
* Note: When field is unapplicable for a specified measurement type, field's value will evaluate to default value of 0.0.
|
|
15
|
-
*/
|
|
16
|
-
@interface FLIRMeasurementDimensions : NSObject
|
|
17
|
-
|
|
18
|
-
/** Area dimension value - only applicable for rectangle and ellipse (evaluates to 0.0 for other types) */
|
|
19
|
-
@property (nonatomic, readonly) double area;
|
|
20
|
-
/** Height dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
21
|
-
@property (nonatomic, readonly) double height;
|
|
22
|
-
/** Width dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
23
|
-
@property (nonatomic, readonly) double width;
|
|
24
|
-
/** Length dimension value - only applicable for line (evaluates to 0.0 for other types) */
|
|
25
|
-
@property (nonatomic, readonly) double length;
|
|
26
|
-
/** Horizontal radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
27
|
-
@property (nonatomic, readonly) double radiusX;
|
|
28
|
-
/** Vertical radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
29
|
-
@property (nonatomic, readonly) double radiusY;
|
|
30
|
-
/** Dimension status - true when calculation is valid and accurate, otherwise false */
|
|
31
|
-
@property (nonatomic, readonly) BOOL valid;
|
|
32
|
-
|
|
33
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// FLIRMeasurementDimensions.h
|
|
3
|
+
// ThermalSDK
|
|
4
|
+
//
|
|
5
|
+
// Created by FLIR on 2020-11-05.
|
|
6
|
+
// Copyright © 2020 Teledyne FLIR. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes area calculation for specified measurement tool.
|
|
13
|
+
* Note: Some fields are only applicable for specific measurement tools. See description for each field for details.
|
|
14
|
+
* Note: When field is unapplicable for a specified measurement type, field's value will evaluate to default value of 0.0.
|
|
15
|
+
*/
|
|
16
|
+
@interface FLIRMeasurementDimensions : NSObject
|
|
17
|
+
|
|
18
|
+
/** Area dimension value - only applicable for rectangle and ellipse (evaluates to 0.0 for other types) */
|
|
19
|
+
@property (nonatomic, readonly) double area;
|
|
20
|
+
/** Height dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
21
|
+
@property (nonatomic, readonly) double height;
|
|
22
|
+
/** Width dimension value - only applicable for rectangle (evaluates to 0.0 for other types) */
|
|
23
|
+
@property (nonatomic, readonly) double width;
|
|
24
|
+
/** Length dimension value - only applicable for line (evaluates to 0.0 for other types) */
|
|
25
|
+
@property (nonatomic, readonly) double length;
|
|
26
|
+
/** Horizontal radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
27
|
+
@property (nonatomic, readonly) double radiusX;
|
|
28
|
+
/** Vertical radius dimension value - only applicable for ellipse (evaluates to 0.0 for other types) */
|
|
29
|
+
@property (nonatomic, readonly) double radiusY;
|
|
30
|
+
/** Dimension status - true when calculation is valid and accurate, otherwise false */
|
|
31
|
+
@property (nonatomic, readonly) BOOL valid;
|
|
32
|
+
|
|
33
|
+
@end
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
//
|
|
2
|
-
// FLIRMeasurementEllipse.h
|
|
3
|
-
// FLIR Thermal SDK
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2024 Teledyne FLIR. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <CoreGraphics/CoreGraphics.h>
|
|
9
|
-
#import "FLIRMeasurementArea.h"
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Defines the ellipse measurement tool shape.
|
|
13
|
-
* Ellipse is described by a center point and two radii, one horizontal (X) and one vertical (Y).
|
|
14
|
-
* This tool allows to measure temperature in ellipse area.
|
|
15
|
-
* It gives the possibility to find area's minimum, maximum and average temperature.
|
|
16
|
-
* There is functionality to find the exact location for minimum and maximum values.
|
|
17
|
-
*/
|
|
18
|
-
@interface FLIRMeasurementEllipse : FLIRMeasurementArea
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Gets x,y positon, the center of the ellipse
|
|
22
|
-
*/
|
|
23
|
-
- (CGPoint)getPosition;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Gets radii
|
|
27
|
-
*/
|
|
28
|
-
- (int)getRadiusX;
|
|
29
|
-
- (int)getRadiusY;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Sets position, the center of the ellipse
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
- (BOOL)setPosition:(CGPoint)position error:(out NSError * _Nullable *_Nullable)error;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Sets radii
|
|
40
|
-
*/
|
|
41
|
-
- (BOOL)setRadiusX:(int)radiusX radiusY:(int)radiusY error:(out NSError * _Nullable *_Nullable)error;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Sets both position and radii
|
|
45
|
-
*/
|
|
46
|
-
- (BOOL)setPosition:(CGPoint)position radiusX:(int)radiusX radiusY:(int)radiusY
|
|
47
|
-
error:(out NSError * _Nullable *_Nullable)error;
|
|
48
|
-
|
|
49
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// FLIRMeasurementEllipse.h
|
|
3
|
+
// FLIR Thermal SDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2024 Teledyne FLIR. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CoreGraphics/CoreGraphics.h>
|
|
9
|
+
#import "FLIRMeasurementArea.h"
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Defines the ellipse measurement tool shape.
|
|
13
|
+
* Ellipse is described by a center point and two radii, one horizontal (X) and one vertical (Y).
|
|
14
|
+
* This tool allows to measure temperature in ellipse area.
|
|
15
|
+
* It gives the possibility to find area's minimum, maximum and average temperature.
|
|
16
|
+
* There is functionality to find the exact location for minimum and maximum values.
|
|
17
|
+
*/
|
|
18
|
+
@interface FLIRMeasurementEllipse : FLIRMeasurementArea
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Gets x,y positon, the center of the ellipse
|
|
22
|
+
*/
|
|
23
|
+
- (CGPoint)getPosition;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Gets radii
|
|
27
|
+
*/
|
|
28
|
+
- (int)getRadiusX;
|
|
29
|
+
- (int)getRadiusY;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Sets position, the center of the ellipse
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
- (BOOL)setPosition:(CGPoint)position error:(out NSError * _Nullable *_Nullable)error;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Sets radii
|
|
40
|
+
*/
|
|
41
|
+
- (BOOL)setRadiusX:(int)radiusX radiusY:(int)radiusY error:(out NSError * _Nullable *_Nullable)error;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Sets both position and radii
|
|
45
|
+
*/
|
|
46
|
+
- (BOOL)setPosition:(CGPoint)position radiusX:(int)radiusX radiusY:(int)radiusY
|
|
47
|
+
error:(out NSError * _Nullable *_Nullable)error;
|
|
48
|
+
|
|
49
|
+
@end
|