diff --git a/runner17/Release/LxCameraApi.dll b/runner17/Release/LxCameraApi.dll
new file mode 100644
index 0000000..462fefc
Binary files /dev/null and b/runner17/Release/LxCameraApi.dll differ
diff --git a/runner17/Release/LxDataProcess.dll b/runner17/Release/LxDataProcess.dll
new file mode 100644
index 0000000..53fd396
Binary files /dev/null and b/runner17/Release/LxDataProcess.dll differ
diff --git a/runner17/Release/Qt5Core.dll b/runner17/Release/Qt5Core.dll
new file mode 100644
index 0000000..e964016
Binary files /dev/null and b/runner17/Release/Qt5Core.dll differ
diff --git a/runner17/Release/Qt5Gui.dll b/runner17/Release/Qt5Gui.dll
new file mode 100644
index 0000000..a9bc6a9
Binary files /dev/null and b/runner17/Release/Qt5Gui.dll differ
diff --git a/runner17/Release/Qt5Network.dll b/runner17/Release/Qt5Network.dll
new file mode 100644
index 0000000..1360633
Binary files /dev/null and b/runner17/Release/Qt5Network.dll differ
diff --git a/runner17/Release/Qt5SerialPort.dll b/runner17/Release/Qt5SerialPort.dll
new file mode 100644
index 0000000..aeb2d2d
Binary files /dev/null and b/runner17/Release/Qt5SerialPort.dll differ
diff --git a/runner17/Release/Qt5Widgets.dll b/runner17/Release/Qt5Widgets.dll
new file mode 100644
index 0000000..6ca9516
Binary files /dev/null and b/runner17/Release/Qt5Widgets.dll differ
diff --git a/runner17/Release/log/data_process.log b/runner17/Release/log/data_process.log
new file mode 100644
index 0000000..e69de29
diff --git a/runner17/Release/log/lx_camera.log b/runner17/Release/log/lx_camera.log
new file mode 100644
index 0000000..2795667
--- /dev/null
+++ b/runner17/Release/log/lx_camera.log
@@ -0,0 +1,4 @@
+2024-02-25 09:35:20,174 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 09:35:20,192 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-25 10:06:43,552 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 10:06:43,554 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
diff --git a/runner17/Release/smokeBox.exe b/runner17/Release/smokeBox.exe
index 88dc012..290873e 100644
Binary files a/runner17/Release/smokeBox.exe and b/runner17/Release/smokeBox.exe differ
diff --git a/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.qtvscr b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.qtvscr
new file mode 100644
index 0000000..cf025ae
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.qtvscr
@@ -0,0 +1,1584 @@
+
+
+
+
+
+ Qt Visual Studio Tools
+
+
+ Project Format Conversion
+
+
+ Report generated on 2024-03-01 11:42:20
+
+
+
+
+ Files
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ Changes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>]]>
+
+
+
+
+ ]]>]]>
+
+
+
+
+
+
+
+
+
+ ]]>]]>
+
+
+
+
+ ]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Qt4VSv1.0]]>
+
+
+
+
+ QtVS_v304]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(MSBuildProjectDirectory)\QtMsBuild]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(MSBuildProjectDirectory)\QtMsBuild]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ smokeBoxd]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ smokeBox]]>
+
+
+
+
+
+
+
+
+
+ $(LibraryPath)]]>
+
+
+
+
+
+
+
+
+
+ $(IncludePath)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ smokeBoxd]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ smokeBox]]>
+
+
+
+
+
+
+
+
+
+ $(LibraryPath)]]>
+
+
+
+
+
+
+
+
+
+ $(IncludePath)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ msvc2017_qt-5.9.4-x64]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ msvc2017_qt-5.9.4-x64]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;]]>]]>
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;]]>]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;]]>]]>
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2]]>]]>
+
+
+
+
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2]]>]]>
+
+
+
+
+
+
+
+
+
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2]]>]]>
+
+
+
+
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ qtmaind.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5Networkd.lib;Qt5QuickWidgetsd.lib;Qt5SerialPortd.lib;Qt5WebSocketsd.lib;Qt5Widgetsd.lib;Qt5Xlsxd]]>]]>
+
+
+
+
+ Qt5Xlsxd]]>]]>
+
+
+
+
+
+
+
+
+
+ qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Network.lib;Qt5QuickWidgets.lib;Qt5SerialPort.lib;Qt5WebSockets.lib;Qt5Widgets.lib;Qt5Xlsx]]>]]>
+
+
+
+
+ Qt5Xlsx]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(]]>]]>
+
+
+
+
+ $(]]>]]>
+
+
+
+
+
+
+
+
+
+ $(]]>]]>
+
+
+
+
+ $(]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Qt\Qt5.9.4\5.9.4\msvc2017_64]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ PATH=$(QTDIR)\bin%3b$(PATH)]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Qt\Qt5.9.4\5.9.4\msvc2017_64]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ PATH=$(QTDIR)\bin%3b$(PATH)]]>
+
+
+
+
+
+
+
+
+
+ Dir and FileName]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles]]>
+
+
+
+
+
+
+
+
+
+ ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles]]>
+
+
+
+
+
+
+
+
+
+ qrc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles]]>
+
+
+
+
+
+
+
+
+
+ ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles]]>
+
+
+
+
+
+
+
+
+
+ qrc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\qrc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\qrc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj
index bb5efe0..a090a2f 100644
--- a/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj
+++ b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj
@@ -12,106 +12,116 @@
{B12702AD-ABFB-343A-A199-8E24837244A3}
- Qt4VSv1.0
+ QtVS_v304
10.0.17763.0
+ $(MSBuildProjectDirectory)\QtMsBuild
Application
- v142
+ v141
Application
v141
-
- $(MSBuildProjectDirectory)\QtMsBuild
-
-
- $(SolutionDir)..\runner17\$(Configuration)\
- smokeBoxd
+
+
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
-
- $(SolutionDir)..\runner17\$(Configuration)\
- smokeBox
- $(LibraryPath)
- $(IncludePath)
+
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
-
+
-
-
-
+
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\
+ smokeBoxd
+
+
+ $(SolutionDir)..\runner17\$(Configuration)\
+ smokeBox
+ $(LibraryPath)
+ $(IncludePath)
+
- UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;%(PreprocessorDefinitions)
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)
Disabled
ProgramDatabase
MultiThreadedDebugDLL
true
+ false
Windows
$(OutDir)smokeBoxd.exe
- $(QTDIR)\lib;$(MVCAM_COMMON_RUNENV)\Libraries\win64;$(SolutionDir)..\3rdparty\lib;$(SolutionDir)$(Platform)\$(Configuration)\;$(SolutionDir)..\3rdparty\opencv\lib;%(AdditionalLibraryDirectories)
+ D:\Qt\5.9.4\msvc2017_64\lib;$(MVCAM_COMMON_RUNENV)\Libraries\win64;$(SolutionDir)..\3rdparty\lib;$(SolutionDir)$(Platform)\$(Configuration)\;$(SolutionDir)..\3rdparty\opencv\lib;%(AdditionalLibraryDirectories)
true
- qtmaind.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5Networkd.lib;Qt5QuickWidgetsd.lib;Qt5SerialPortd.lib;Qt5WebSocketsd.lib;Qt5Widgetsd.lib;Qt5Xlsxd.lib;opencv_world341d.lib;MvCameraControl.lib;numStatisticAlgod.lib;lpSeriald.lib;libzkqd.lib;%(AdditionalDependencies)
+ Qt5Xlsxd.lib;opencv_world341d.lib;MvCameraControl.lib;numStatisticAlgod.lib;lpSeriald.lib;libzkqd.lib;%(AdditionalDependencies)
- .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
Moc'ing %(Identity)...
- .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)
- UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)
+ .\GeneratedFiles\$(ConfigurationName)
+ moc_%(Filename).cpp
Uic'ing %(Identity)...
- .\GeneratedFiles\ui_%(Filename).h
+ .\GeneratedFiles
+ ui_%(Filename).h
Rcc'ing %(Identity)...
- .\GeneratedFiles\qrc_%(Filename).cpp
+ .\GeneratedFiles
+ qrc_%(Filename).cpp
- UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)
+ UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;%(PreprocessorDefinitions)
+ .;.\GeneratedFiles;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;.\GeneratedFiles\$(ConfigurationName);%(AdditionalIncludeDirectories)
MultiThreadedDLL
true
+ false
Windows
$(OutDir)smokeBox.exe
- $(QTDIR)\lib;$(MVCAM_COMMON_RUNENV)\Libraries\win64;$(SolutionDir)..\3rdparty\lib;$(SolutionDir)$(Platform)\$(Configuration)\;$(SolutionDir)..\3rdparty\opencv\lib;$(SolutionDir)..\3rdparty\qxlsx\lib;$(SolutionDir)..\tpvs17\x64\Release;%(AdditionalLibraryDirectories)
+ D:\Qt\5.9.4\msvc2017_64\lib;$(MVCAM_COMMON_RUNENV)\Libraries\win64;$(SolutionDir)..\3rdparty\lib;$(SolutionDir)$(Platform)\$(Configuration)\;$(SolutionDir)..\3rdparty\opencv\lib;$(SolutionDir)..\3rdparty\qxlsx\lib;$(SolutionDir)..\tpvs17\x64\Release;%(AdditionalLibraryDirectories)
false
- qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Network.lib;Qt5QuickWidgets.lib;Qt5SerialPort.lib;Qt5WebSockets.lib;Qt5Widgets.lib;Qt5Xlsx.lib;opencv_world341.lib;MvCameraControl.lib;numStatisticAlgo.lib;lpSerial.lib;libzkq.lib;%(AdditionalDependencies)
+ Qt5Xlsx.lib;opencv_world341.lib;MvCameraControl.lib;numStatisticAlgo.lib;lpSerial.lib;libzkq.lib;%(AdditionalDependencies)
- .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
Moc'ing %(Identity)...
- .\GeneratedFiles;.;..\..\src;..\..\src\libzkq;..\..\src\lpSerial;..\..\src\lpSerial\include;..\..\src\numStatisticAlgo;..\..\src\MVCameraDriver;..\..\src\common;..\..\src\lpv;..\..\3rdparty\opencv\include;..\..\3rdparty\opencv\include\opencv;..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx;%(AdditionalIncludeDirectories)
- UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;%(PreprocessorDefinitions)
+ .\GeneratedFiles\$(ConfigurationName)
+ moc_%(Filename).cpp
Uic'ing %(Identity)...
- .\GeneratedFiles\ui_%(Filename).h
+ .\GeneratedFiles
+ ui_%(Filename).h
Rcc'ing %(Identity)...
- .\GeneratedFiles\qrc_%(Filename).cpp
+ .\GeneratedFiles
+ qrc_%(Filename).cpp
@@ -147,10 +157,7 @@
-
- .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx
- .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx
-
+
@@ -166,24 +173,19 @@
-
- .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx
- .\GeneratedFiles;.;.\..\..\src;.\..\..\src\libzkq;.\..\..\src\lpSerial;.\..\..\src\lpSerial\include;.\..\..\src\numStatisticAlgo;.\..\..\src\MVCameraDriver;.\..\..\src\common;.\..\..\src\lpv;.\..\..\3rdparty\opencv\include;.\..\..\3rdparty\opencv\include\opencv;.\..\..\3rdparty\opencv\include\opencv2;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtWinExtras;$(QTDIR)\include\QtXlsx
-
+
-
-
-
+
-
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj.user b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj.user
index 7a20d55..55b83e9 100644
--- a/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj.user
+++ b/tpvs17/SmokeBoxIdentification/SmokeBoxIdentification.vcxproj.user
@@ -2,15 +2,11 @@
- C:\Qt\Qt5.9.4\5.9.4\msvc2017_64
$(OutDir)smokeBoxd.exe
WindowsLocalDebugger
- PATH=$(QTDIR)\bin%3b$(PATH)
- C:\Qt\Qt5.9.4\5.9.4\msvc2017_64
$(OutDir)smokeBox.exe
WindowsLocalDebugger
- PATH=$(QTDIR)\bin%3b$(PATH)
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/log/data_process.log b/tpvs17/SmokeBoxIdentification/log/data_process.log
new file mode 100644
index 0000000..e69de29
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-22.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-22.log
new file mode 100644
index 0000000..e3da76f
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-22.log
@@ -0,0 +1,142 @@
+Warning | 2024-02-22 09:14:22 ÖÜËÄ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-22 09:14:23 ÖÜËÄ | init CategoryMatcher successed
+Debug | 2024-02-22 09:14:23 ÖÜËÄ | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-22 09:14:23 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:14:23 ÖÜËÄ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-22 09:14:23 ÖÜËÄ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-22 09:14:24 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:14:24 ÖÜËÄ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-22 09:14:24 ÖÜËÄ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Debug | 2024-02-22 09:14:24 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:14:24 ÖÜËÄ | SerialNumber: "EF0CD99CF26B8A23" init failed
+Debug | 2024-02-22 09:14:24 ÖÜËÄ | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-22 09:14:25 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:14:25 ÖÜËÄ | SerialNumber: "F83A01121310" init failed
+Debug | 2024-02-22 09:14:25 ÖÜËÄ | m_vecPCamera size: 0
+Warning | 2024-02-22 09:14:25 ÖÜËÄ | Load camera failed
+Warning | 2024-02-22 09:14:27 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:27 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:32 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:32 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:37 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:37 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:42 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:42 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:47 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:47 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:53 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:53 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:14:58 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:14:58 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:03 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:03 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:08 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:08 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:13 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:13 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:18 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:18 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:23 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:23 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:28 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:28 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:33 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:33 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:38 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:38 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:43 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:43 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:49 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:49 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:54 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:54 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:15:59 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:15:59 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Debug | 2024-02-22 09:16:03 ÖÜËÄ | delete netControl
+Debug | 2024-02-22 09:16:03 ÖÜËÄ | delete netControl finished
+Warning | 2024-02-22 09:16:06 ÖÜËÄ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-22 09:16:07 ÖÜËÄ | init CategoryMatcher successed
+Debug | 2024-02-22 09:16:07 ÖÜËÄ | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-22 09:16:07 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:16:07 ÖÜËÄ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-22 09:16:07 ÖÜËÄ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-22 09:16:08 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:16:08 ÖÜËÄ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-22 09:16:08 ÖÜËÄ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Debug | 2024-02-22 09:16:08 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:16:08 ÖÜËÄ | SerialNumber: "EF0CD99CF26B8A23" init failed
+Debug | 2024-02-22 09:16:08 ÖÜËÄ | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-22 09:16:09 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:16:09 ÖÜËÄ | SerialNumber: "F83A01121310" init failed
+Debug | 2024-02-22 09:16:09 ÖÜËÄ | m_vecPCamera size: 0
+Warning | 2024-02-22 09:16:09 ÖÜËÄ | Load camera failed
+Warning | 2024-02-22 09:16:11 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:16:11 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:16:16 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:16:16 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-22 09:16:21 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-22 09:16:21 ÖÜËÄ | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Debug | 2024-02-22 09:16:24 ÖÜËÄ | delete netControl
+Debug | 2024-02-22 09:16:24 ÖÜËÄ | delete netControl finished
+Warning | 2024-02-22 09:19:48 ÖÜËÄ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-22 09:19:49 ÖÜËÄ | init CategoryMatcher successed
+Debug | 2024-02-22 09:19:49 ÖÜËÄ | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-22 09:19:49 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:19:49 ÖÜËÄ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-22 09:19:49 ÖÜËÄ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-22 09:19:50 ÖÜËÄ | Do not found any device!
+Warning | 2024-02-22 09:19:50 ÖÜËÄ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-22 09:19:50 ÖÜËÄ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Debug | 2024-02-22 09:19:50 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:19:50 ÖÜËÄ | SerialNumber: "EF0CD99CF26B8A23" init failed
+Debug | 2024-02-22 09:19:50 ÖÜËÄ | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-22 09:19:51 ÖÜËÄ | Not found any tof device.
+Warning | 2024-02-22 09:19:51 ÖÜËÄ | SerialNumber: "F83A01121310" init failed
+Debug | 2024-02-22 09:19:51 ÖÜËÄ | m_vecPCamera size: 0
+Warning | 2024-02-22 09:19:51 ÖÜËÄ | Load camera failed
+Debug | 2024-02-22 09:19:51 ÖÜËÄ | delete netControl
+Debug | 2024-02-22 09:19:51 ÖÜËÄ | delete netControl finished
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-23.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-23.log
new file mode 100644
index 0000000..41b49c0
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-23.log
@@ -0,0 +1,77 @@
+Warning | 2024-02-23 11:43:19 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 11:43:20 ÖÜÎå | init CategoryMatcher successed
+Debug | 2024-02-23 11:43:20 ÖÜÎå | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-23 11:43:20 ÖÜÎå | SerialNumber: "00787720450" init failed
+Debug | 2024-02-23 11:43:20 ÖÜÎå | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-23 11:43:21 ÖÜÎå | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-23 11:43:21 ÖÜÎå | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-23 11:43:21 ÖÜÎå | Find tof device number = 1
+Debug | 2024-02-23 11:43:21 ÖÜÎå | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-23 11:43:22 ÖÜÎå | Find tof device number = 1
+Debug | 2024-02-23 11:43:22 ÖÜÎå | m_vecPCamera size: 2
+Debug | 2024-02-23 11:43:22 ÖÜÎå | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-23 11:43:22 ÖÜÎå | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-23 11:43:22 ÖÜÎå | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-23 11:43:22 ÖÜÎå | Open camera: "F83A01121310" failed
+Debug | 2024-02-23 11:43:22 ÖÜÎå | delete netControl
+Debug | 2024-02-23 11:43:22 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:27:28 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:27:29 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:27:29 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:27:31 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:27:31 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:30:51 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:30:52 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:30:52 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Warning | 2024-02-23 17:30:57 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-23 17:30:57 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-23 17:31:02 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-23 17:31:02 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-23 17:31:07 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-23 17:31:07 ÖÜÎå | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-23 17:31:14 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:31:15 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:31:25 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:31:28 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:31:28 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:31:48 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:31:48 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:32:12 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:32:36 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:32:36 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:32:40 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:32:41 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:33:34 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:33:36 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:33:36 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:33:40 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:33:41 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:33:44 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:33:46 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:33:46 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:33:51 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:33:52 ÖÜÎå | init CategoryMatcher successed
+Warning | 2024-02-23 17:34:33 ÖÜÎå | [QJsonDocument]: "object is missing after a comma"
+Debug | 2024-02-23 17:34:35 ÖÜÎå | delete netControl
+Debug | 2024-02-23 17:34:35 ÖÜÎå | delete netControl finished
+Warning | 2024-02-23 17:34:39 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-23 17:34:40 ÖÜÎå | init CategoryMatcher successed
+Debug | 2024-02-23 17:36:58 ÖÜÎå | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-23 17:36:58 ÖÜÎå | SerialNumber: "00787720450" init failed
+Debug | 2024-02-23 17:36:58 ÖÜÎå | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-23 17:36:59 ÖÜÎå | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-23 17:36:59 ÖÜÎå | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-23 17:36:59 ÖÜÎå | Find tof device number = 1
+Debug | 2024-02-23 17:36:59 ÖÜÎå | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-23 17:37:00 ÖÜÎå | Find tof device number = 1
+Debug | 2024-02-23 17:37:00 ÖÜÎå | m_vecPCamera size: 2
+Debug | 2024-02-23 17:37:00 ÖÜÎå | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-23 17:37:00 ÖÜÎå | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-23 17:37:00 ÖÜÎå | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-23 17:37:00 ÖÜÎå | Open camera: "F83A01121310" failed
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-25.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-25.log
new file mode 100644
index 0000000..5a25f9b
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-25.log
@@ -0,0 +1,18 @@
+Warning | 2024-02-25 09:46:18 ÖÜÈÕ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-25 09:46:19 ÖÜÈÕ | init CategoryMatcher successed
+Debug | 2024-02-25 09:46:50 ÖÜÈÕ | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-25 09:46:51 ÖÜÈÕ | Do not found any device!
+Warning | 2024-02-25 09:46:51 ÖÜÈÕ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-25 09:46:51 ÖÜÈÕ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-25 09:46:51 ÖÜÈÕ | Do not found any device!
+Warning | 2024-02-25 09:46:51 ÖÜÈÕ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-25 09:46:51 ÖÜÈÕ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | Not found any tof device.
+Warning | 2024-02-25 09:46:52 ÖÜÈÕ | SerialNumber: "EF0CD99CF26B8A23" init failed
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | Not found any tof device.
+Warning | 2024-02-25 09:46:52 ÖÜÈÕ | SerialNumber: "F83A01121310" init failed
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | m_vecPCamera size: 0
+Warning | 2024-02-25 09:46:52 ÖÜÈÕ | Load camera failed
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | delete netControl
+Debug | 2024-02-25 09:46:52 ÖÜÈÕ | delete netControl finished
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-26.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-26.log
new file mode 100644
index 0000000..2041fe0
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-26.log
@@ -0,0 +1,128 @@
+Warning | 2024-02-26 13:30:10 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 13:30:11 ÖÜÒ» | init CategoryMatcher successed
+Warning | 2024-02-26 14:30:49 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 14:30:50 ÖÜÒ» | init CategoryMatcher successed
+Debug | 2024-02-26 14:30:55 ÖÜÒ» | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-26 14:30:55 ÖÜÒ» | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-26 14:30:55 ÖÜÒ» | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-26 14:30:56 ÖÜÒ» | SerialNumber: "00787720450" init failed
+Debug | 2024-02-26 14:30:56 ÖÜÒ» | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-26 14:30:56 ÖÜÒ» | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-26 14:30:56 ÖÜÒ» | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-26 14:30:57 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 14:30:57 ÖÜÒ» | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-26 14:30:57 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 14:30:57 ÖÜÒ» | m_vecPCamera size: 2
+Debug | 2024-02-26 14:30:57 ÖÜÒ» | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-26 14:30:57 ÖÜÒ» | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-26 14:30:57 ÖÜÒ» | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-26 14:30:57 ÖÜÒ» | Open camera: "F83A01121310" failed
+Warning | 2024-02-26 14:34:26 ÖÜÒ» | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-26 14:34:26 ÖÜÒ» | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-26 14:34:26 ÖÜÒ» | strlist length: 7 head: "GPS"
+Debug | 2024-02-26 14:34:26 ÖÜÒ» | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-26 14:34:26 ÖÜÒ» | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-26 14:34:26 ÖÜÒ» | m_vecPCamera does not have camera: "00787720450"
+Debug | 2024-02-26 14:34:27 ÖÜÒ» | Input Param Illegal
+Debug | 2024-02-26 14:34:27 ÖÜÒ» | new frame not correct
+Warning | 2024-02-26 14:34:27 ÖÜÒ» | "EF0CD99CF26B8A23" capture empty
+Warning | 2024-02-26 14:34:27 ÖÜÒ» | imgSrc is empty
+Debug | 2024-02-26 14:34:27 ÖÜÒ» | [Camera{ "1" }]: Captured.
+Debug | 2024-02-26 14:34:27 ÖÜÒ» | Create folder: ".\\fileData\\2121\\562493" successfully.
+Warning | 2024-02-26 14:34:27 ÖÜÒ» | Image is empty
+Debug | 2024-02-26 14:34:27 ÖÜÒ» | send msg: "GPE&6/3&562493&2121&1&S001&25>"
+Warning | 2024-02-26 14:34:35 ÖÜÒ» | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-26 14:34:35 ÖÜÒ» | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-26 14:34:35 ÖÜÒ» | strlist length: 7 head: "GPS"
+Debug | 2024-02-26 14:34:35 ÖÜÒ» | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-26 14:49:30 ÖÜÒ» | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-26 14:51:39 ÖÜÒ» | m_vecPCamera does not have camera: "00787720450"
+Warning | 2024-02-26 15:47:38 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 15:47:40 ÖÜÒ» | init CategoryMatcher successed
+Debug | 2024-02-26 15:47:40 ÖÜÒ» | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-26 15:47:40 ÖÜÒ» | SerialNumber: "00787720450" init failed
+Debug | 2024-02-26 15:47:40 ÖÜÒ» | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-26 15:47:41 ÖÜÒ» | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-26 15:47:41 ÖÜÒ» | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-26 15:47:41 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 15:47:41 ÖÜÒ» | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-26 15:47:42 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 15:47:42 ÖÜÒ» | m_vecPCamera size: 2
+Warning | 2024-02-26 15:50:51 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 15:50:52 ÖÜÒ» | init CategoryMatcher successed
+Debug | 2024-02-26 15:51:06 ÖÜÒ» | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-26 15:51:06 ÖÜÒ» | SerialNumber: "00787720450" init failed
+Debug | 2024-02-26 15:51:06 ÖÜÒ» | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-26 15:51:07 ÖÜÒ» | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-26 15:51:07 ÖÜÒ» | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-26 15:51:07 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 15:51:07 ÖÜÒ» | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-26 15:51:08 ÖÜÒ» | Find tof device number = 1
+Warning | 2024-02-26 16:20:08 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 16:20:08 ÖÜÒ» | init CategoryMatcher successed
+Debug | 2024-02-26 16:20:28 ÖÜÒ» | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-26 16:20:28 ÖÜÒ» | SerialNumber: "00787720450" init failed
+Debug | 2024-02-26 16:20:28 ÖÜÒ» | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-26 16:20:29 ÖÜÒ» | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-26 16:20:29 ÖÜÒ» | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-26 16:20:29 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 16:20:29 ÖÜÒ» | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-26 16:20:30 ÖÜÒ» | delete netControl
+Debug | 2024-02-26 16:20:30 ÖÜÒ» | delete netControl finished
+Warning | 2024-02-26 16:34:10 ÖÜÒ» | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-26 16:34:11 ÖÜÒ» | init CategoryMatcher successed
+Debug | 2024-02-26 16:34:16 ÖÜÒ» | serialNumber[ "00787720450" ]: 140
+Warning | 2024-02-26 16:34:17 ÖÜÒ» | SerialNumber: "00787720450" init failed
+Debug | 2024-02-26 16:34:17 ÖÜÒ» | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-26 16:34:17 ÖÜÒ» | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-26 16:34:17 ÖÜÒ» | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-26 16:34:18 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 16:34:18 ÖÜÒ» | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-26 16:34:18 ÖÜÒ» | Find tof device number = 1
+Debug | 2024-02-26 16:34:24 ÖÜÒ» | m_vecPCamera size: 2
+Debug | 2024-02-26 16:34:27 ÖÜÒ» | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-26 16:34:27 ÖÜÒ» | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-26 16:34:27 ÖÜÒ» | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-26 16:34:27 ÖÜÒ» | Open camera: "F83A01121310" failed
+Warning | 2024-02-26 16:34:29 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:29 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:34:34 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:34 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:34:40 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:40 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:34:45 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:45 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:34:50 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:50 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:34:55 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:34:55 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Warning | 2024-02-26 16:35:00 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+SOCKET ERROR: Connection refused
+Debug | 2024-02-26 16:35:00 ÖÜÒ» | NetControl::onErrorHandler : ConnectionRefusedError
+Reconnecting ...
+Debug | 2024-02-26 16:35:04 ÖÜÒ» | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-26 16:35:04 ÖÜÒ» | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-26 16:35:56 ÖÜÒ» | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-26 16:35:56 ÖÜÒ» | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-26 16:35:56 ÖÜÒ» | strlist length: 7 head: "GPS"
+Debug | 2024-02-26 16:35:56 ÖÜÒ» | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-26 16:36:31 ÖÜÒ» | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-26 16:36:54 ÖÜÒ» | m_vecPCamera does not have camera: "00787720450"
+Debug | 2024-02-26 16:36:55 ÖÜÒ» | Input Param Illegal
+Debug | 2024-02-26 16:36:55 ÖÜÒ» | new frame not correct
+Warning | 2024-02-26 16:36:55 ÖÜÒ» | "EF0CD99CF26B8A23" capture empty
+Warning | 2024-02-26 16:38:50 ÖÜÒ» | imgSrc is empty
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-27.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-27.log
new file mode 100644
index 0000000..cfbb6a6
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-27.log
@@ -0,0 +1,326 @@
+Warning | 2024-02-27 11:15:37 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 11:15:38 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 11:15:38 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 11:15:38 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 11:15:38 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 11:15:38 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 11:15:38 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 11:15:39 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 11:15:39 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 11:15:39 Öܶþ | Find tof device number = 1
+Debug | 2024-02-27 11:15:39 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 11:15:40 Öܶþ | Find tof device number = 1
+Debug | 2024-02-27 11:15:40 Öܶþ | m_vecPCamera size: 2
+Debug | 2024-02-27 11:15:40 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 11:15:40 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-27 11:15:40 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 11:15:40 Öܶþ | Open camera: "F83A01121310" failed
+Warning | 2024-02-27 11:15:52 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-27 11:15:52 Öܶþ | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-27 11:15:52 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:15:52 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:15:52 Öܶþ | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-27 11:15:52 Öܶþ | m_vecPCamera does not have camera: "00787720450"
+Debug | 2024-02-27 11:20:14 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:20:14 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:20:14 Öܶþ | "EF0CD99CF26B8A23" capture empty
+Warning | 2024-02-27 11:20:18 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:20:27 Öܶþ | [Camera{ "1" }]: Captured.
+Warning | 2024-02-27 11:20:27 Öܶþ | Image is empty
+Debug | 2024-02-27 11:20:27 Öܶþ | send msg: "GPE&6/3&562493&2121&1&S001&25>"
+Warning | 2024-02-27 11:20:38 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 11:20:38 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 11:20:38 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:20:38 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:20:38 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 11:20:38 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Debug | 2024-02-27 11:23:20 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:23:20 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:23:20 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 11:23:20 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:23:20 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 11:23:20 Öܶþ | Image is empty
+Debug | 2024-02-27 11:23:20 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 11:23:26 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 11:23:26 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 11:23:26 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:23:26 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:23:26 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 11:23:26 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Debug | 2024-02-27 11:26:01 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:26:01 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:26:01 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 11:26:01 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:26:01 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 11:26:01 Öܶþ | Image is empty
+Debug | 2024-02-27 11:26:01 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 11:26:08 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-27 11:26:08 Öܶþ | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-27 11:26:08 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:26:08 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:26:08 Öܶþ | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-27 11:26:08 Öܶþ | m_vecPCamera does not have camera: "00787720450"
+Debug | 2024-02-27 11:27:31 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:27:31 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:27:31 Öܶþ | "EF0CD99CF26B8A23" capture empty
+Warning | 2024-02-27 11:27:31 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:27:31 Öܶþ | [Camera{ "1" }]: Captured.
+Warning | 2024-02-27 11:27:31 Öܶþ | Image is empty
+Debug | 2024-02-27 11:27:31 Öܶþ | send msg: "GPE&6/3&562493&2121&1&S001&25>"
+Warning | 2024-02-27 11:27:35 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&1&S001&25>"
+Debug | 2024-02-27 11:27:35 Öܶþ | msg: "GPS&6/3&562493&2121&1&S001&25>" content: "GPS&6/3&562493&2121&1&S001&25"
+Debug | 2024-02-27 11:27:35 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:27:35 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:27:35 Öܶþ | Captured SerialNumList = ("00787720450", "EF0CD99CF26B8A23")
+Warning | 2024-02-27 11:27:35 Öܶþ | m_vecPCamera does not have camera: "00787720450"
+Debug | 2024-02-27 11:28:08 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:28:08 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:28:08 Öܶþ | "EF0CD99CF26B8A23" capture empty
+Warning | 2024-02-27 11:28:08 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:28:08 Öܶþ | [Camera{ "1" }]: Captured.
+Warning | 2024-02-27 11:28:08 Öܶþ | Image is empty
+Debug | 2024-02-27 11:28:08 Öܶþ | send msg: "GPE&6/3&562493&2121&1&S001&25>"
+Warning | 2024-02-27 11:28:14 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 11:28:14 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 11:28:14 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:28:14 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:28:14 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 11:28:14 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Debug | 2024-02-27 11:29:29 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 11:29:29 Öܶþ | new frame not correct
+Warning | 2024-02-27 11:29:29 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 11:29:29 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 11:29:29 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 11:29:29 Öܶþ | Image is empty
+Debug | 2024-02-27 11:29:29 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 11:29:45 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 11:29:45 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 11:29:45 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 11:29:45 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 11:29:45 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 11:29:45 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Warning | 2024-02-27 11:33:25 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 11:33:26 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 11:33:26 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 11:33:26 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 11:33:26 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 11:33:27 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 11:33:27 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 11:33:27 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 11:33:27 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 11:33:28 Öܶþ | Find tof device number = 1
+Debug | 2024-02-27 11:33:28 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 11:33:28 Öܶþ | Find tof device number = 1
+Debug | 2024-02-27 11:33:28 Öܶþ | m_vecPCamera size: 2
+Debug | 2024-02-27 11:33:28 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 11:33:28 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Debug | 2024-02-27 11:33:28 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 11:33:28 Öܶþ | Open camera: "F83A01121310" failed
+Debug | 2024-02-27 11:33:29 Öܶþ | delete netControl
+Debug | 2024-02-27 11:33:29 Öܶþ | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
+Warning | 2024-02-27 13:50:10 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 13:50:11 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 13:50:11 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 13:50:11 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 13:50:11 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 13:50:11 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 13:50:11 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 13:50:12 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 13:50:12 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 13:50:12 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:50:12 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 13:50:13 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:50:13 Öܶþ | m_vecPCamera size: 2
+Info | 2024-02-27 13:50:13 Öܶþ | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-27 13:50:13 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 13:50:13 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-27 13:50:13 Öܶþ | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 13:50:13 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 13:50:13 Öܶþ | Open camera: "F83A01121310" failed
+Warning | 2024-02-27 13:50:28 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 13:50:28 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 13:50:28 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 13:50:28 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 13:50:28 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 13:50:28 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Info | 2024-02-27 13:50:28 Öܶþ | getPicCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 13:50:29 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 13:50:29 Öܶþ | new frame not correct
+Warning | 2024-02-27 13:50:29 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 13:50:29 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 13:50:29 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 13:50:29 Öܶþ | Image is empty
+Debug | 2024-02-27 13:50:29 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 13:51:25 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 13:51:25 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 13:51:25 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 13:51:25 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 13:51:25 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 13:51:25 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Info | 2024-02-27 13:51:48 Öܶþ | getPicCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 13:51:49 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 13:51:49 Öܶþ | new frame not correct
+Warning | 2024-02-27 13:51:49 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 13:51:49 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 13:51:49 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 13:51:49 Öܶþ | Image is empty
+Debug | 2024-02-27 13:51:49 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 13:51:52 Öܶþ | delete netControl
+Debug | 2024-02-27 13:51:52 Öܶþ | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
+Warning | 2024-02-27 13:56:20 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 13:56:20 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 13:56:20 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 13:56:20 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 13:56:20 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 13:56:21 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 13:56:21 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 13:56:21 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 13:56:21 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 13:56:22 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:56:22 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 13:56:22 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:56:22 Öܶþ | m_vecPCamera size: 2
+Info | 2024-02-27 13:56:22 Öܶþ | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-27 13:56:22 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 13:56:22 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-27 13:56:22 Öܶþ | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 13:56:22 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 13:56:22 Öܶþ | Open camera: "F83A01121310" failed
+Warning | 2024-02-27 13:56:27 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 13:56:28 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 13:56:28 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 13:56:28 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 13:56:28 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 13:56:29 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 13:56:29 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 13:56:29 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 13:56:29 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 13:56:30 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:56:30 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Debug | 2024-02-27 13:56:30 Öܶþ | delete netControl
+Debug | 2024-02-27 13:56:30 Öܶþ | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
+Warning | 2024-02-27 13:56:54 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 13:56:55 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 13:56:55 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 13:56:55 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 13:56:55 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 13:56:56 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 13:56:56 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 13:56:56 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 13:56:56 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 13:56:57 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:56:57 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 13:56:57 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 13:56:57 Öܶþ | m_vecPCamera size: 2
+Warning | 2024-02-27 13:57:43 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 13:57:44 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 13:57:44 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 13:57:44 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 13:57:44 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 13:57:45 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 13:57:45 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 13:57:45 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 13:57:45 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Debug | 2024-02-27 13:57:46 Öܶþ | delete netControl
+Debug | 2024-02-27 13:57:46 Öܶþ | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
+Warning | 2024-02-27 16:06:16 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 16:06:17 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 16:06:17 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 16:06:17 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 16:06:17 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 16:06:18 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 16:06:18 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 16:06:18 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 16:06:18 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 16:06:19 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 16:06:19 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 16:06:19 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 16:06:19 Öܶþ | m_vecPCamera size: 2
+Info | 2024-02-27 16:06:37 Öܶþ | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-27 16:06:37 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 16:06:37 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-27 16:06:37 Öܶþ | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 16:06:37 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 16:06:37 Öܶþ | Open camera: "F83A01121310" failed
+Warning | 2024-02-27 16:06:37 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 16:06:37 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 16:06:37 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 16:06:37 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 16:06:37 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 16:06:37 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Info | 2024-02-27 16:06:40 Öܶþ | getPicCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 16:06:41 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 16:06:41 Öܶþ | new frame not correct
+Warning | 2024-02-27 16:06:41 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 16:06:41 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 16:06:41 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 16:06:41 Öܶþ | Image is empty
+Debug | 2024-02-27 16:06:41 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 16:07:04 Öܶþ | i receive data from server: "RTE&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 16:07:04 Öܶþ | msg: "RTE&6/3&562493&2121&2&S001&25>" content: "RTE&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 16:07:04 Öܶþ | strlist length: 7 head: "RTE"
+Warning | 2024-02-27 16:11:46 Öܶþ | i receive data from server: "GPS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 16:11:46 Öܶþ | msg: "GPS&6/3&562493&2121&2&S001&25>" content: "GPS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 16:11:46 Öܶþ | strlist length: 7 head: "GPS"
+Debug | 2024-02-27 16:11:46 Öܶþ | µ½Î»È¡Í¼¿ªÊ¼
+Info | 2024-02-27 16:11:46 Öܶþ | Captured SerialNumList = ("00J49540865", "F83A01121310")
+Warning | 2024-02-27 16:11:46 Öܶþ | m_vecPCamera does not have camera: "00J49540865"
+Info | 2024-02-27 16:11:46 Öܶþ | getPicCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 16:11:47 Öܶþ | Input Param Illegal
+Debug | 2024-02-27 16:11:47 Öܶþ | new frame not correct
+Warning | 2024-02-27 16:11:47 Öܶþ | "F83A01121310" capture empty
+Warning | 2024-02-27 16:11:47 Öܶþ | imgSrc is empty
+Debug | 2024-02-27 16:11:47 Öܶþ | [Camera{ "2" }]: Captured.
+Warning | 2024-02-27 16:11:47 Öܶþ | Image is empty
+Debug | 2024-02-27 16:11:47 Öܶþ | send msg: "GPE&6/3&562493&2121&2&S001&25>"
+Warning | 2024-02-27 16:11:56 Öܶþ | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 16:11:56 Öܶþ | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 16:11:56 Öܶþ | strlist length: 7 head: "RTS"
+Debug | 2024-02-27 16:11:56 Öܶþ | Æ·¹æ¼ÆÊý¿ªÊ¼
+Debug | 2024-02-27 16:12:05 Öܶþ | "[562493]:Camera F83A01121310 Match Start ..."
+Debug | 2024-02-27 16:12:07 Öܶþ | "[562493]:imgInfo.image is Empty!"
+Info | 2024-02-27 16:12:32 Öܶþ | m_stocketList.remove(id) = 562493 ; Next = 0
+Debug | 2024-02-27 16:12:32 Öܶþ | send msg: "RTE&6/3&562493&2121&2&0&0&0&&>"
+Warning | 2024-02-27 16:12:38 Öܶþ | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 16:12:38 Öܶþ | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 16:12:38 Öܶþ | strlist length: 7 head: "RTS"
+Debug | 2024-02-27 16:12:38 Öܶþ | Æ·¹æ¼ÆÊý¿ªÊ¼
+Warning | 2024-02-27 17:16:59 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 17:17:00 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 17:17:00 Öܶþ | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-27 17:17:00 Öܶþ | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-27 17:17:00 Öܶþ | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-27 17:17:01 Öܶþ | SerialNumber: "00787720450" init failed
+Debug | 2024-02-27 17:17:01 Öܶþ | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-27 17:17:01 Öܶþ | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-27 17:17:01 Öܶþ | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-27 17:17:02 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 17:17:02 Öܶþ | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-27 17:17:02 Öܶþ | Find tof device number = 3
+Debug | 2024-02-27 17:17:02 Öܶþ | m_vecPCamera size: 2
+Info | 2024-02-27 17:17:02 Öܶþ | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-27 17:17:02 Öܶþ | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-27 17:17:02 Öܶþ | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-27 17:17:02 Öܶþ | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-27 17:17:02 Öܶþ | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-27 17:17:02 Öܶþ | Open camera: "F83A01121310" failed
+Warning | 2024-02-27 17:17:06 Öܶþ | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-27 17:17:06 Öܶþ | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-27 17:17:06 Öܶþ | strlist length: 7 head: "RTS"
+Debug | 2024-02-27 17:17:06 Öܶþ | Æ·¹æ¼ÆÊý¿ªÊ¼
+Warning | 2024-02-27 17:22:35 Öܶþ | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-27 17:22:36 Öܶþ | init CategoryMatcher successed
+Debug | 2024-02-27 17:22:36 Öܶþ | serialNumber[ "00787720450" ]: 140
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-02-28.log b/tpvs17/SmokeBoxIdentification/log/log-2024-02-28.log
new file mode 100644
index 0000000..f025b3f
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-02-28.log
@@ -0,0 +1,146 @@
+Warning | 2024-02-28 10:10:01 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 10:10:02 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 10:10:02 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 10:10:02 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 10:10:02 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 10:10:02 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 10:10:02 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 10:10:03 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 10:10:03 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 10:10:03 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:10:03 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 10:10:04 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:10:04 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 10:10:04 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 10:10:04 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 10:10:04 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 10:10:04 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 10:10:04 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 10:10:04 ÖÜÈý | Open camera: "F83A01121310" failed
+Warning | 2024-02-28 10:44:34 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 10:44:35 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 10:44:35 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 10:44:36 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 10:44:36 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 10:44:36 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 10:44:36 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 10:44:36 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 10:44:36 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 10:44:37 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:44:37 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 10:44:37 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:44:37 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 10:44:37 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 10:44:37 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 10:44:37 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 10:44:37 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 10:44:37 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 10:44:37 ÖÜÈý | Open camera: "F83A01121310" failed
+Warning | 2024-02-28 10:44:44 ÖÜÈý | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-28 10:44:44 ÖÜÈý | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-28 10:44:44 ÖÜÈý | strlist length: 7 head: "RTS"
+Debug | 2024-02-28 10:44:44 ÖÜÈý | Æ·¹æ¼ÆÊý¿ªÊ¼
+Info | 2024-02-28 10:44:56 ÖÜÈý | m_stocketList.remove(id) = 562493 ; Next = 0
+Debug | 2024-02-28 10:44:56 ÖÜÈý | send msg: "RTE&6/3&562493&2121&2&0&0&0&&>"
+Warning | 2024-02-28 10:45:22 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 10:45:23 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 10:45:23 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 10:45:23 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 10:45:23 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 10:45:24 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 10:45:24 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 10:45:24 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 10:45:24 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 10:45:25 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:45:25 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 10:45:25 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:45:25 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 10:45:25 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 10:45:25 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 10:45:25 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 10:45:25 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 10:45:25 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 10:45:25 ÖÜÈý | Open camera: "F83A01121310" failed
+Warning | 2024-02-28 10:45:32 ÖÜÈý | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-28 10:45:32 ÖÜÈý | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-28 10:45:32 ÖÜÈý | strlist length: 7 head: "RTS"
+Debug | 2024-02-28 10:45:32 ÖÜÈý | Æ·¹æ¼ÆÊý¿ªÊ¼
+Info | 2024-02-28 10:45:50 ÖÜÈý | m_stocketList.remove(id) = 562493 ; Next = 0
+Debug | 2024-02-28 10:45:50 ÖÜÈý | send msg: "RTE&6/3&562493&2121&2&0&0&0&&>"
+Debug | 2024-02-28 10:46:00 ÖÜÈý | delete netControl
+Debug | 2024-02-28 10:46:00 ÖÜÈý | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
+Warning | 2024-02-28 10:57:03 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 10:57:04 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 10:57:04 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 10:57:04 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 10:57:04 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 10:57:04 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 10:57:04 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 10:57:05 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 10:57:05 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 10:57:05 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:57:05 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 10:57:06 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 10:57:06 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 10:57:06 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 10:57:06 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 10:57:06 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 10:57:06 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 10:57:06 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 10:57:06 ÖÜÈý | Open camera: "F83A01121310" failed
+Warning | 2024-02-28 10:57:15 ÖÜÈý | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-28 10:57:15 ÖÜÈý | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-28 10:57:15 ÖÜÈý | strlist length: 7 head: "RTS"
+Debug | 2024-02-28 10:57:15 ÖÜÈý | Æ·¹æ¼ÆÊý¿ªÊ¼
+Warning | 2024-02-28 11:06:22 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 11:06:23 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 11:06:23 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 11:06:23 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 11:06:23 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 11:06:23 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 11:06:23 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 11:06:23 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 11:06:23 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 11:06:24 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 11:06:24 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 11:06:25 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 11:06:25 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 11:06:25 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 11:06:25 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 11:06:25 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 11:06:25 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 11:06:25 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 11:06:25 ÖÜÈý | Open camera: "F83A01121310" failed
+Warning | 2024-02-28 11:06:31 ÖÜÈý | i receive data from server: "RTS&6/3&562493&2121&2&S001&25>"
+Debug | 2024-02-28 11:06:31 ÖÜÈý | msg: "RTS&6/3&562493&2121&2&S001&25>" content: "RTS&6/3&562493&2121&2&S001&25"
+Debug | 2024-02-28 11:06:31 ÖÜÈý | strlist length: 7 head: "RTS"
+Debug | 2024-02-28 11:06:31 ÖÜÈý | Æ·¹æ¼ÆÊý¿ªÊ¼
+Warning | 2024-02-28 11:09:17 ÖÜÈý | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-02-28 11:09:18 ÖÜÈý | init CategoryMatcher successed
+Debug | 2024-02-28 11:09:18 ÖÜÈý | serialNumber[ "00787720450" ]: 140
+Debug | 2024-02-28 11:09:18 ÖÜÈý | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-02-28 11:09:18 ÖÜÈý | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Warning | 2024-02-28 11:09:18 ÖÜÈý | SerialNumber: "00787720450" init failed
+Debug | 2024-02-28 11:09:18 ÖÜÈý | serialNumber[ "00J49540865" ]: 140
+Warning | 2024-02-28 11:09:19 ÖÜÈý | SerialNumber: "00J49540865" init failed
+Debug | 2024-02-28 11:09:19 ÖÜÈý | serialNumber[ "EF0CD99CF26B8A23" ]: 210
+Info | 2024-02-28 11:09:19 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 11:09:19 ÖÜÈý | serialNumber[ "F83A01121310" ]: 210
+Info | 2024-02-28 11:09:20 ÖÜÈý | Find tof device number = 3
+Debug | 2024-02-28 11:09:20 ÖÜÈý | m_vecPCamera size: 2
+Info | 2024-02-28 11:09:20 ÖÜÈý | openCamera3D handle: 0 cameraSN: EF0CD99CF26B8A23
+Debug | 2024-02-28 11:09:20 ÖÜÈý | "open device failed, open_param: EF0CD99CF26B8A23, err = -4"
+Warning | 2024-02-28 11:09:20 ÖÜÈý | Open camera: "EF0CD99CF26B8A23" failed
+Info | 2024-02-28 11:09:20 ÖÜÈý | openCamera3D handle: 0 cameraSN: F83A01121310
+Debug | 2024-02-28 11:09:20 ÖÜÈý | "open device failed, open_param: F83A01121310, err = -4"
+Warning | 2024-02-28 11:09:20 ÖÜÈý | Open camera: "F83A01121310" failed
+Debug | 2024-02-28 11:09:31 ÖÜÈý | delete netControl
+Debug | 2024-02-28 11:09:31 ÖÜÈý | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
diff --git a/tpvs17/SmokeBoxIdentification/log/log-2024-03-01.log b/tpvs17/SmokeBoxIdentification/log/log-2024-03-01.log
new file mode 100644
index 0000000..76e9075
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/log-2024-03-01.log
@@ -0,0 +1,19 @@
+Warning | 2024-03-01 13:46:10 ÖÜÎå | The quantity of xlsx's sheet is 0
+Warning | 2024-03-01 13:46:10 ÖÜÎå | SerialNumber: "00787720450" init failed
+Warning | 2024-03-01 13:46:11 ÖÜÎå | QObject::moveToThread: Cannot move objects with a parent
+Debug | 2024-03-01 13:46:11 ÖÜÎå | ADModule load param successed
+Debug | 2024-03-01 13:46:11 ÖÜÎå | SensorsCom load param successed
+Debug | 2024-03-01 13:46:11 ÖÜÎå | Code scan load param successed
+Debug | 2024-03-01 13:46:11 ÖÜÎå | open "COM8" fail.
+Debug | 2024-03-01 13:46:11 ÖÜÎå | open "COM1" fail.
+Debug | 2024-03-01 13:46:11 ÖÜÎå | open "COM7" fail.
+Debug | 2024-03-01 13:46:11 ÖÜÎå | "COM7 not found! open failed."
+Warning | 2024-03-01 13:46:11 ÖÜÎå | SerialNumber: "00J49540865" init failed
+Debug | 2024-03-01 13:46:11 ÖÜÎå | m_vecPCamera size: 0
+Debug | 2024-03-01 13:46:12 ÖÜÎå | init CategoryMatcher successed
+Debug | 2024-03-01 13:46:12 ÖÜÎå | NetControl::onConnected
+TPTcpClient::slotConnected
+Debug | 2024-03-01 13:46:12 ÖÜÎå | ÍøÂçÁ¬½Ó³É¹¦£¡£¡£¡
+Debug | 2024-03-01 13:46:18 ÖÜÎå | delete netControl
+Debug | 2024-03-01 13:46:18 ÖÜÎå | NetControl::onDisconnected
+TPTcpClient::slotDisconnected
diff --git a/tpvs17/SmokeBoxIdentification/log/lx_camera.log b/tpvs17/SmokeBoxIdentification/log/lx_camera.log
new file mode 100644
index 0000000..cd40343
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/log/lx_camera.log
@@ -0,0 +1,784 @@
+2024-02-21 11:51:15,773 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 11:51:15,804 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 11:51:43,740 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 11:51:43,745 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:09:09,292 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:09:09,296 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:16:31,180 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:16:31,185 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:16:56,336 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:16:56,339 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:19:06,296 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:19:06,305 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:19:27,507 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:19:27,514 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:29:21,034 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:29:21,051 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:29:49,819 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:29:49,825 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:31:30,233 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:31:30,237 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:35:01,846 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:35:01,849 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:43:26,874 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:43:26,878 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-21 13:44:51,854 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-21 13:44:51,869 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-22 09:14:20,380 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-22 09:14:20,401 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-22 09:14:24,290 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-22 09:14:24,295 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-22 09:14:24,797 WARNING [default] Find device count 0
+2024-02-22 09:14:24,797 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-22 09:14:25,356 WARNING [default] Find device count 0
+2024-02-22 09:14:25,356 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-22 09:16:05,596 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-22 09:16:05,601 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-22 09:16:08,320 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-22 09:16:08,325 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-22 09:16:08,831 WARNING [default] Find device count 0
+2024-02-22 09:16:08,831 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-22 09:16:09,384 WARNING [default] Find device count 0
+2024-02-22 09:16:09,384 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-22 09:19:43,820 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-22 09:19:43,824 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-22 09:19:50,213 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-22 09:19:50,218 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-22 09:19:50,722 WARNING [default] Find device count 0
+2024-02-22 09:19:50,722 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-22 09:19:51,276 WARNING [default] Find device count 0
+2024-02-22 09:19:51,276 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-23 11:43:09,784 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 11:43:09,794 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 11:43:21,208 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-23 11:43:21,213 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-23 11:43:21,732 WARNING [default] Find device count 1
+2024-02-23 11:43:21,810 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-23 11:43:22,275 WARNING [default] Find device count 1
+2024-02-23 11:43:22,275 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-23 11:43:22,276 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-23 17:27:26,819 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:27:26,844 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:30:50,119 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:30:50,123 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:31:12,874 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:31:12,887 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:31:46,467 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:31:46,471 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:32:38,639 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:32:38,649 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:33:38,796 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:33:38,804 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:33:49,794 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:33:49,802 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:34:38,244 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-23 17:34:38,251 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-23 17:36:59,377 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-23 17:36:59,387 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-23 17:36:59,901 WARNING [default] Find device count 1
+2024-02-23 17:36:59,987 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-23 17:37:00,456 WARNING [default] Find device count 1
+2024-02-23 17:37:00,456 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-23 17:37:00,456 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-25 09:46:16,886 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 09:46:16,909 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-25 09:46:51,546 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-25 09:46:51,556 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-25 09:46:52,062 WARNING [default] Find device count 0
+2024-02-25 09:46:52,072 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-25 09:46:52,617 WARNING [default] Find device count 0
+2024-02-25 09:46:52,617 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-25 09:48:14,439 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 09:48:14,445 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-25 09:48:53,431 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 09:48:53,439 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-25 09:52:35,423 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 09:52:35,427 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-25 10:05:23,248 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-25 10:05:23,254 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 13:29:36,087 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 13:29:36,104 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 13:30:08,549 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 13:30:08,571 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 14:30:47,917 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 14:30:47,922 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 14:30:56,608 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-26 14:30:56,612 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-26 14:30:57,134 WARNING [default] Find device count 1
+2024-02-26 14:30:57,204 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-26 14:30:57,669 WARNING [default] Find device count 1
+2024-02-26 14:30:57,679 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-26 14:30:57,679 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-26 14:34:27,377 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-26 15:47:36,839 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 15:47:36,883 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 15:47:41,292 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-26 15:47:41,302 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-26 15:47:41,821 WARNING [default] Find device count 1
+2024-02-26 15:47:41,895 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-26 15:47:42,355 WARNING [default] Find device count 1
+2024-02-26 15:50:50,633 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 15:50:50,636 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 15:51:07,115 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-26 15:51:07,120 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-26 15:51:07,627 WARNING [default] Find device count 1
+2024-02-26 15:51:07,699 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-26 15:51:08,176 WARNING [default] Find device count 1
+2024-02-26 16:20:07,098 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 16:20:07,103 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 16:20:29,198 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-26 16:20:29,204 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-26 16:20:29,721 WARNING [default] Find device count 1
+2024-02-26 16:20:29,805 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-26 16:34:09,639 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-26 16:34:09,645 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-26 16:34:17,843 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-26 16:34:17,847 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-26 16:34:18,365 WARNING [default] Find device count 1
+2024-02-26 16:34:18,439 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-26 16:34:18,905 WARNING [default] Find device count 1
+2024-02-26 16:34:27,815 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-26 16:34:27,817 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-26 16:36:55,490 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:15:35,926 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 11:15:35,954 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 11:15:39,460 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 11:15:39,468 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 11:15:39,982 WARNING [default] Find device count 1
+2024-02-27 11:15:40,067 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 11:15:40,536 WARNING [default] Find device count 1
+2024-02-27 11:15:40,536 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 11:15:40,536 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 11:20:14,670 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:23:20,292 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:26:01,965 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:27:31,284 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:28:08,121 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:29:29,207 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 11:33:24,791 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 11:33:24,796 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 11:33:27,647 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 11:33:27,654 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 11:33:28,175 WARNING [default] Find device count 1
+2024-02-27 11:33:28,249 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 11:33:28,720 WARNING [default] Find device count 1
+2024-02-27 11:33:28,720 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 11:33:28,720 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 11:33:48,879 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 11:33:48,897 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:25:14,801 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:25:14,806 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:36:21,096 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:36:21,101 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:49:54,197 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:49:54,200 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:50:08,954 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:50:08,963 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:50:12,086 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 13:50:12,093 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 13:50:12,138 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 13:50:12,609 WARNING [default] Find device count 3
+2024-02-27 13:50:12,698 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 13:50:12,698 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 13:50:13,161 WARNING [default] Find device count 3
+2024-02-27 13:50:13,161 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 13:50:13,161 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 13:50:29,083 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 13:51:49,844 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 13:55:55,212 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:55:55,217 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:56:18,729 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:56:18,734 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:56:21,810 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 13:56:21,815 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 13:56:21,857 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 13:56:22,325 WARNING [default] Find device count 3
+2024-02-27 13:56:22,414 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 13:56:22,414 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 13:56:22,885 WARNING [default] Find device count 3
+2024-02-27 13:56:22,885 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 13:56:22,885 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 13:56:26,686 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:56:26,692 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:56:29,625 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 13:56:29,629 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 13:56:29,670 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 13:56:30,143 WARNING [default] Find device count 3
+2024-02-27 13:56:30,730 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 13:56:30,730 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 13:56:53,829 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:56:53,834 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:56:56,760 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 13:56:56,765 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 13:56:56,796 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 13:56:57,293 WARNING [default] Find device count 3
+2024-02-27 13:56:57,358 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 13:56:57,358 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 13:56:57,826 WARNING [default] Find device count 3
+2024-02-27 13:57:42,772 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:57:42,780 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 13:57:45,805 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 13:57:45,811 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 13:57:45,856 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 13:58:00,891 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 13:58:00,896 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 16:05:51,596 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 16:05:51,617 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 16:06:14,907 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 16:06:14,930 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 16:06:18,679 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 16:06:18,685 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 16:06:18,728 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 16:06:19,195 WARNING [default] Find device count 3
+2024-02-27 16:06:19,283 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 16:06:19,283 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 16:06:19,750 WARNING [default] Find device count 3
+2024-02-27 16:06:37,052 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 16:06:37,054 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 16:06:41,659 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 16:11:47,246 WARNING [default] CloseDev not find this uniqueid:0 maybe it had been close before, ignore it...
+2024-02-27 16:13:09,067 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 16:13:09,071 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 17:16:49,456 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 17:16:49,461 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 17:16:58,322 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 17:16:58,330 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 17:17:01,524 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-27 17:17:01,529 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-27 17:17:01,575 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-27 17:17:02,049 WARNING [default] Find device count 3
+2024-02-27 17:17:02,138 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-27 17:17:02,138 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-27 17:17:02,600 WARNING [default] Find device count 3
+2024-02-27 17:17:02,600 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-27 17:17:02,600 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-27 17:22:34,134 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 17:22:34,141 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-27 17:22:47,256 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-27 17:22:47,260 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:09:59,703 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:09:59,724 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:10:03,206 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 10:10:03,213 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 10:10:03,246 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 10:10:03,735 WARNING [default] Find device count 3
+2024-02-28 10:10:03,804 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 10:10:03,804 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 10:10:04,270 WARNING [default] Find device count 3
+2024-02-28 10:10:04,270 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 10:10:04,270 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 10:11:07,680 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:11:07,711 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:24:16,787 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:24:16,791 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:44:33,197 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:44:33,206 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:44:36,852 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 10:44:36,858 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 10:44:36,894 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 10:44:37,367 WARNING [default] Find device count 3
+2024-02-28 10:44:37,452 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 10:44:37,452 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 10:44:37,919 WARNING [default] Find device count 3
+2024-02-28 10:44:37,919 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 10:44:37,919 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 10:45:21,220 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:45:21,234 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:45:24,571 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 10:45:24,581 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 10:45:24,621 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 10:45:25,093 WARNING [default] Find device count 3
+2024-02-28 10:45:25,181 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 10:45:25,181 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 10:45:25,647 WARNING [default] Find device count 3
+2024-02-28 10:45:25,647 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 10:45:25,647 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 10:51:12,337 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:51:12,341 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:57:02,197 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 10:57:02,210 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 10:57:05,240 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 10:57:05,248 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 10:57:05,289 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 10:57:05,755 WARNING [default] Find device count 3
+2024-02-28 10:57:05,844 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 10:57:05,844 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 10:57:06,325 WARNING [default] Find device count 3
+2024-02-28 10:57:06,325 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 10:57:06,325 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 11:06:20,889 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 11:06:20,893 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 11:06:23,998 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 11:06:24,002 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 11:06:24,047 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 11:06:24,516 WARNING [default] Find device count 3
+2024-02-28 11:06:24,607 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 11:06:24,607 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 11:06:25,072 WARNING [default] Find device count 3
+2024-02-28 11:06:25,072 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 11:06:25,072 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 11:09:16,280 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 11:09:16,286 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 11:09:19,454 VERBOSE [default] current user privilege: general user, current windows firewall status:close
+2024-02-28 11:09:19,459 WARNING [default] getsockopt(SO_RCVBUF) tmp_get_buff_size=26214400
+2024-02-28 11:09:19,504 WARNING [default] Find GIGE device
+ serial_number: CB46144AAK00037
+ remoteip: 192.168.5.88
+ netmask: 255.255.255.0
+ mac: 8c:e9:b4:04:e3:16
+ cameraid: MACHINE VISION
+ realid: 154935375487766
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20220701,208785)
+2024-02-28 11:09:19,977 WARNING [default] Find device count 3
+2024-02-28 11:09:20,064 WARNING [default] Find GIGE device
+ serial_number: 00C77794529
+ remoteip: 192.168.5.218
+ netmask: 255.255.255.0
+ mac: c4:2f:90:f2:b6:48
+ cameraid: HIKROBOT
+ realid: 215708574332488
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V3.1.2 210903 681988
+2024-02-28 11:09:20,064 WARNING [default] Find GIGE device
+ serial_number: 6E08375PAK00004
+ remoteip: 192.168.5.22
+ netmask: 255.255.255.0
+ mac: 08:ed:ed:d1:b7:a8
+ cameraid: MACHINE VISION
+ realid: 9817990215592
+ devtype: 5001
+ localip: 192.168.5.185
+ firmware_ver: V1.000.00.0.R(20180817,60621)
+2024-02-28 11:09:20,532 WARNING [default] Find device count 3
+2024-02-28 11:09:20,532 ERROR [default] Not Found Matched Device EF0CD99CF26B8A23
+2024-02-28 11:09:20,532 ERROR [default] Not Found Matched Device F83A01121310
+2024-02-28 11:09:45,316 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 11:09:45,319 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 15:33:05,393 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 15:33:05,409 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 15:51:58,718 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 15:51:58,723 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 16:04:43,021 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 16:04:43,030 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 16:07:43,593 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 16:07:43,596 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 16:44:27,350 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 16:44:27,355 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 17:03:48,643 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 17:03:48,646 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 17:13:58,248 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 17:13:58,251 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 17:28:12,310 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 17:28:12,316 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 17:32:50,624 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 17:32:50,627 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-28 17:33:28,173 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-28 17:33:28,176 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 13:36:38,482 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 13:36:38,505 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 13:42:57,872 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 13:42:57,879 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 14:10:50,510 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 14:10:50,529 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 14:46:24,297 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 14:46:24,301 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 14:53:51,981 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 14:53:51,984 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 14:57:08,975 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 14:57:08,979 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 15:00:05,850 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 15:00:05,857 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 15:31:09,054 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 15:31:09,060 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
+2024-02-29 16:04:55,001 VERBOSE [default] =========API_VERSION:2.4.2,Dec 14 2023 on windows x86 cpu platform
+2024-02-29 16:04:55,010 VERBOSE [default] LibManager Load Library:LxDataProcess.dll Success. DataProcess version: DataProcess version: 1.2.4,20231211
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/ADModule.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/ADModule.obj
new file mode 100644
index 0000000..fb224a2
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/ADModule.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/CameraControl.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/CameraControl.obj
new file mode 100644
index 0000000..fd64322
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/CameraControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/CategoryMatcher.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/CategoryMatcher.obj
new file mode 100644
index 0000000..5ed8b24
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/CategoryMatcher.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/CodeScanStation.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/CodeScanStation.obj
new file mode 100644
index 0000000..a9f59b2
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/CodeScanStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/HeightCalculate.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/HeightCalculate.obj
new file mode 100644
index 0000000..1835020
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/HeightCalculate.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/HikCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/HikCamera.obj
new file mode 100644
index 0000000..4e70214
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/HikCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/LXCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/LXCamera.obj
new file mode 100644
index 0000000..8f9c547
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/LXCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/NetControl.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/NetControl.obj
new file mode 100644
index 0000000..5d6fa2b
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/NetControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/QNumTemplateBuild.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/QNumTemplateBuild.obj
new file mode 100644
index 0000000..a8f274a
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/QNumTemplateBuild.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.command.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..034e440
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.command.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.read.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..c1e6709
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.read.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.write.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..2b648fa
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/CL.write.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate
new file mode 100644
index 0000000..29575c3
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|D:\git\hzleaper\smokebox\tpvs17\|
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog
new file mode 100644
index 0000000..80350cb
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.52648.delete.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.52648.delete.1.tlog
new file mode 100644
index 0000000..f769194
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.52648.delete.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.71244.delete.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.71244.delete.1.tlog
new file mode 100644
index 0000000..d2a7f30
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.71244.delete.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.command.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.command.1.tlog
new file mode 100644
index 0000000..7639d44
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.command.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.delete.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.delete.1.tlog
new file mode 100644
index 0000000..4d185a9
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.delete.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.read.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.read.1.tlog
new file mode 100644
index 0000000..8956c4a
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.read.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.write.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.write.1.tlog
new file mode 100644
index 0000000..dd68e33
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/link.write.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.read.1u.tlog
new file mode 100644
index 0000000..66cccb1
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.write.1u.tlog
new file mode 100644
index 0000000..3b20e76
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/moc.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog
new file mode 100644
index 0000000..027909f
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog
new file mode 100644
index 0000000..a44944f
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.read.1u.tlog
new file mode 100644
index 0000000..db2affa
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.write.1u.tlog
new file mode 100644
index 0000000..ccb1092
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBox.B12702AD.tlog/uic.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.log b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.log
new file mode 100644
index 0000000..912b4a8
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.log
@@ -0,0 +1,2 @@
+libzkqd.lib(QZkJsonParser.obj) : warning LNK4099: 未找到 PDB“libzkq.pdbâ€(使用“libzkqd.lib(QZkJsonParser.obj)â€æˆ–在“D:\git\hzleaper\smokebox\runner17\Debug\libzkq.pdbâ€ä¸å¯»æ‰¾)ï¼›æ£åœ¨é“¾æŽ¥å¯¹è±¡ï¼Œå¦‚åŒæ²¡æœ‰è°ƒè¯•ä¿¡æ¯ä¸€æ ·
+ SmokeBoxIdentification.vcxproj -> D:\git\hzleaper\smokebox\tpvs17\..\runner17\Debug\smokeBoxd.exe
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.obj
new file mode 100644
index 0000000..8e2f0f6
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/log.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/log.obj
new file mode 100644
index 0000000..429f95c
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/log.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpSerialStation.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/lpSerialStation.obj
new file mode 100644
index 0000000..2c89e6b
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/lpSerialStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tlh
new file mode 100644
index 0000000..7fd23a9
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tlh
@@ -0,0 +1,1103 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (7c58e703).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCalib.tlh
+//
+// C++ source equivalent of type library faa32948-bf4e-4482-9216-70412f34bb66
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("faa32948-bf4e-4482-9216-70412f34bb66"))
+/* LIBID */ __LPVCalibLib;
+enum LPVFixImageMode;
+enum LPVDistortionModel;
+enum LPVCalibBoardType;
+enum LPVCalibModel;
+struct __declspec(uuid("7ec2dc7f-abf3-428f-ac9e-46ef7f73d150"))
+/* dual interface */ ILCalib;
+struct __declspec(uuid("7bcf71ba-f0da-4525-8e36-699662d5ad62"))
+/* dual interface */ ILCalibPointPairs;
+struct __declspec(uuid("123c56da-0e02-4149-89e7-50201429643b"))
+/* dual interface */ ILCalibNPoints;
+struct __declspec(uuid("07fcc5a5-0ed9-4347-a74f-562256704225"))
+/* dual interface */ ILCalibPinHole;
+struct __declspec(uuid("ca9b5f85-b867-4f08-a464-7b33e88de4d0"))
+/* dual interface */ ILCalibFFD;
+struct __declspec(uuid("91998f82-0bb9-40f4-a9e7-83c09c13c50c"))
+/* dual interface */ ILCalibCustom;
+struct __declspec(uuid("0301dbd7-7b19-4477-af7b-960bc1605750"))
+/* dual interface */ ILCalibBoard;
+struct __declspec(uuid("e84620c2-bc84-4ffe-b234-85dc5285ded8"))
+/* dual interface */ ILCalibRotation;
+struct __declspec(uuid("d53587b5-0d36-47ce-874b-381ea3b37c50"))
+/* dual interface */ ILCameraArray;
+struct __declspec(uuid("db03ed32-8f8c-47ef-b6b5-bb6a0e7d62d6"))
+/* dual interface */ ILFlatField;
+struct /* coclass */ LCalibNPoints;
+struct /* coclass */ LCalibPinHole;
+struct /* coclass */ LCalibFFD;
+struct /* coclass */ LCalibCustom;
+struct /* coclass */ LCalibBoard;
+struct /* coclass */ LCalibPointPairs;
+struct /* coclass */ LCalibRotation;
+struct /* coclass */ LCameraArray;
+struct /* coclass */ LFlatField;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILCalibPointPairs, __uuidof(ILCalibPointPairs));
+_COM_SMARTPTR_TYPEDEF(ILCalib, __uuidof(ILCalib));
+_COM_SMARTPTR_TYPEDEF(ILCalibNPoints, __uuidof(ILCalibNPoints));
+_COM_SMARTPTR_TYPEDEF(ILCalibPinHole, __uuidof(ILCalibPinHole));
+_COM_SMARTPTR_TYPEDEF(ILCalibFFD, __uuidof(ILCalibFFD));
+_COM_SMARTPTR_TYPEDEF(ILCalibCustom, __uuidof(ILCalibCustom));
+_COM_SMARTPTR_TYPEDEF(ILCalibBoard, __uuidof(ILCalibBoard));
+_COM_SMARTPTR_TYPEDEF(ILCalibRotation, __uuidof(ILCalibRotation));
+_COM_SMARTPTR_TYPEDEF(ILCameraArray, __uuidof(ILCameraArray));
+_COM_SMARTPTR_TYPEDEF(ILFlatField, __uuidof(ILFlatField));
+
+//
+// Type library items
+//
+
+enum LPVFixImageMode
+{
+ LPVFixImageNone = 0,
+ LPVFixImageUndistort = 1,
+ LPVFixImageUndistortAndUntilt = 2
+};
+
+enum LPVDistortionModel
+{
+ LPVDistortionRadial = 0,
+ LPVDistortionRationalRadial = 1,
+ LPVDistortionThinPrism = 2,
+ LPVDistortionTangential = 4,
+ LPVDistortionAll = 7
+};
+
+enum LPVCalibBoardType
+{
+ LPVChessBoard = 0,
+ LPVCircleGrid = 1,
+ LPVDistCharucoBoard = 2,
+ LPVEMCircleGrid = 4
+};
+
+enum LPVCalibModel
+{
+ LPVCalibPinHole = 1,
+ LPVCalibNPoints = 2,
+ LPVCalibCustom = 3,
+ LPVCalibFFD = 4
+};
+
+struct __declspec(uuid("7bcf71ba-f0da-4525-8e36-699662d5ad62"))
+ILCalibPointPairs : ILObject
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int Count ( );
+ ILPointPtr GetImagePoint (
+ int index );
+ ILPointPtr GetWorldPoint (
+ int index );
+ HRESULT AddPointPair (
+ double imagePointX,
+ double imagePointY,
+ double worldPointX,
+ double worldPointY );
+ HRESULT Draw (
+ void * hdc,
+ int index,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawAll (
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointsPtr GetImagePoints ( );
+ ILPointsPtr GetWorldPoints ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_GetImagePoint (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * imagePoint ) = 0;
+ virtual HRESULT __stdcall raw_GetWorldPoint (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * worldPoint ) = 0;
+ virtual HRESULT __stdcall raw_AddPointPair (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ int index,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawAll (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetImagePoints (
+ /*[out,retval]*/ struct ILPoints * * imagePoints ) = 0;
+ virtual HRESULT __stdcall raw_GetWorldPoints (
+ /*[out,retval]*/ struct ILPoints * * worldPoints ) = 0;
+};
+
+struct __declspec(uuid("7ec2dc7f-abf3-428f-ac9e-46ef7f73d150"))
+ILCalib : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCalibError))
+ double CalibError;
+ __declspec(property(get=GetFixImageMode,put=PutFixImageMode))
+ enum LPVFixImageMode FixImageMode;
+ __declspec(property(get=GetFixImageScale,put=PutFixImageScale))
+ double FixImageScale;
+ __declspec(property(get=GetFixImageOffsetX,put=PutFixImageOffsetX))
+ double FixImageOffsetX;
+ __declspec(property(get=GetFixImageOffsetY,put=PutFixImageOffsetY))
+ double FixImageOffsetY;
+ __declspec(property(get=GetModel))
+ enum LPVCalibModel Model;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetInterpolationMethod,put=PutInterpolationMethod))
+ enum LPVInterpolationMethod InterpolationMethod;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT ImageToWorld (
+ double imagePointX,
+ double imagePointY,
+ double * worldPointX,
+ double * worldPointY );
+ HRESULT WorldToImage (
+ double worldPointX,
+ double worldPointY,
+ double * imagePointX,
+ double * imagePointY );
+ double GetCalibError ( );
+ enum LPVFixImageMode GetFixImageMode ( );
+ void PutFixImageMode (
+ enum LPVFixImageMode val );
+ double GetFixImageScale ( );
+ void PutFixImageScale (
+ double val );
+ double GetFixImageOffsetX ( );
+ void PutFixImageOffsetX (
+ double val );
+ double GetFixImageOffsetY ( );
+ void PutFixImageOffsetY (
+ double val );
+ enum LPVErrorCode FixImage (
+ struct ILImage * image,
+ struct ILImage * fixedImage );
+ HRESULT SetPostTransform (
+ double offsetX,
+ double offsetY,
+ double deltaAngle );
+ HRESULT SetPostTransformMatrix (
+ int cols,
+ int rows,
+ SAFEARRAY * data );
+ enum LPVErrorCode AddPoint (
+ double imagePointX,
+ double imagePointY,
+ double worldPointX,
+ double worldPointY );
+ enum LPVErrorCode AddPoints (
+ struct ILCalibPointPairs * pointPairs );
+ HRESULT SetImageSize (
+ int w,
+ int h );
+ HRESULT SetPostTransformMatrix23 (
+ struct LMatrix23 * data );
+ HRESULT SetPostTransformMatrix33 (
+ struct LMatrix33 * data );
+ enum LPVErrorCode GenPostTransformMatrix (
+ struct ILCalibPointPairs * pointPairs );
+ enum LPVCalibModel GetModel ( );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ enum LPVInterpolationMethod GetInterpolationMethod ( );
+ void PutInterpolationMethod (
+ enum LPVInterpolationMethod val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_ImageToWorld (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[out]*/ double * worldPointX,
+ /*[out]*/ double * worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_WorldToImage (
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out]*/ double * imagePointX,
+ /*[out]*/ double * imagePointY ) = 0;
+ virtual HRESULT __stdcall get_CalibError (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_FixImageMode (
+ /*[out,retval]*/ enum LPVFixImageMode * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageMode (
+ /*[in]*/ enum LPVFixImageMode val ) = 0;
+ virtual HRESULT __stdcall get_FixImageScale (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageScale (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_FixImageOffsetX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageOffsetX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_FixImageOffsetY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageOffsetY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_FixImage (
+ /*[in]*/ struct ILImage * image,
+ /*[out]*/ struct ILImage * fixedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransform (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[in]*/ double deltaAngle ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix (
+ /*[in]*/ int cols,
+ /*[in]*/ int rows,
+ /*[in]*/ SAFEARRAY * data ) = 0;
+ virtual HRESULT __stdcall raw_AddPoint (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_AddPoints (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_SetImageSize (
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix23 (
+ /*[in]*/ struct LMatrix23 * data ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix33 (
+ /*[in]*/ struct LMatrix33 * data ) = 0;
+ virtual HRESULT __stdcall raw_GenPostTransformMatrix (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_Model (
+ /*[out,retval]*/ enum LPVCalibModel * val ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InterpolationMethod (
+ /*[out,retval]*/ enum LPVInterpolationMethod * val ) = 0;
+ virtual HRESULT __stdcall put_InterpolationMethod (
+ /*[in]*/ enum LPVInterpolationMethod val ) = 0;
+};
+
+struct __declspec(uuid("123c56da-0e02-4149-89e7-50201429643b"))
+ILCalibNPoints : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetTransformType,put=PutTransformType))
+ enum LPVTransformType TransformType;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVTransformType GetTransformType ( );
+ void PutTransformType (
+ enum LPVTransformType val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_TransformType (
+ /*[out,retval]*/ enum LPVTransformType * val ) = 0;
+ virtual HRESULT __stdcall put_TransformType (
+ /*[in]*/ enum LPVTransformType val ) = 0;
+};
+
+struct __declspec(uuid("07fcc5a5-0ed9-4347-a74f-562256704225"))
+ILCalibPinHole : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetDistortionModel,put=PutDistortionModel))
+ enum LPVDistortionModel DistortionModel;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVDistortionModel GetDistortionModel ( );
+ void PutDistortionModel (
+ enum LPVDistortionModel val );
+ HRESULT SetCameraProps (
+ double cellSize,
+ double focusLength,
+ double viewDistance );
+ enum LPVErrorCode AddMVPoints (
+ struct ILCalibPointPairs * pointPairs );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_DistortionModel (
+ /*[out,retval]*/ enum LPVDistortionModel * val ) = 0;
+ virtual HRESULT __stdcall put_DistortionModel (
+ /*[in]*/ enum LPVDistortionModel val ) = 0;
+ virtual HRESULT __stdcall raw_SetCameraProps (
+ /*[in]*/ double cellSize,
+ /*[in]*/ double focusLength,
+ /*[in]*/ double viewDistance ) = 0;
+ virtual HRESULT __stdcall raw_AddMVPoints (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+};
+
+struct __declspec(uuid("ca9b5f85-b867-4f08-a464-7b33e88de4d0"))
+ILCalibFFD : ILCalib
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetFFDGrid (
+ int cols,
+ int rows );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetFFDGrid (
+ /*[in]*/ int cols,
+ /*[in]*/ int rows ) = 0;
+};
+
+struct __declspec(uuid("91998f82-0bb9-40f4-a9e7-83c09c13c50c"))
+ILCalibCustom : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetScaleX,put=PutScaleX))
+ double ScaleX;
+ __declspec(property(get=GetScaleY,put=PutScaleY))
+ double ScaleY;
+ __declspec(property(get=GetTheta,put=PutTheta))
+ double Theta;
+ __declspec(property(get=GetAxisDirX,put=PutAxisDirX))
+ enum LPVDirection AxisDirX;
+ __declspec(property(get=GetAxisDirY,put=PutAxisDirY))
+ enum LPVDirection AxisDirY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetScaleX ( );
+ void PutScaleX (
+ double val );
+ double GetScaleY ( );
+ void PutScaleY (
+ double val );
+ double GetTheta ( );
+ void PutTheta (
+ double val );
+ enum LPVDirection GetAxisDirX ( );
+ void PutAxisDirX (
+ enum LPVDirection val );
+ enum LPVDirection GetAxisDirY ( );
+ void PutAxisDirY (
+ enum LPVDirection val );
+ HRESULT MoveOriginTo (
+ double x,
+ double y );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_ScaleX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ScaleY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Theta (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Theta (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_AxisDirX (
+ /*[out,retval]*/ enum LPVDirection * val ) = 0;
+ virtual HRESULT __stdcall put_AxisDirX (
+ /*[in]*/ enum LPVDirection val ) = 0;
+ virtual HRESULT __stdcall get_AxisDirY (
+ /*[out,retval]*/ enum LPVDirection * val ) = 0;
+ virtual HRESULT __stdcall put_AxisDirY (
+ /*[in]*/ enum LPVDirection val ) = 0;
+ virtual HRESULT __stdcall raw_MoveOriginTo (
+ /*[in]*/ double x,
+ /*[in]*/ double y ) = 0;
+};
+
+struct __declspec(uuid("0301dbd7-7b19-4477-af7b-960bc1605750"))
+ILCalibBoard : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCalibBoardType,put=PutCalibBoardType))
+ enum LPVCalibBoardType CalibBoardType;
+ __declspec(property(get=GetGridWidth,put=PutGridWidth))
+ int GridWidth;
+ __declspec(property(get=GetGridHeight,put=PutGridHeight))
+ int GridHeight;
+ __declspec(property(get=GetSquareSize,put=PutSquareSize))
+ double SquareSize;
+ __declspec(property(get=GetMarkerSize,put=PutMarkerSize))
+ double MarkerSize;
+ __declspec(property(get=GetBoardThickness,put=PutBoardThickness))
+ double BoardThickness;
+ __declspec(property(get=GetAutoRemoveBad,put=PutAutoRemoveBad))
+ VARIANT_BOOL AutoRemoveBad;
+ __declspec(property(get=GetUseFittingMethod,put=PutUseFittingMethod))
+ VARIANT_BOOL UseFittingMethod;
+ __declspec(property(get=GetGuessPartialBlock,put=PutGuessPartialBlock))
+ VARIANT_BOOL GuessPartialBlock;
+ __declspec(property(get=GetInvertBlock,put=PutInvertBlock))
+ VARIANT_BOOL InvertBlock;
+ __declspec(property(get=GetStartX,put=PutStartX))
+ double StartX;
+ __declspec(property(get=GetStartY,put=PutStartY))
+ double StartY;
+ __declspec(property(get=GetStartFromCetner,put=PutStartFromCetner))
+ VARIANT_BOOL StartFromCetner;
+ __declspec(property(get=GetSwapXY,put=PutSwapXY))
+ VARIANT_BOOL SwapXY;
+ __declspec(property(get=GetStepX,put=PutStepX))
+ double StepX;
+ __declspec(property(get=GetStepY,put=PutStepY))
+ double StepY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVCalibBoardType GetCalibBoardType ( );
+ void PutCalibBoardType (
+ enum LPVCalibBoardType val );
+ int GetGridWidth ( );
+ void PutGridWidth (
+ int val );
+ int GetGridHeight ( );
+ void PutGridHeight (
+ int val );
+ double GetSquareSize ( );
+ void PutSquareSize (
+ double val );
+ double GetMarkerSize ( );
+ void PutMarkerSize (
+ double val );
+ double GetBoardThickness ( );
+ void PutBoardThickness (
+ double val );
+ VARIANT_BOOL GetAutoRemoveBad ( );
+ void PutAutoRemoveBad (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetUseFittingMethod ( );
+ void PutUseFittingMethod (
+ VARIANT_BOOL val );
+ enum LPVErrorCode Detect (
+ struct ILImage * img,
+ struct ILCalibPointPairs * * pointPairs );
+ enum LPVErrorCode DetectInRegion (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct ILCalibPointPairs * * pointPairs );
+ VARIANT_BOOL GetGuessPartialBlock ( );
+ void PutGuessPartialBlock (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetInvertBlock ( );
+ void PutInvertBlock (
+ VARIANT_BOOL val );
+ double GetStartX ( );
+ void PutStartX (
+ double val );
+ double GetStartY ( );
+ void PutStartY (
+ double val );
+ enum LPVErrorCode GeneratePointPairs (
+ struct ILPoints * imgPoints,
+ struct ILCalibPointPairs * * pointPairs );
+ VARIANT_BOOL GetStartFromCetner ( );
+ void PutStartFromCetner (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetSwapXY ( );
+ void PutSwapXY (
+ VARIANT_BOOL val );
+ double GetStepX ( );
+ void PutStepX (
+ double val );
+ double GetStepY ( );
+ void PutStepY (
+ double val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CalibBoardType (
+ /*[out,retval]*/ enum LPVCalibBoardType * val ) = 0;
+ virtual HRESULT __stdcall put_CalibBoardType (
+ /*[in]*/ enum LPVCalibBoardType val ) = 0;
+ virtual HRESULT __stdcall get_GridWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_GridWidth (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_GridHeight (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_GridHeight (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_SquareSize (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_SquareSize (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_MarkerSize (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_MarkerSize (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_BoardThickness (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_BoardThickness (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_AutoRemoveBad (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_AutoRemoveBad (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_UseFittingMethod (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseFittingMethod (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_Detect (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_DetectInRegion (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_GuessPartialBlock (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_GuessPartialBlock (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InvertBlock (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_InvertBlock (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_StartX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StartY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_GeneratePointPairs (
+ /*[in]*/ struct ILPoints * imgPoints,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_StartFromCetner (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_StartFromCetner (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_SwapXY (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_SwapXY (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_StepX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StepX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StepY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StepY (
+ /*[in]*/ double val ) = 0;
+};
+
+struct __declspec(uuid("e84620c2-bc84-4ffe-b234-85dc5285ded8"))
+ILCalibRotation : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetTranslationOnRotation,put=PutTranslationOnRotation))
+ VARIANT_BOOL TranslationOnRotation;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT AddRotPoint (
+ double pntX,
+ double pntY,
+ double angle );
+ HRESULT AddRotPointPair (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double angle );
+ HRESULT SetAim (
+ double aimPointX1,
+ double aimPointY1,
+ double aimPointX2,
+ double aimPointY2 );
+ HRESULT Align (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double * dx,
+ double * dy,
+ double * da );
+ HRESULT AlignTo (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double aimPointX1,
+ double aimPointY1,
+ double aimPointX2,
+ double aimPointY2,
+ double * dx,
+ double * dy,
+ double * da );
+ VARIANT_BOOL GetTranslationOnRotation ( );
+ void PutTranslationOnRotation (
+ VARIANT_BOOL val );
+ ILPointPtr GetRotCenter ( );
+ HRESULT Transform (
+ double pntX,
+ double pntY,
+ double dx,
+ double dy,
+ double da,
+ double * newX,
+ double * newY );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_AddRotPoint (
+ /*[in]*/ double pntX,
+ /*[in]*/ double pntY,
+ /*[in]*/ double angle ) = 0;
+ virtual HRESULT __stdcall raw_AddRotPointPair (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[in]*/ double angle ) = 0;
+ virtual HRESULT __stdcall raw_SetAim (
+ /*[in]*/ double aimPointX1,
+ /*[in]*/ double aimPointY1,
+ /*[in]*/ double aimPointX2,
+ /*[in]*/ double aimPointY2 ) = 0;
+ virtual HRESULT __stdcall raw_Align (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[out]*/ double * dx,
+ /*[out]*/ double * dy,
+ /*[out]*/ double * da ) = 0;
+ virtual HRESULT __stdcall raw_AlignTo (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[in]*/ double aimPointX1,
+ /*[in]*/ double aimPointY1,
+ /*[in]*/ double aimPointX2,
+ /*[in]*/ double aimPointY2,
+ /*[out]*/ double * dx,
+ /*[out]*/ double * dy,
+ /*[out]*/ double * da ) = 0;
+ virtual HRESULT __stdcall get_TranslationOnRotation (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_TranslationOnRotation (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_GetRotCenter (
+ /*[out,retval]*/ struct ILPoint * * center ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ double pntX,
+ /*[in]*/ double pntY,
+ /*[in]*/ double dx,
+ /*[in]*/ double dy,
+ /*[in]*/ double da,
+ /*[out]*/ double * newX,
+ /*[out]*/ double * newY ) = 0;
+};
+
+struct __declspec(uuid("d53587b5-0d36-47ce-874b-381ea3b37c50"))
+ILCameraArray : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetEnableBlend,put=PutEnableBlend))
+ VARIANT_BOOL EnableBlend;
+ __declspec(property(get=GetCalibError))
+ double CalibError;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetInterpolationMethod,put=PutInterpolationMethod))
+ enum LPVInterpolationMethod InterpolationMethod;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL GetEnableBlend ( );
+ void PutEnableBlend (
+ VARIANT_BOOL val );
+ HRESULT Init (
+ enum LPVCalibModel calibModel,
+ int hCount,
+ int vCount );
+ HRESULT InitByCopy (
+ struct ILCalib * calib,
+ int hCount,
+ int vCount,
+ VARIANT_BOOL copyCalib,
+ double hStep,
+ double vStep );
+ HRESULT InitByCopyN (
+ SAFEARRAY * calibs,
+ int rows,
+ int hCount,
+ int vCount,
+ VARIANT_BOOL copyCalib,
+ double hStep,
+ double vStep );
+ int Count ( );
+ ILCalibPtr Item (
+ int index );
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT ImageToWorld (
+ double imagePointX,
+ double imagePointY,
+ double * worldPointX,
+ double * worldPointY );
+ HRESULT WorldToImage (
+ double worldPointX,
+ double worldPointY,
+ double * imagePointX,
+ double * imagePointY );
+ double GetCalibError ( );
+ enum LPVErrorCode StitchImage (
+ struct ILImageList * images,
+ struct ILImage * stitchedImage );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ enum LPVInterpolationMethod GetInterpolationMethod ( );
+ void PutInterpolationMethod (
+ enum LPVInterpolationMethod val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_EnableBlend (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_EnableBlend (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_Init (
+ /*[in]*/ enum LPVCalibModel calibModel,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount ) = 0;
+ virtual HRESULT __stdcall raw_InitByCopy (
+ /*[in]*/ struct ILCalib * calib,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount,
+ /*[in]*/ VARIANT_BOOL copyCalib,
+ /*[in]*/ double hStep,
+ /*[in]*/ double vStep ) = 0;
+ virtual HRESULT __stdcall raw_InitByCopyN (
+ /*[in]*/ SAFEARRAY * calibs,
+ /*[in]*/ int rows,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount,
+ /*[in]*/ VARIANT_BOOL copyCalib,
+ /*[in]*/ double hStep,
+ /*[in]*/ double vStep ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILCalib * * calib ) = 0;
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_ImageToWorld (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[out]*/ double * worldPointX,
+ /*[out]*/ double * worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_WorldToImage (
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out]*/ double * imagePointX,
+ /*[out]*/ double * imagePointY ) = 0;
+ virtual HRESULT __stdcall get_CalibError (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_StitchImage (
+ /*[in]*/ struct ILImageList * images,
+ /*[out]*/ struct ILImage * stitchedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InterpolationMethod (
+ /*[out,retval]*/ enum LPVInterpolationMethod * val ) = 0;
+ virtual HRESULT __stdcall put_InterpolationMethod (
+ /*[in]*/ enum LPVInterpolationMethod val ) = 0;
+};
+
+struct __declspec(uuid("db03ed32-8f8c-47ef-b6b5-bb6a0e7d62d6"))
+ILFlatField : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetColorMode,put=PutColorMode))
+ enum LPVImageFormat ColorMode;
+ __declspec(property(get=GetFromGray,put=PutFromGray))
+ int FromGray;
+ __declspec(property(get=GetToGray,put=PutToGray))
+ int ToGray;
+ __declspec(property(get=GetFromColor,put=PutFromColor))
+ struct LColor FromColor;
+ __declspec(property(get=GetToColor,put=PutToColor))
+ struct LColor ToColor;
+ __declspec(property(get=GetTolerance,put=PutTolerance))
+ int Tolerance;
+ __declspec(property(get=GetKernelWidth,put=PutKernelWidth))
+ int KernelWidth;
+ __declspec(property(get=GetUpdateRate,put=PutUpdateRate))
+ double UpdateRate;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVImageFormat GetColorMode ( );
+ void PutColorMode (
+ enum LPVImageFormat val );
+ int GetFromGray ( );
+ void PutFromGray (
+ int val );
+ int GetToGray ( );
+ void PutToGray (
+ int val );
+ struct LColor GetFromColor ( );
+ void PutFromColor (
+ struct LColor val );
+ struct LColor GetToColor ( );
+ void PutToColor (
+ struct LColor val );
+ int GetTolerance ( );
+ void PutTolerance (
+ int val );
+ int GetKernelWidth ( );
+ void PutKernelWidth (
+ int val );
+ double GetUpdateRate ( );
+ void PutUpdateRate (
+ double val );
+ enum LPVErrorCode SetDarkFrame (
+ struct ILImage * image );
+ enum LPVErrorCode Train (
+ struct ILImage * image,
+ struct ILRegion * region );
+ enum LPVErrorCode FixImage (
+ struct ILImage * image,
+ struct ILImage * fixedImage );
+ HRESULT GetFlatField (
+ struct ILImage * previewImage );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall get_ColorMode (
+ /*[out,retval]*/ enum LPVImageFormat * val ) = 0;
+ virtual HRESULT __stdcall put_ColorMode (
+ /*[in]*/ enum LPVImageFormat val ) = 0;
+ virtual HRESULT __stdcall get_FromGray (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_FromGray (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_ToGray (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_ToGray (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_FromColor (
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_FromColor (
+ /*[in]*/ struct LColor val ) = 0;
+ virtual HRESULT __stdcall get_ToColor (
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_ToColor (
+ /*[in]*/ struct LColor val ) = 0;
+ virtual HRESULT __stdcall get_Tolerance (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_Tolerance (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_KernelWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_KernelWidth (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_UpdateRate (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_UpdateRate (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetDarkFrame (
+ /*[in]*/ struct ILImage * image,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_Train (
+ /*[in]*/ struct ILImage * image,
+ /*[in]*/ struct ILRegion * region,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_FixImage (
+ /*[in]*/ struct ILImage * image,
+ /*[out]*/ struct ILImage * fixedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_GetFlatField (
+ /*[out]*/ struct ILImage * previewImage ) = 0;
+};
+
+struct __declspec(uuid("3ae96217-669c-40ea-9e3d-6c1d21235d9e"))
+LCalibNPoints;
+ // [ default ] interface ILCalibNPoints
+
+struct __declspec(uuid("3aeb3fed-4469-4c2d-acc4-b287d6d52327"))
+LCalibPinHole;
+ // [ default ] interface ILCalibPinHole
+
+struct __declspec(uuid("c3c2be54-c24e-4cca-86a0-f6ee5c24221a"))
+LCalibFFD;
+ // [ default ] interface ILCalibFFD
+
+struct __declspec(uuid("fda3eff1-0282-4f37-a048-d3eb64d8c228"))
+LCalibCustom;
+ // [ default ] interface ILCalibCustom
+
+struct __declspec(uuid("99a5fb19-790e-4f08-aeb8-9216ac036b78"))
+LCalibBoard;
+ // [ default ] interface ILCalibBoard
+
+struct __declspec(uuid("7d980a53-f1bb-45fa-b33d-5a76581a8ed5"))
+LCalibPointPairs;
+ // [ default ] interface ILCalibPointPairs
+ // interface ILDrawable
+
+struct __declspec(uuid("79b9bf40-288e-47dd-860c-e98a4be692c1"))
+LCalibRotation;
+ // [ default ] interface ILCalibRotation
+
+struct __declspec(uuid("21898120-3c29-44ba-8573-40a7e55a2f82"))
+LCameraArray;
+ // [ default ] interface ILCameraArray
+
+struct __declspec(uuid("75b13e3e-25be-4e3c-8820-d2606b9ab865"))
+LFlatField;
+ // [ default ] interface ILFlatField
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCalib.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tli
new file mode 100644
index 0000000..305339a
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCalib.tli
@@ -0,0 +1,900 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (7c58e703).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCalib.tli
+//
+// Wrapper implementations for type library faa32948-bf4e-4482-9216-70412f34bb66
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILCalibPointPairs wrapper method implementations
+//
+
+inline int ILCalibPointPairs::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILCalibPointPairs::GetImagePoint ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetImagePoint(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILCalibPointPairs::GetWorldPoint ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetWorldPoint(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILCalibPointPairs::AddPointPair ( double imagePointX, double imagePointY, double worldPointX, double worldPointY ) {
+ HRESULT _hr = raw_AddPointPair(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibPointPairs::Draw ( void * hdc, int index, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, index, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibPointPairs::DrawAll ( void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawAll(hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointsPtr ILCalibPointPairs::GetImagePoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetImagePoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline ILPointsPtr ILCalibPointPairs::GetWorldPoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetWorldPoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+//
+// interface ILCalib wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCalib::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalib::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::ImageToWorld ( double imagePointX, double imagePointY, double * worldPointX, double * worldPointY ) {
+ HRESULT _hr = raw_ImageToWorld(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::WorldToImage ( double worldPointX, double worldPointY, double * imagePointX, double * imagePointY ) {
+ HRESULT _hr = raw_WorldToImage(worldPointX, worldPointY, imagePointX, imagePointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILCalib::GetCalibError ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CalibError(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVFixImageMode ILCalib::GetFixImageMode ( ) {
+ enum LPVFixImageMode _result;
+ HRESULT _hr = get_FixImageMode(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageMode ( enum LPVFixImageMode val ) {
+ HRESULT _hr = put_FixImageMode(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageScale ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageScale(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageScale ( double val ) {
+ HRESULT _hr = put_FixImageScale(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageOffsetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageOffsetX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageOffsetX ( double val ) {
+ HRESULT _hr = put_FixImageOffsetX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageOffsetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageOffsetY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageOffsetY ( double val ) {
+ HRESULT _hr = put_FixImageOffsetY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalib::FixImage ( struct ILImage * image, struct ILImage * fixedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_FixImage(image, fixedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::SetPostTransform ( double offsetX, double offsetY, double deltaAngle ) {
+ HRESULT _hr = raw_SetPostTransform(offsetX, offsetY, deltaAngle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix ( int cols, int rows, SAFEARRAY * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix(cols, rows, data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalib::AddPoint ( double imagePointX, double imagePointY, double worldPointX, double worldPointY ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddPoint(imagePointX, imagePointY, worldPointX, worldPointY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalib::AddPoints ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddPoints(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::SetImageSize ( int w, int h ) {
+ HRESULT _hr = raw_SetImageSize(w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix23 ( struct LMatrix23 * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix23(data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix33 ( struct LMatrix33 * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix33(data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalib::GenPostTransformMatrix ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_GenPostTransformMatrix(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVCalibModel ILCalib::GetModel ( ) {
+ enum LPVCalibModel _result;
+ HRESULT _hr = get_Model(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalib::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVInterpolationMethod ILCalib::GetInterpolationMethod ( ) {
+ enum LPVInterpolationMethod _result;
+ HRESULT _hr = get_InterpolationMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutInterpolationMethod ( enum LPVInterpolationMethod val ) {
+ HRESULT _hr = put_InterpolationMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibNPoints wrapper method implementations
+//
+
+inline enum LPVTransformType ILCalibNPoints::GetTransformType ( ) {
+ enum LPVTransformType _result;
+ HRESULT _hr = get_TransformType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibNPoints::PutTransformType ( enum LPVTransformType val ) {
+ HRESULT _hr = put_TransformType(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibPinHole wrapper method implementations
+//
+
+inline enum LPVDistortionModel ILCalibPinHole::GetDistortionModel ( ) {
+ enum LPVDistortionModel _result;
+ HRESULT _hr = get_DistortionModel(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibPinHole::PutDistortionModel ( enum LPVDistortionModel val ) {
+ HRESULT _hr = put_DistortionModel(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCalibPinHole::SetCameraProps ( double cellSize, double focusLength, double viewDistance ) {
+ HRESULT _hr = raw_SetCameraProps(cellSize, focusLength, viewDistance);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalibPinHole::AddMVPoints ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddMVPoints(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILCalibFFD wrapper method implementations
+//
+
+inline HRESULT ILCalibFFD::SetFFDGrid ( int cols, int rows ) {
+ HRESULT _hr = raw_SetFFDGrid(cols, rows);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCalibCustom wrapper method implementations
+//
+
+inline double ILCalibCustom::GetScaleX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutScaleX ( double val ) {
+ HRESULT _hr = put_ScaleX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibCustom::GetScaleY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutScaleY ( double val ) {
+ HRESULT _hr = put_ScaleY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibCustom::GetTheta ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Theta(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutTheta ( double val ) {
+ HRESULT _hr = put_Theta(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDirection ILCalibCustom::GetAxisDirX ( ) {
+ enum LPVDirection _result;
+ HRESULT _hr = get_AxisDirX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutAxisDirX ( enum LPVDirection val ) {
+ HRESULT _hr = put_AxisDirX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDirection ILCalibCustom::GetAxisDirY ( ) {
+ enum LPVDirection _result;
+ HRESULT _hr = get_AxisDirY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutAxisDirY ( enum LPVDirection val ) {
+ HRESULT _hr = put_AxisDirY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCalibCustom::MoveOriginTo ( double x, double y ) {
+ HRESULT _hr = raw_MoveOriginTo(x, y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCalibBoard wrapper method implementations
+//
+
+inline enum LPVCalibBoardType ILCalibBoard::GetCalibBoardType ( ) {
+ enum LPVCalibBoardType _result;
+ HRESULT _hr = get_CalibBoardType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutCalibBoardType ( enum LPVCalibBoardType val ) {
+ HRESULT _hr = put_CalibBoardType(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILCalibBoard::GetGridWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_GridWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGridWidth ( int val ) {
+ HRESULT _hr = put_GridWidth(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILCalibBoard::GetGridHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_GridHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGridHeight ( int val ) {
+ HRESULT _hr = put_GridHeight(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetSquareSize ( ) {
+ double _result = 0;
+ HRESULT _hr = get_SquareSize(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutSquareSize ( double val ) {
+ HRESULT _hr = put_SquareSize(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetMarkerSize ( ) {
+ double _result = 0;
+ HRESULT _hr = get_MarkerSize(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutMarkerSize ( double val ) {
+ HRESULT _hr = put_MarkerSize(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetBoardThickness ( ) {
+ double _result = 0;
+ HRESULT _hr = get_BoardThickness(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutBoardThickness ( double val ) {
+ HRESULT _hr = put_BoardThickness(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetAutoRemoveBad ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_AutoRemoveBad(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutAutoRemoveBad ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_AutoRemoveBad(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetUseFittingMethod ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseFittingMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutUseFittingMethod ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseFittingMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalibBoard::Detect ( struct ILImage * img, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Detect(img, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalibBoard::DetectInRegion ( struct ILImage * img, struct ILRegion * region, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_DetectInRegion(img, region, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetGuessPartialBlock ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_GuessPartialBlock(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGuessPartialBlock ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_GuessPartialBlock(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetInvertBlock ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_InvertBlock(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutInvertBlock ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_InvertBlock(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStartX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartX ( double val ) {
+ HRESULT _hr = put_StartX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStartY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartY ( double val ) {
+ HRESULT _hr = put_StartY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalibBoard::GeneratePointPairs ( struct ILPoints * imgPoints, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_GeneratePointPairs(imgPoints, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetStartFromCetner ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_StartFromCetner(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartFromCetner ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_StartFromCetner(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetSwapXY ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_SwapXY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutSwapXY ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_SwapXY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStepX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StepX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStepX ( double val ) {
+ HRESULT _hr = put_StepX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStepY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StepY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStepY ( double val ) {
+ HRESULT _hr = put_StepY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibRotation wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCalibRotation::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalibRotation::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalibRotation::AddRotPoint ( double pntX, double pntY, double angle ) {
+ HRESULT _hr = raw_AddRotPoint(pntX, pntY, angle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::AddRotPointPair ( double pntX1, double pntY1, double pntX2, double pntY2, double angle ) {
+ HRESULT _hr = raw_AddRotPointPair(pntX1, pntY1, pntX2, pntY2, angle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::SetAim ( double aimPointX1, double aimPointY1, double aimPointX2, double aimPointY2 ) {
+ HRESULT _hr = raw_SetAim(aimPointX1, aimPointY1, aimPointX2, aimPointY2);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::Align ( double pntX1, double pntY1, double pntX2, double pntY2, double * dx, double * dy, double * da ) {
+ HRESULT _hr = raw_Align(pntX1, pntY1, pntX2, pntY2, dx, dy, da);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::AlignTo ( double pntX1, double pntY1, double pntX2, double pntY2, double aimPointX1, double aimPointY1, double aimPointX2, double aimPointY2, double * dx, double * dy, double * da ) {
+ HRESULT _hr = raw_AlignTo(pntX1, pntY1, pntX2, pntY2, aimPointX1, aimPointY1, aimPointX2, aimPointY2, dx, dy, da);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline VARIANT_BOOL ILCalibRotation::GetTranslationOnRotation ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_TranslationOnRotation(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibRotation::PutTranslationOnRotation ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_TranslationOnRotation(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline ILPointPtr ILCalibRotation::GetRotCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetRotCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILCalibRotation::Transform ( double pntX, double pntY, double dx, double dy, double da, double * newX, double * newY ) {
+ HRESULT _hr = raw_Transform(pntX, pntY, dx, dy, da, newX, newY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCameraArray wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCameraArray::GetEnableBlend ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_EnableBlend(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutEnableBlend ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_EnableBlend(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCameraArray::Init ( enum LPVCalibModel calibModel, int hCount, int vCount ) {
+ HRESULT _hr = raw_Init(calibModel, hCount, vCount);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::InitByCopy ( struct ILCalib * calib, int hCount, int vCount, VARIANT_BOOL copyCalib, double hStep, double vStep ) {
+ HRESULT _hr = raw_InitByCopy(calib, hCount, vCount, copyCalib, hStep, vStep);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::InitByCopyN ( SAFEARRAY * calibs, int rows, int hCount, int vCount, VARIANT_BOOL copyCalib, double hStep, double vStep ) {
+ HRESULT _hr = raw_InitByCopyN(calibs, rows, hCount, vCount, copyCalib, hStep, vStep);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILCameraArray::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILCalibPtr ILCameraArray::Item ( int index ) {
+ struct ILCalib * _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCalibPtr(_result, false);
+}
+
+inline VARIANT_BOOL ILCameraArray::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCameraArray::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCameraArray::ImageToWorld ( double imagePointX, double imagePointY, double * worldPointX, double * worldPointY ) {
+ HRESULT _hr = raw_ImageToWorld(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::WorldToImage ( double worldPointX, double worldPointY, double * imagePointX, double * imagePointY ) {
+ HRESULT _hr = raw_WorldToImage(worldPointX, worldPointY, imagePointX, imagePointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILCameraArray::GetCalibError ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CalibError(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCameraArray::StitchImage ( struct ILImageList * images, struct ILImage * stitchedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_StitchImage(images, stitchedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCameraArray::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVInterpolationMethod ILCameraArray::GetInterpolationMethod ( ) {
+ enum LPVInterpolationMethod _result;
+ HRESULT _hr = get_InterpolationMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutInterpolationMethod ( enum LPVInterpolationMethod val ) {
+ HRESULT _hr = put_InterpolationMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILFlatField wrapper method implementations
+//
+
+inline VARIANT_BOOL ILFlatField::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVImageFormat ILFlatField::GetColorMode ( ) {
+ enum LPVImageFormat _result;
+ HRESULT _hr = get_ColorMode(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutColorMode ( enum LPVImageFormat val ) {
+ HRESULT _hr = put_ColorMode(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetFromGray ( ) {
+ int _result = 0;
+ HRESULT _hr = get_FromGray(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutFromGray ( int val ) {
+ HRESULT _hr = put_FromGray(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetToGray ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ToGray(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutToGray ( int val ) {
+ HRESULT _hr = put_ToGray(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline struct LColor ILFlatField::GetFromColor ( ) {
+ struct LColor _result;
+ HRESULT _hr = get_FromColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutFromColor ( struct LColor val ) {
+ HRESULT _hr = put_FromColor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline struct LColor ILFlatField::GetToColor ( ) {
+ struct LColor _result;
+ HRESULT _hr = get_ToColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutToColor ( struct LColor val ) {
+ HRESULT _hr = put_ToColor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetTolerance ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Tolerance(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutTolerance ( int val ) {
+ HRESULT _hr = put_Tolerance(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetKernelWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutKernelWidth ( int val ) {
+ HRESULT _hr = put_KernelWidth(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILFlatField::GetUpdateRate ( ) {
+ double _result = 0;
+ HRESULT _hr = get_UpdateRate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutUpdateRate ( double val ) {
+ HRESULT _hr = put_UpdateRate(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILFlatField::SetDarkFrame ( struct ILImage * image ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_SetDarkFrame(image, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILFlatField::Train ( struct ILImage * image, struct ILRegion * region ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Train(image, region, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILFlatField::FixImage ( struct ILImage * image, struct ILImage * fixedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_FixImage(image, fixedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILFlatField::GetFlatField ( struct ILImage * previewImage ) {
+ HRESULT _hr = raw_GetFlatField(previewImage);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tlh
new file mode 100644
index 0000000..c9f84de
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tlh
@@ -0,0 +1,1929 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (1eb1c98e).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCore.tlh
+//
+// C++ source equivalent of type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("c34b3e9e-6dea-4aa9-b500-0266f90dc15f"))
+/* LIBID */ __LPVCoreLib;
+struct LMatrix23;
+struct LMatrix33;
+struct LMatrix44;
+struct LColor;
+struct LSize;
+enum LPVErrorCode;
+enum LPVRoiHandle;
+enum LPVTransformType;
+enum LPVAggregation;
+enum LPVPenStyle;
+enum LPVPointShape;
+enum LPVPolarity;
+enum LPVExcludeBoundaryMode;
+enum LPVSortBy;
+enum LPVSortOrder;
+enum LPVPositionMode;
+enum LPVFindBy;
+enum LPVChartDrawFlags;
+enum LPVInterpolationMethod;
+enum LPVThresholdType;
+enum LPVMorphShape;
+enum LPVEdgeKernel;
+enum LPVFlipType;
+enum LPVColor;
+enum LPVImageFormat;
+enum LPVColorSpace;
+enum LPVDirection;
+enum LPVAxis;
+struct __declspec(uuid("52f4d75c-6994-445f-9852-45ac4bf86c50"))
+/* interface */ ILDrawable;
+struct __declspec(uuid("ded7e160-36bd-4fe3-8d98-72bddc93b83d"))
+/* interface */ ILSortables;
+struct __declspec(uuid("d56cf377-498f-4b5c-8913-6d77f2dd8a29"))
+/* interface */ ILSortable;
+struct __declspec(uuid("50cc1928-457b-4ce6-bfdf-1a9b47022a31"))
+/* dual interface */ ILObject;
+struct __declspec(uuid("ec419121-252e-4173-ad0d-2d3d69986af3"))
+/* dual interface */ ILSystem;
+struct __declspec(uuid("445d309e-0929-4b12-84a5-461e353d2bea"))
+/* dual interface */ ILImage;
+struct __declspec(uuid("edc919ed-2f22-48c3-b059-37e20a7d9a59"))
+/* dual interface */ ILRegion;
+struct __declspec(uuid("aecb7fb8-d910-457e-9b47-2da967335bf7"))
+/* dual interface */ ILRectRegion;
+struct __declspec(uuid("605251ec-4957-4d85-a9a2-cd42f1e8b4b7"))
+/* dual interface */ ILRotRectRegion;
+struct __declspec(uuid("7c63e516-8af9-47ec-a35a-a32c194a783b"))
+/* dual interface */ ILCircleRegion;
+struct __declspec(uuid("8e869611-1478-4c52-8083-3b19d99e5fdb"))
+/* dual interface */ ILPolyRegion;
+struct __declspec(uuid("de41b0b3-1a33-4e7a-b38d-5cc098dff62b"))
+/* dual interface */ ILMaskRegion;
+struct __declspec(uuid("09161909-a8f9-4623-aa75-9e5398a5145b"))
+/* dual interface */ ILAnnulusRegion;
+struct __declspec(uuid("23207784-c0ae-4f89-89f4-0d4a07536f9e"))
+/* dual interface */ ILEllipseRegion;
+struct __declspec(uuid("69904f7a-3370-425d-984a-e1a21d19957c"))
+/* dual interface */ ILAnnulusSectorRegion;
+struct __declspec(uuid("1c052ea3-25c1-434a-8b1e-903803415814"))
+/* dual interface */ ILImageList;
+struct /* coclass */ LSystem;
+struct /* coclass */ LImage;
+struct /* coclass */ LRegion;
+struct /* coclass */ LRectRegion;
+struct /* coclass */ LRotRectRegion;
+struct /* coclass */ LCircleRegion;
+struct /* coclass */ LPolyRegion;
+struct /* coclass */ LMaskRegion;
+struct /* coclass */ LAnnulusRegion;
+struct /* coclass */ LEllipseRegion;
+struct /* coclass */ LAnnulusSectorRegion;
+struct /* coclass */ LImageList;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILDrawable, __uuidof(ILDrawable));
+_COM_SMARTPTR_TYPEDEF(ILSortable, __uuidof(ILSortable));
+_COM_SMARTPTR_TYPEDEF(ILSortables, __uuidof(ILSortables));
+_COM_SMARTPTR_TYPEDEF(ILObject, __uuidof(ILObject));
+_COM_SMARTPTR_TYPEDEF(ILSystem, __uuidof(ILSystem));
+_COM_SMARTPTR_TYPEDEF(ILImage, __uuidof(ILImage));
+_COM_SMARTPTR_TYPEDEF(ILRegion, __uuidof(ILRegion));
+_COM_SMARTPTR_TYPEDEF(ILRectRegion, __uuidof(ILRectRegion));
+_COM_SMARTPTR_TYPEDEF(ILRotRectRegion, __uuidof(ILRotRectRegion));
+_COM_SMARTPTR_TYPEDEF(ILCircleRegion, __uuidof(ILCircleRegion));
+_COM_SMARTPTR_TYPEDEF(ILPolyRegion, __uuidof(ILPolyRegion));
+_COM_SMARTPTR_TYPEDEF(ILMaskRegion, __uuidof(ILMaskRegion));
+_COM_SMARTPTR_TYPEDEF(ILAnnulusRegion, __uuidof(ILAnnulusRegion));
+_COM_SMARTPTR_TYPEDEF(ILEllipseRegion, __uuidof(ILEllipseRegion));
+_COM_SMARTPTR_TYPEDEF(ILAnnulusSectorRegion, __uuidof(ILAnnulusSectorRegion));
+_COM_SMARTPTR_TYPEDEF(ILImageList, __uuidof(ILImageList));
+
+//
+// Type library items
+//
+ const long LPVMajorVersion = 1;
+ const long LPVMinorVersion = 18;
+ const long LPVMicroVersion = 6;
+
+#pragma pack(push, 8)
+
+struct __declspec(uuid("c1659ce1-a14b-4432-981e-d30976aadd66"))
+LMatrix23
+{
+ double m11;
+ double m12;
+ double m13;
+ double m21;
+ double m22;
+ double m23;
+};
+
+#pragma pack(pop)
+
+#pragma pack(push, 8)
+
+struct __declspec(uuid("4b6781ef-6779-420d-80d9-732217d0fc66"))
+LMatrix33
+{
+ double m11;
+ double m12;
+ double m13;
+ double m21;
+ double m22;
+ double m23;
+ double m31;
+ double m32;
+ double m33;
+};
+
+#pragma pack(pop)
+
+#pragma pack(push, 8)
+
+struct __declspec(uuid("b5cf4cef-3c3e-46d1-b1a2-468136e3e0f7"))
+LMatrix44
+{
+ double m11;
+ double m12;
+ double m13;
+ double m14;
+ double m21;
+ double m22;
+ double m23;
+ double m24;
+ double m31;
+ double m32;
+ double m33;
+ double m34;
+ double m41;
+ double m42;
+ double m43;
+ double m44;
+};
+
+#pragma pack(pop)
+
+#pragma pack(push, 4)
+
+struct __declspec(uuid("9f4a8547-70f7-495a-9d95-3748997f3d4d"))
+LColor
+{
+ int v0;
+ int v1;
+ int v2;
+};
+
+#pragma pack(pop)
+
+#pragma pack(push, 4)
+
+struct __declspec(uuid("a027182b-f8a8-4b0a-a48f-d8e34fd3d218"))
+LSize
+{
+ int w;
+ int h;
+};
+
+#pragma pack(pop)
+
+enum LPVErrorCode
+{
+ LPVNoError = 0,
+ LPVNoResult = 1,
+ LPVErrUnknown = -2130706432,
+ LPVErrEmptyImage = -2130706431,
+ LPVErrEmptyRegion = -2130706430,
+ LPVErrSizeTooSmall = -2130706429,
+ LPVErrSizeNotMatch = -2130706428,
+ LPVErrTypeNotMatch = -2130706427,
+ LPVErrFile = -2130706176,
+ LPVErrFileUnsupportFormat = -2130706175,
+ LPVErrFileEmpty = -2130706174,
+ LPVErrFileFailEncode = -2130706173,
+ LPVErrFileFailDecode = -2130706172,
+ LPVErrFileFailOpen = -2130706171,
+ LPVErrFileUnexpect = -2130706170,
+ LPVErrFileFailSave = -2130706169,
+ LPVErrFileFailLoad = -2130706168,
+ LPVErrFileFailRemove = -2130706167,
+ LPVErrCalib = -2130705920,
+ LPVErrCalibTooFewPoints = -2130705919,
+ LPVErrCalibUnequalImageWorldPoints = -2130705918,
+ LPVErrCalibFailDetectImagePoints = -2130705917,
+ LPVErrCalibFailCalibration = -2130705916,
+ LPVErrCalibUnexpect = -2130705915,
+ LPVErrCalibNotCalib = -2130705914,
+ LPVErrCalibPointsCollinear = -2130705913,
+ LPVErrWithoutImgSize = -2130705912,
+ LPVErrInvalidAxisDir = -2130705911,
+ LPVErrFailMultiCameraCalibration = -2130705910,
+ LPVErrFailDetectRefInstance = -2130705909,
+ LPVErrFailUpdateRefInstance = -2130705908,
+ LPVErrFailVerifyRefInstance = -2130705907,
+ LPVErrFailImageSizeNotMatch = -2130705906,
+ LPVErrFailDistortionModelNotMatch = -2130705905,
+ LPVErrCalibRotationFailed = -2130705767,
+ LPVErrPat = -2130705664,
+ LPVErrPatFailTrain = -2130705663,
+ LPVErrPatNotTrain = -2130705662,
+ LPVErrGeomAdv = -2130705408,
+ LPVErrSortArrayFailed = -2130705407,
+ LPVErrML = -2130705152,
+ LPVErrMLSampleFailLoad = -2130705151,
+ LPVErrMLTooFewClass = -2130705150,
+ LPVErrMLNoModel = -2130705149,
+ LPVErrMLNoFeature = -2130705148,
+ LPVErrMLDirtyModel = -2130705147,
+ LPVErrMLNotTrained = -2130705146,
+ LPVErrMLTooFewSample = -2130705145,
+ LPVErrMLBusy = -2130705143,
+ LPVErrOCR = -2130704896,
+ LPVErrOCRNoFontDB = -2130704895,
+ LPVErrOCRNoCharDB = -2130704894,
+ LPVErrOCRModifyOOBFontDB = -2130704893,
+ LPVErrOCRFailAddSampleToFontDB = -2130704892,
+ LPVErrOCRFailRemoveFromFontDB = -2130704891,
+ LPVErrOCRFailTrainFontDB = -2130704890,
+ LPVErrOCRFailTrainTooFewChar = -2130704889,
+ LPVErrOCRFailTrainTooFewSample = -2130704888,
+ LPVErrOCRFailTrainFailExtFeature = -2130704887,
+ LPVErrOCRFailAddCharToFontDB = -2130704886
+};
+
+enum LPVRoiHandle
+{
+ LPVRoiHandleUnknown = -1,
+ LPVRoiHandleNone = 0,
+ LPVRoiHandleInside = 16,
+ LPVRoiHandleTop = 1,
+ LPVRoiHandleBottom = 2,
+ LPVRoiHandleLeft = 4,
+ LPVRoiHandleRight = 8,
+ LPVRoiHandleTopLeft = 5,
+ LPVRoiHandleBottomLeft = 6,
+ LPVRoiHandleTopRight = 9,
+ LPVRoiHandleBottomRight = 10,
+ LPVRoiHandleRotation = 32,
+ LPVRoiHandleMoveVertex = 64,
+ LPVRoiHandleAddVertex = 128,
+ LPVRoiHandleRemoveVertex = 256,
+ LPVRoiHandleAnchor = 512
+};
+
+enum LPVTransformType
+{
+ LPVTransformRigid = 0,
+ LPVTransformSimilar = 1,
+ LPVTransformAffine = 2,
+ LPVTransformHomography = 3
+};
+
+enum LPVAggregation
+{
+ LPVAggAvg = 0,
+ LPVAggDev = 1,
+ LPVAggVar = 2,
+ LPVAggMin = 3,
+ LPVAggMax = 4,
+ LPVAggMajor = 5,
+ LPVAggSum = 6
+};
+
+enum LPVPenStyle
+{
+ LPVPenSolid = 0,
+ LPVPenDash = 1,
+ LPVPenDot = 2,
+ LPVPenDashDot = 3,
+ LPVPenDashDotDot = 4
+};
+
+enum LPVPointShape
+{
+ LPVPointShapeCross = 0,
+ LPVPointShapeTiltedCross = 1,
+ LPVPointShapeStar = 2,
+ LPVPointShapeDiamond = 3,
+ LPVPointShapeSquare = 4,
+ LPVPointShapeTriangle = 5,
+ LPVPointShapeTriangleInv = 6
+};
+
+enum LPVPolarity
+{
+ LPVBlack2White = 0,
+ LPVWhite2Black = 1,
+ LPVPolarityEitherEdge = 2,
+ LPVBlackOnWhite = 3,
+ LPVWhiteOnBlack = 4,
+ LPVPolarityEitherObject = 5,
+ LPVPolarityEither = 6
+};
+
+enum LPVExcludeBoundaryMode
+{
+ LPVEBModeNone = 0,
+ LPVEBModeEntire = 1,
+ LPVEBModePartial = 2
+};
+
+enum LPVSortBy
+{
+ LPVSortByReserved = 0,
+ LPVSortByX = 1,
+ LPVSortByY = 2,
+ LPVSortByScore = 3,
+ LPVSortByColumn = 4,
+ LPVSortByRow = 5
+};
+
+enum LPVSortOrder
+{
+ LPVSortOrderRandom = 1,
+ LPVSortOrderAscending = 2,
+ LPVSortOrderDescending = 3,
+ LPVSortOrderAscendingZigZag = 4,
+ LPVSortOrderDescendingZigZag = 5
+};
+
+enum LPVPositionMode
+{
+ LPVPosModeCenter = 0,
+ LPVPosModeTopLeft = 1,
+ LPVPosModeTopRight = 2,
+ LPVPosModeBottomLeft = 3,
+ LPVPosModeBottomRight = 4
+};
+
+enum LPVFindBy
+{
+ LPVFindBest = 0,
+ LPVFindFirst = 1,
+ LPVFindLast = 2,
+ LPVFindCentral = 3
+};
+
+enum LPVChartDrawFlags
+{
+ LPVChartDrawAsBar = 1,
+ LPVChartDrawAsLine = 2,
+ LPVChartDrawGrid = 4,
+ LPVChartDrawIndexLabel = 8,
+ LPVChartDrawValueLabel = 16,
+ LPVChartDrawAsLineDefault = 26,
+ LPVChartDrawAsBarDefault = 25,
+ LPVChartDrawDefault = 25,
+ LPVChartDrawAll = 255
+};
+
+enum LPVInterpolationMethod
+{
+ LPVInterNearest = 0,
+ LPVInterLinear = 1,
+ LPVInterCubic = 2,
+ LPVInterArea = 3
+};
+
+enum LPVThresholdType
+{
+ LPVThresholdCustom = 0,
+ LPVThresholdAdaptGlobal = 1,
+ LPVThresholdAdaptLocal = 2
+};
+
+enum LPVMorphShape
+{
+ LPVMorphRect = 0,
+ LPVMorphCross = 1,
+ LPVMorphEllipse = 2
+};
+
+enum LPVEdgeKernel
+{
+ LPVSobel = 0,
+ LPVPrewitt = 1,
+ LPVScharr = 2
+};
+
+enum LPVFlipType
+{
+ LPVFlipH = 1,
+ LPVFlipV = 2,
+ LPVFlipBoth = 3
+};
+
+enum LPVColor
+{
+ LPVWhite = 16777215,
+ LPVBlack = 0,
+ LPVRed = 255,
+ LPVDarkRed = 128,
+ LPVGreen = 65280,
+ LPVDarkGreen = 32768,
+ LPVBlue = 16711680,
+ LPVDarkBlue = 8388608,
+ LPVCyan = 16776960,
+ LPVDarkCyan = 8421376,
+ LPVMagenta = 16711935,
+ LPVDarkMagenta = 8388736,
+ LPVYellow = 65535,
+ LPVDarkYellow = 32896,
+ LPVGray = 10789024,
+ LPVDarkGray = 8421504,
+ LPVLightGray = 12632256,
+ LPVTransparent = -1
+};
+
+enum LPVImageFormat
+{
+ LPVImageFormatGrayscale8 = 0,
+ LPVImageFormatColor24 = 1
+};
+
+enum LPVColorSpace
+{
+ LPVColorSpaceBGR = 0,
+ LPVColorSpaceHSV = 1,
+ LPVColorSpaceHLS = 2,
+ LPVColorSpaceYCrCb = 3,
+ LPVColorSpaceYUV = 4,
+ LPVColorSpaceXYZ = 5,
+ LPVColorSpaceLAB = 6,
+ LPVColorSpaceLUV = 7
+};
+
+enum LPVDirection
+{
+ LPVDirLeft = 0,
+ LPVDirRight = 1,
+ LPVDirUp = 2,
+ LPVDirDown = 3
+};
+
+enum LPVAxis
+{
+ LPVAxisX = 0,
+ LPVAxisY = 1,
+ LPVAxisZ = 2
+};
+
+struct __declspec(uuid("52f4d75c-6994-445f-9852-45ac4bf86c50"))
+ILDrawable : IUnknown
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetPen (
+ enum LPVPenStyle penStyle,
+ int penWidth,
+ unsigned long penColor );
+ HRESULT SetPenColor (
+ unsigned long penColor );
+ HRESULT SetPenWidth (
+ int penWidth );
+ HRESULT SetPenStyle (
+ enum LPVPenStyle penStyle );
+ HRESULT SetBrushColor (
+ unsigned long brushColor );
+ HRESULT SetFont (
+ _bstr_t fontFamily,
+ int fontHeight,
+ unsigned long fontColor,
+ VARIANT_BOOL bold,
+ VARIANT_BOOL italic,
+ VARIANT_BOOL underline,
+ VARIANT_BOOL strikeOut );
+ HRESULT SetFontFamily (
+ _bstr_t fontFamily );
+ HRESULT SetFontHeight (
+ int fontHeight );
+ HRESULT SetFontColor (
+ unsigned long fontColor );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetPen (
+ /*[in]*/ enum LPVPenStyle penStyle,
+ /*[in]*/ int penWidth,
+ /*[in]*/ unsigned long penColor ) = 0;
+ virtual HRESULT __stdcall raw_SetPenColor (
+ /*[in]*/ unsigned long penColor ) = 0;
+ virtual HRESULT __stdcall raw_SetPenWidth (
+ /*[in]*/ int penWidth ) = 0;
+ virtual HRESULT __stdcall raw_SetPenStyle (
+ /*[in]*/ enum LPVPenStyle penStyle ) = 0;
+ virtual HRESULT __stdcall raw_SetBrushColor (
+ /*[in]*/ unsigned long brushColor ) = 0;
+ virtual HRESULT __stdcall raw_SetFont (
+ /*[in]*/ BSTR fontFamily,
+ /*[in]*/ int fontHeight,
+ /*[in]*/ unsigned long fontColor,
+ /*[in]*/ VARIANT_BOOL bold,
+ /*[in]*/ VARIANT_BOOL italic,
+ /*[in]*/ VARIANT_BOOL underline,
+ /*[in]*/ VARIANT_BOOL strikeOut ) = 0;
+ virtual HRESULT __stdcall raw_SetFontFamily (
+ /*[in]*/ BSTR fontFamily ) = 0;
+ virtual HRESULT __stdcall raw_SetFontHeight (
+ /*[in]*/ int fontHeight ) = 0;
+ virtual HRESULT __stdcall raw_SetFontColor (
+ /*[in]*/ unsigned long fontColor ) = 0;
+};
+
+struct __declspec(uuid("d56cf377-498f-4b5c-8913-6d77f2dd8a29"))
+ILSortable : IUnknown
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetIndex,put=PutIndex))
+ int Index;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int GetIndex ( );
+ void PutIndex (
+ int val );
+ double GetPosX (
+ enum LPVPositionMode posMode );
+ double GetPosY (
+ enum LPVPositionMode posMode );
+ double GetScore ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Index (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_Index (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall raw_GetPosX (
+ /*[in]*/ enum LPVPositionMode posMode,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPosY (
+ /*[in]*/ enum LPVPositionMode posMode,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetScore (
+ /*[out,retval]*/ double * val ) = 0;
+};
+
+struct __declspec(uuid("ded7e160-36bd-4fe3-8d98-72bddc93b83d"))
+ILSortables : IUnknown
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Sort (
+ enum LPVSortBy sortBy,
+ enum LPVSortOrder sortOrder,
+ enum LPVPositionMode posMode );
+ SAFEARRAY * SortTo (
+ enum LPVSortBy sortBy,
+ enum LPVSortOrder sortOrder,
+ enum LPVPositionMode posMode );
+ HRESULT ApplySort (
+ SAFEARRAY * sortedIndexes );
+ int SortableCount ( );
+ ILSortablePtr GetSortable (
+ int Index );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Sort (
+ /*[in]*/ enum LPVSortBy sortBy,
+ /*[in]*/ enum LPVSortOrder sortOrder,
+ /*[in]*/ enum LPVPositionMode posMode ) = 0;
+ virtual HRESULT __stdcall raw_SortTo (
+ /*[in]*/ enum LPVSortBy sortBy,
+ /*[in]*/ enum LPVSortOrder sortOrder,
+ /*[in]*/ enum LPVPositionMode posMode,
+ /*[out,retval]*/ SAFEARRAY * * sortedIndexes ) = 0;
+ virtual HRESULT __stdcall raw_ApplySort (
+ /*[in]*/ SAFEARRAY * sortedIndexes ) = 0;
+ virtual HRESULT __stdcall raw_SortableCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_GetSortable (
+ /*[in]*/ int Index,
+ /*[out,retval]*/ struct ILSortable * * sortable ) = 0;
+};
+
+struct __declspec(uuid("50cc1928-457b-4ce6-bfdf-1a9b47022a31"))
+ILObject : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Reset ( );
+ enum LPVErrorCode Save (
+ _bstr_t filename );
+ enum LPVErrorCode Load (
+ _bstr_t filename );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Save (
+ /*[in]*/ BSTR filename,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_Load (
+ /*[in]*/ BSTR filename,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+};
+
+struct __declspec(uuid("ec419121-252e-4173-ad0d-2d3d69986af3"))
+ILSystem : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL CheckVersion (
+ long majorVersion,
+ long minorVersion,
+ long microVersion );
+ HRESULT SetPen (
+ IDispatch * drawable,
+ enum LPVPenStyle penStyle,
+ int penWidth,
+ unsigned long penColor );
+ HRESULT SetPenColor (
+ IDispatch * drawable,
+ unsigned long penColor );
+ HRESULT SetPenWidth (
+ IDispatch * drawable,
+ int penWidth );
+ HRESULT SetPenStyle (
+ IDispatch * drawable,
+ enum LPVPenStyle penStyle );
+ HRESULT SetBrushColor (
+ IDispatch * drawable,
+ unsigned long penColor );
+ HRESULT SetFont (
+ IDispatch * drawable,
+ _bstr_t fontFamily,
+ int fontHeight,
+ unsigned long fontColor,
+ VARIANT_BOOL bold,
+ VARIANT_BOOL italic,
+ VARIANT_BOOL underline,
+ VARIANT_BOOL strikeOut );
+ HRESULT SetFontFamily (
+ IDispatch * drawable,
+ _bstr_t fontFamily );
+ HRESULT SetFontHeight (
+ IDispatch * drawable,
+ int fontHeight );
+ HRESULT SetFontColor (
+ IDispatch * drawable,
+ unsigned long fontColor );
+ unsigned long GetColorRef (
+ int red,
+ int green,
+ int blue );
+ HRESULT SetDrawPointSize (
+ int size );
+ HRESULT DrawPoint (
+ double x,
+ double y,
+ enum LPVPointShape shape,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawLine (
+ double x1,
+ double y1,
+ double x2,
+ double y2,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawCircle (
+ double x,
+ double y,
+ double r,
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawRect (
+ double x,
+ double y,
+ double w,
+ double h,
+ double a,
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawPolygon (
+ SAFEARRAY * xs,
+ SAFEARRAY * ys,
+ VARIANT_BOOL bClosed,
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawString (
+ _bstr_t text,
+ int tlx,
+ int tly,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT GetRGBFromColorRef (
+ unsigned long colorRef,
+ int * red,
+ int * green,
+ int * blue );
+ HRESULT SetRegionHandleSize (
+ int size );
+ VARIANT_BOOL CheckLicense ( );
+ VARIANT_BOOL CheckLib (
+ _bstr_t libName );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_CheckVersion (
+ /*[in]*/ long majorVersion,
+ /*[in]*/ long minorVersion,
+ /*[in]*/ long microVersion,
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_SetPen (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ enum LPVPenStyle penStyle,
+ /*[in]*/ int penWidth,
+ /*[in]*/ unsigned long penColor ) = 0;
+ virtual HRESULT __stdcall raw_SetPenColor (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ unsigned long penColor ) = 0;
+ virtual HRESULT __stdcall raw_SetPenWidth (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ int penWidth ) = 0;
+ virtual HRESULT __stdcall raw_SetPenStyle (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ enum LPVPenStyle penStyle ) = 0;
+ virtual HRESULT __stdcall raw_SetBrushColor (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ unsigned long penColor ) = 0;
+ virtual HRESULT __stdcall raw_SetFont (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ BSTR fontFamily,
+ /*[in]*/ int fontHeight,
+ /*[in]*/ unsigned long fontColor,
+ /*[in]*/ VARIANT_BOOL bold,
+ /*[in]*/ VARIANT_BOOL italic,
+ /*[in]*/ VARIANT_BOOL underline,
+ /*[in]*/ VARIANT_BOOL strikeOut ) = 0;
+ virtual HRESULT __stdcall raw_SetFontFamily (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ BSTR fontFamily ) = 0;
+ virtual HRESULT __stdcall raw_SetFontHeight (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ int fontHeight ) = 0;
+ virtual HRESULT __stdcall raw_SetFontColor (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ unsigned long fontColor ) = 0;
+ virtual HRESULT __stdcall raw_GetColorRef (
+ /*[in]*/ int red,
+ /*[in]*/ int green,
+ /*[in]*/ int blue,
+ /*[out,retval]*/ unsigned long * val ) = 0;
+ virtual HRESULT __stdcall raw_SetDrawPointSize (
+ /*[in]*/ int size ) = 0;
+ virtual HRESULT __stdcall raw_DrawPoint (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ enum LPVPointShape shape,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawLine (
+ /*[in]*/ double x1,
+ /*[in]*/ double y1,
+ /*[in]*/ double x2,
+ /*[in]*/ double y2,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawCircle (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ double r,
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawRect (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ double w,
+ /*[in]*/ double h,
+ /*[in]*/ double a,
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawPolygon (
+ /*[in]*/ SAFEARRAY * xs,
+ /*[in]*/ SAFEARRAY * ys,
+ /*[in]*/ VARIANT_BOOL bClosed,
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawString (
+ /*[in]*/ BSTR text,
+ /*[in]*/ int tlx,
+ /*[in]*/ int tly,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetRGBFromColorRef (
+ /*[in]*/ unsigned long colorRef,
+ /*[out]*/ int * red,
+ /*[out]*/ int * green,
+ /*[out]*/ int * blue ) = 0;
+ virtual HRESULT __stdcall raw_SetRegionHandleSize (
+ /*[in]*/ int size ) = 0;
+ virtual HRESULT __stdcall raw_CheckLicense (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_CheckLib (
+ /*[in]*/ BSTR libName,
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+};
+
+struct __declspec(uuid("836a7b25-2ce4-4a65-9f04-3ea65a0eff45"))
+LSystem;
+ // [ default ] interface ILSystem
+
+struct __declspec(uuid("a546c1fb-c93e-4007-8e7d-f31ad829d6b0"))
+LImage;
+ // [ default ] interface ILImage
+
+struct __declspec(uuid("474178c7-bfff-4d2c-94c9-a3eda9cfb323"))
+LRegion;
+ // [ default ] interface ILRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("cca82067-d1e4-497d-ba04-e1e2210f497e"))
+LRectRegion;
+ // [ default ] interface ILRectRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("9d2e0d6c-e558-47c2-a6a0-05590c55dc13"))
+LRotRectRegion;
+ // [ default ] interface ILRotRectRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("46aac3e5-89ac-47b6-b57b-d5a38a77cda3"))
+LCircleRegion;
+ // [ default ] interface ILCircleRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("b72478c4-2101-4711-8935-911ef2be459f"))
+LPolyRegion;
+ // [ default ] interface ILPolyRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("de95c14b-a18e-41b8-aee2-a0ba2a6dd051"))
+LMaskRegion;
+ // [ default ] interface ILMaskRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("72a0c0a1-3b53-4bee-8709-22c433c487ef"))
+LAnnulusRegion;
+ // [ default ] interface ILAnnulusRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("6e8b5374-bbda-45b7-8c76-80f788d10e48"))
+LEllipseRegion;
+ // [ default ] interface ILEllipseRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("6bab604f-f638-40fe-b5e6-0036f55986da"))
+LAnnulusSectorRegion;
+ // [ default ] interface ILAnnulusSectorRegion
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("9d591952-1d41-49f0-9fcd-b7b9c6479d63"))
+LImageList;
+ // [ default ] interface ILImageList
+
+struct __declspec(uuid("445d309e-0929-4b12-84a5-461e353d2bea"))
+ILImage : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetWidth))
+ int Width;
+ __declspec(property(get=GetHeight))
+ int Height;
+ __declspec(property(get=GetPixel,put=PutPixel))
+ int Pixel[][];
+ __declspec(property(get=GetImageFormat,put=PutImageFormat))
+ enum LPVImageFormat ImageFormat;
+ __declspec(property(get=GetPixelColor,put=PutPixelColor))
+ struct LColor PixelColor[][];
+ __declspec(property(get=GetBytesPerLine))
+ int BytesPerLine;
+ __declspec(property(get=GetDataPointer))
+ void * DataPointer;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVImageFormat GetImageFormat ( );
+ void PutImageFormat (
+ enum LPVImageFormat val );
+ int GetWidth ( );
+ int GetHeight ( );
+ int GetBytesPerLine ( );
+ void * GetDataPointer ( );
+ HRESULT SetSize (
+ int w,
+ int h );
+ int GetPixel (
+ int x,
+ int y );
+ void PutPixel (
+ int x,
+ int y,
+ int val );
+ VARIANT_BOOL Void ( );
+ HRESULT SetImageData (
+ int w,
+ int h,
+ void * dataPtr,
+ int bpl,
+ VARIANT_BOOL copyData );
+ HRESULT CopyTo (
+ struct ILImage * dstImg );
+ HRESULT CopyFrom (
+ struct ILImage * img,
+ struct ILRegion * region,
+ int panX,
+ int panY );
+ enum LPVErrorCode Save (
+ _bstr_t filename,
+ struct ILRegion * region );
+ HRESULT Draw (
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawAsMask (
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ struct LColor GetPixelColor (
+ int x,
+ int y );
+ void PutPixelColor (
+ int x,
+ int y,
+ struct LColor val );
+ HRESULT SetTo (
+ int val,
+ struct ILRegion * region );
+ HRESULT SetToColor (
+ struct LColor val,
+ struct ILRegion * region );
+ ILImagePtr GetChannel (
+ int channelIdx );
+ HRESULT SetChannel (
+ int channelIdx,
+ struct ILImage * channelImage );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_ImageFormat (
+ /*[out,retval]*/ enum LPVImageFormat * val ) = 0;
+ virtual HRESULT __stdcall put_ImageFormat (
+ /*[in]*/ enum LPVImageFormat val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_BytesPerLine (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_DataPointer (
+ /*[out,retval]*/ void * * val ) = 0;
+ virtual HRESULT __stdcall raw_SetSize (
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall get_Pixel (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_Pixel (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall raw_Void (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_SetImageData (
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ void * dataPtr,
+ /*[in]*/ int bpl,
+ /*[in]*/ VARIANT_BOOL copyData ) = 0;
+ virtual HRESULT __stdcall raw_CopyTo (
+ /*[in]*/ struct ILImage * dstImg ) = 0;
+ virtual HRESULT __stdcall raw_CopyFrom (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ int panX,
+ /*[in]*/ int panY ) = 0;
+ virtual HRESULT __stdcall raw_Save (
+ /*[in]*/ BSTR filename,
+ /*[in]*/ struct ILRegion * region,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawAsMask (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall get_PixelColor (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_PixelColor (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ struct LColor val ) = 0;
+ virtual HRESULT __stdcall raw_SetTo (
+ /*[in]*/ int val,
+ /*[in]*/ struct ILRegion * region ) = 0;
+ virtual HRESULT __stdcall raw_SetToColor (
+ /*[in]*/ struct LColor val,
+ /*[in]*/ struct ILRegion * region ) = 0;
+ virtual HRESULT __stdcall raw_GetChannel (
+ /*[in]*/ int channelIdx,
+ /*[out,retval]*/ struct ILImage * * channelImage ) = 0;
+ virtual HRESULT __stdcall raw_SetChannel (
+ /*[in]*/ int channelIdx,
+ /*[in]*/ struct ILImage * channelImage ) = 0;
+};
+
+struct __declspec(uuid("edc919ed-2f22-48c3-b059-37e20a7d9a59"))
+ILRegion : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetReduceAngle,put=PutReduceAngle))
+ double ReduceAngle;
+ __declspec(property(get=GetReduceScale,put=PutReduceScale))
+ double ReduceScale;
+ __declspec(property(get=GetInterpolationMethod,put=PutInterpolationMethod))
+ enum LPVInterpolationMethod InterpolationMethod;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Draw (
+ void * hdc,
+ VARIANT_BOOL drawHandles,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ enum LPVRoiHandle HitTest (
+ int x,
+ int y,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT Drag (
+ enum LPVRoiHandle roiHandle,
+ int x,
+ int y,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT EnableHandle (
+ enum LPVRoiHandle roiHandle,
+ VARIANT_BOOL enabled );
+ ILRegionPtr Add (
+ struct ILRegion * other );
+ ILRegionPtr Subtract (
+ struct ILRegion * other );
+ ILRegionPtr Union (
+ struct ILRegion * other );
+ VARIANT_BOOL Void ( );
+ HRESULT ReduceImage (
+ struct ILImage * image,
+ struct ILImage * * newImage,
+ struct ILImage * * newMask );
+ HRESULT MapFromImage (
+ double imagePointX,
+ double imagePointY,
+ double * regionPointX,
+ double * regionPointY );
+ HRESULT MapToImage (
+ double regionPointX,
+ double regionPointY,
+ double * imagePointX,
+ double * imagePointY );
+ IDispatchPtr MapObjectFromImage (
+ IDispatch * imageObject );
+ IDispatchPtr MapObjectToImage (
+ IDispatch * regionObject );
+ ILRegionPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILRegionPtr Scale (
+ double factorX,
+ double factorY );
+ ILRegionPtr Rotate (
+ double da );
+ ILRegionPtr RotateAndTranslate (
+ double x,
+ double y,
+ double newX,
+ double newY,
+ double da );
+ ILImagePtr ToMask (
+ int w,
+ int h );
+ ILRegionPtr Intersect (
+ struct ILRegion * other );
+ ILRegionPtr XOR (
+ struct ILRegion * other );
+ ILRegionPtr Copy ( );
+ ILRegionPtr Invert ( );
+ double GetReduceAngle ( );
+ void PutReduceAngle (
+ double val );
+ double GetReduceScale ( );
+ void PutReduceScale (
+ double val );
+ enum LPVInterpolationMethod GetInterpolationMethod ( );
+ void PutInterpolationMethod (
+ enum LPVInterpolationMethod val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ VARIANT_BOOL drawHandles,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_HitTest (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY,
+ /*[out,retval]*/ enum LPVRoiHandle * roiHandle ) = 0;
+ virtual HRESULT __stdcall raw_Drag (
+ /*[in]*/ enum LPVRoiHandle roiHandle,
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_EnableHandle (
+ /*[in]*/ enum LPVRoiHandle roiHandle,
+ /*[in]*/ VARIANT_BOOL enabled ) = 0;
+ virtual HRESULT __stdcall raw_Add (
+ /*[in]*/ struct ILRegion * other,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Subtract (
+ /*[in]*/ struct ILRegion * other,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Union (
+ /*[in]*/ struct ILRegion * other,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Void (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_ReduceImage (
+ /*[in]*/ struct ILImage * image,
+ /*[out]*/ struct ILImage * * newImage,
+ /*[out]*/ struct ILImage * * newMask ) = 0;
+ virtual HRESULT __stdcall raw_MapFromImage (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[out]*/ double * regionPointX,
+ /*[out]*/ double * regionPointY ) = 0;
+ virtual HRESULT __stdcall raw_MapToImage (
+ /*[in]*/ double regionPointX,
+ /*[in]*/ double regionPointY,
+ /*[out]*/ double * imagePointX,
+ /*[out]*/ double * imagePointY ) = 0;
+ virtual HRESULT __stdcall raw_MapObjectFromImage (
+ /*[in]*/ IDispatch * imageObject,
+ /*[out,retval]*/ IDispatch * * regionObject ) = 0;
+ virtual HRESULT __stdcall raw_MapObjectToImage (
+ /*[in]*/ IDispatch * regionObject,
+ /*[out,retval]*/ IDispatch * * imageObject ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Scale (
+ /*[in]*/ double factorX,
+ /*[in]*/ double factorY,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Rotate (
+ /*[in]*/ double da,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_RotateAndTranslate (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ double newX,
+ /*[in]*/ double newY,
+ /*[in]*/ double da,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_ToMask (
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[out,retval]*/ struct ILImage * * mask ) = 0;
+ virtual HRESULT __stdcall raw_Intersect (
+ /*[in]*/ struct ILRegion * other,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_XOR (
+ /*[in]*/ struct ILRegion * other,
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Copy (
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall raw_Invert (
+ /*[out,retval]*/ struct ILRegion * * newRegion ) = 0;
+ virtual HRESULT __stdcall get_ReduceAngle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ReduceAngle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ReduceScale (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ReduceScale (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_InterpolationMethod (
+ /*[out,retval]*/ enum LPVInterpolationMethod * val ) = 0;
+ virtual HRESULT __stdcall put_InterpolationMethod (
+ /*[in]*/ enum LPVInterpolationMethod val ) = 0;
+};
+
+struct __declspec(uuid("aecb7fb8-d910-457e-9b47-2da967335bf7"))
+ILRectRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetLeft,put=PutLeft))
+ double Left;
+ __declspec(property(get=GetTop,put=PutTop))
+ double Top;
+ __declspec(property(get=GetWidth,put=PutWidth))
+ double Width;
+ __declspec(property(get=GetHeight,put=PutHeight))
+ double Height;
+ __declspec(property(get=GetCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY))
+ double CenterY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetLeft ( );
+ void PutLeft (
+ double val );
+ double GetTop ( );
+ void PutTop (
+ double val );
+ double GetWidth ( );
+ void PutWidth (
+ double val );
+ double GetHeight ( );
+ void PutHeight (
+ double val );
+ HRESULT SetPlacement (
+ double tlx,
+ double tly,
+ double w,
+ double h );
+ double GetCenterX ( );
+ double GetCenterY ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Left (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Left (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Top (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Top (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Width (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Height (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double tlx,
+ /*[in]*/ double tly,
+ /*[in]*/ double w,
+ /*[in]*/ double h ) = 0;
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+};
+
+struct __declspec(uuid("605251ec-4957-4d85-a9a2-cd42f1e8b4b7"))
+ILRotRectRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCenterX,put=PutCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY,put=PutCenterY))
+ double CenterY;
+ __declspec(property(get=GetWidth,put=PutWidth))
+ double Width;
+ __declspec(property(get=GetHeight,put=PutHeight))
+ double Height;
+ __declspec(property(get=GetAngle,put=PutAngle))
+ double Angle;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetCenterX ( );
+ void PutCenterX (
+ double val );
+ double GetCenterY ( );
+ void PutCenterY (
+ double val );
+ double GetWidth ( );
+ void PutWidth (
+ double val );
+ double GetHeight ( );
+ void PutHeight (
+ double val );
+ double GetAngle ( );
+ void PutAngle (
+ double val );
+ HRESULT SetPlacement (
+ double cenx,
+ double ceny,
+ double w,
+ double h,
+ double a );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Width (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Height (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Angle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Angle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double cenx,
+ /*[in]*/ double ceny,
+ /*[in]*/ double w,
+ /*[in]*/ double h,
+ /*[in]*/ double a ) = 0;
+};
+
+struct __declspec(uuid("7c63e516-8af9-47ec-a35a-a32c194a783b"))
+ILCircleRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCenterX,put=PutCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY,put=PutCenterY))
+ double CenterY;
+ __declspec(property(get=GetRadius,put=PutRadius))
+ double Radius;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetCenterX ( );
+ void PutCenterX (
+ double val );
+ double GetCenterY ( );
+ void PutCenterY (
+ double val );
+ double GetRadius ( );
+ void PutRadius (
+ double val );
+ HRESULT SetPlacement (
+ double cenx,
+ double ceny,
+ double r );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Radius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Radius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double cenx,
+ /*[in]*/ double ceny,
+ /*[in]*/ double r ) = 0;
+};
+
+struct __declspec(uuid("8e869611-1478-4c52-8083-3b19d99e5fdb"))
+ILPolyRegion : ILRegion
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int CtrlCount ( );
+ HRESULT AddCtrl (
+ double x,
+ double y,
+ int ctrlIndex );
+ HRESULT GetCtrl (
+ int ctrlIndex,
+ double * x,
+ double * y );
+ HRESULT SetPlacement (
+ SAFEARRAY * xs,
+ SAFEARRAY * ys );
+ HRESULT RemoveCtrl (
+ int ctrlIndex );
+ HRESULT SetCtrl (
+ double x,
+ double y,
+ int ctrlIndex );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_CtrlCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_AddCtrl (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ int ctrlIndex ) = 0;
+ virtual HRESULT __stdcall raw_GetCtrl (
+ /*[in]*/ int ctrlIndex,
+ /*[out]*/ double * x,
+ /*[out]*/ double * y ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ SAFEARRAY * xs,
+ /*[in]*/ SAFEARRAY * ys ) = 0;
+ virtual HRESULT __stdcall raw_RemoveCtrl (
+ /*[in]*/ int ctrlIndex ) = 0;
+ virtual HRESULT __stdcall raw_SetCtrl (
+ /*[in]*/ double x,
+ /*[in]*/ double y,
+ /*[in]*/ int ctrlIndex ) = 0;
+};
+
+struct __declspec(uuid("de41b0b3-1a33-4e7a-b38d-5cc098dff62b"))
+ILMaskRegion : ILRegion
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetMask (
+ struct ILImage * mask,
+ double tlx,
+ double tly );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetMask (
+ /*[in]*/ struct ILImage * mask,
+ /*[in]*/ double tlx,
+ /*[in]*/ double tly ) = 0;
+};
+
+struct __declspec(uuid("09161909-a8f9-4623-aa75-9e5398a5145b"))
+ILAnnulusRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCenterX,put=PutCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY,put=PutCenterY))
+ double CenterY;
+ __declspec(property(get=GetInnerRadius,put=PutInnerRadius))
+ double InnerRadius;
+ __declspec(property(get=GetOuterRadius,put=PutOuterRadius))
+ double OuterRadius;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetCenterX ( );
+ void PutCenterX (
+ double val );
+ double GetCenterY ( );
+ void PutCenterY (
+ double val );
+ double GetInnerRadius ( );
+ void PutInnerRadius (
+ double val );
+ double GetOuterRadius ( );
+ void PutOuterRadius (
+ double val );
+ HRESULT SetPlacement (
+ double cenx,
+ double ceny,
+ double rInner,
+ double rOuter );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_InnerRadius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_InnerRadius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_OuterRadius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_OuterRadius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double cenx,
+ /*[in]*/ double ceny,
+ /*[in]*/ double rInner,
+ /*[in]*/ double rOuter ) = 0;
+};
+
+struct __declspec(uuid("23207784-c0ae-4f89-89f4-0d4a07536f9e"))
+ILEllipseRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetAngle,put=PutAngle))
+ double Angle;
+ __declspec(property(get=GetCenterX,put=PutCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY,put=PutCenterY))
+ double CenterY;
+ __declspec(property(get=GetWidth,put=PutWidth))
+ double Width;
+ __declspec(property(get=GetHeight,put=PutHeight))
+ double Height;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetCenterX ( );
+ void PutCenterX (
+ double val );
+ double GetCenterY ( );
+ void PutCenterY (
+ double val );
+ double GetWidth ( );
+ void PutWidth (
+ double val );
+ double GetHeight ( );
+ void PutHeight (
+ double val );
+ double GetAngle ( );
+ void PutAngle (
+ double val );
+ HRESULT SetPlacement (
+ double cenx,
+ double ceny,
+ double w,
+ double h,
+ double a );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Width (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Height (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Angle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Angle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double cenx,
+ /*[in]*/ double ceny,
+ /*[in]*/ double w,
+ /*[in]*/ double h,
+ /*[in]*/ double a ) = 0;
+};
+
+struct __declspec(uuid("69904f7a-3370-425d-984a-e1a21d19957c"))
+ILAnnulusSectorRegion : ILRegion
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCenterX,put=PutCenterX))
+ double CenterX;
+ __declspec(property(get=GetCenterY,put=PutCenterY))
+ double CenterY;
+ __declspec(property(get=GetInnerRadius,put=PutInnerRadius))
+ double InnerRadius;
+ __declspec(property(get=GetOuterRadius,put=PutOuterRadius))
+ double OuterRadius;
+ __declspec(property(get=GetStartAngle,put=PutStartAngle))
+ double StartAngle;
+ __declspec(property(get=GetEndAngle,put=PutEndAngle))
+ double EndAngle;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetCenterX ( );
+ void PutCenterX (
+ double val );
+ double GetCenterY ( );
+ void PutCenterY (
+ double val );
+ double GetInnerRadius ( );
+ void PutInnerRadius (
+ double val );
+ double GetOuterRadius ( );
+ void PutOuterRadius (
+ double val );
+ double GetStartAngle ( );
+ void PutStartAngle (
+ double val );
+ double GetEndAngle ( );
+ void PutEndAngle (
+ double val );
+ HRESULT SetPlacement (
+ double cenx,
+ double ceny,
+ double rInner,
+ double rOuter,
+ double aStart,
+ double aEnd );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CenterX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_CenterY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_CenterY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_InnerRadius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_InnerRadius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_OuterRadius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_OuterRadius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StartAngle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartAngle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_EndAngle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_EndAngle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetPlacement (
+ /*[in]*/ double cenx,
+ /*[in]*/ double ceny,
+ /*[in]*/ double rInner,
+ /*[in]*/ double rOuter,
+ /*[in]*/ double aStart,
+ /*[in]*/ double aEnd ) = 0;
+};
+
+struct __declspec(uuid("1c052ea3-25c1-434a-8b1e-903803415814"))
+ILImageList : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetMaxCount,put=PutMaxCount))
+ int MaxCount;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetSameSize,put=PutSameSize))
+ VARIANT_BOOL SameSize;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int GetMaxCount ( );
+ void PutMaxCount (
+ int val );
+ HRESULT Reset ( );
+ int Count ( );
+ HRESULT Add (
+ struct ILImage * img,
+ struct ILRectRegion * region );
+ HRESULT Adds (
+ SAFEARRAY * images );
+ ILImagePtr Item (
+ int imgIndex );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetSameSize ( );
+ void PutSameSize (
+ VARIANT_BOOL val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_MaxCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_MaxCount (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Add (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRectRegion * region ) = 0;
+ virtual HRESULT __stdcall raw_Adds (
+ /*[in]*/ SAFEARRAY * images ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int imgIndex,
+ /*[out,retval]*/ struct ILImage * * img ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_SameSize (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_SameSize (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+};
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCore.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tli
new file mode 100644
index 0000000..c514acc
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvCore.tli
@@ -0,0 +1,1156 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (1eb1c98e).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvCore.tli
+//
+// Wrapper implementations for type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILDrawable wrapper method implementations
+//
+
+inline HRESULT ILDrawable::SetPen ( enum LPVPenStyle penStyle, int penWidth, unsigned long penColor ) {
+ HRESULT _hr = raw_SetPen(penStyle, penWidth, penColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetPenColor ( unsigned long penColor ) {
+ HRESULT _hr = raw_SetPenColor(penColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetPenWidth ( int penWidth ) {
+ HRESULT _hr = raw_SetPenWidth(penWidth);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetPenStyle ( enum LPVPenStyle penStyle ) {
+ HRESULT _hr = raw_SetPenStyle(penStyle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetBrushColor ( unsigned long brushColor ) {
+ HRESULT _hr = raw_SetBrushColor(brushColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetFont ( _bstr_t fontFamily, int fontHeight, unsigned long fontColor, VARIANT_BOOL bold, VARIANT_BOOL italic, VARIANT_BOOL underline, VARIANT_BOOL strikeOut ) {
+ HRESULT _hr = raw_SetFont(fontFamily, fontHeight, fontColor, bold, italic, underline, strikeOut);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetFontFamily ( _bstr_t fontFamily ) {
+ HRESULT _hr = raw_SetFontFamily(fontFamily);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetFontHeight ( int fontHeight ) {
+ HRESULT _hr = raw_SetFontHeight(fontHeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDrawable::SetFontColor ( unsigned long fontColor ) {
+ HRESULT _hr = raw_SetFontColor(fontColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILSortable wrapper method implementations
+//
+
+inline int ILSortable::GetIndex ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Index(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILSortable::PutIndex ( int val ) {
+ HRESULT _hr = put_Index(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILSortable::GetPosX ( enum LPVPositionMode posMode ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPosX(posMode, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILSortable::GetPosY ( enum LPVPositionMode posMode ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPosY(posMode, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILSortable::GetScore ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetScore(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILSortables wrapper method implementations
+//
+
+inline HRESULT ILSortables::Sort ( enum LPVSortBy sortBy, enum LPVSortOrder sortOrder, enum LPVPositionMode posMode ) {
+ HRESULT _hr = raw_Sort(sortBy, sortOrder, posMode);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline SAFEARRAY * ILSortables::SortTo ( enum LPVSortBy sortBy, enum LPVSortOrder sortOrder, enum LPVPositionMode posMode ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_SortTo(sortBy, sortOrder, posMode, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILSortables::ApplySort ( SAFEARRAY * sortedIndexes ) {
+ HRESULT _hr = raw_ApplySort(sortedIndexes);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILSortables::SortableCount ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_SortableCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILSortablePtr ILSortables::GetSortable ( int Index ) {
+ struct ILSortable * _result = 0;
+ HRESULT _hr = raw_GetSortable(Index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILSortablePtr(_result, false);
+}
+
+//
+// interface ILObject wrapper method implementations
+//
+
+inline HRESULT ILObject::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILObject::Save ( _bstr_t filename ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Save(filename, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILObject::Load ( _bstr_t filename ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Load(filename, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILSystem wrapper method implementations
+//
+
+inline VARIANT_BOOL ILSystem::CheckVersion ( long majorVersion, long minorVersion, long microVersion ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_CheckVersion(majorVersion, minorVersion, microVersion, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILSystem::SetPen ( IDispatch * drawable, enum LPVPenStyle penStyle, int penWidth, unsigned long penColor ) {
+ HRESULT _hr = raw_SetPen(drawable, penStyle, penWidth, penColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetPenColor ( IDispatch * drawable, unsigned long penColor ) {
+ HRESULT _hr = raw_SetPenColor(drawable, penColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetPenWidth ( IDispatch * drawable, int penWidth ) {
+ HRESULT _hr = raw_SetPenWidth(drawable, penWidth);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetPenStyle ( IDispatch * drawable, enum LPVPenStyle penStyle ) {
+ HRESULT _hr = raw_SetPenStyle(drawable, penStyle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetBrushColor ( IDispatch * drawable, unsigned long penColor ) {
+ HRESULT _hr = raw_SetBrushColor(drawable, penColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetFont ( IDispatch * drawable, _bstr_t fontFamily, int fontHeight, unsigned long fontColor, VARIANT_BOOL bold, VARIANT_BOOL italic, VARIANT_BOOL underline, VARIANT_BOOL strikeOut ) {
+ HRESULT _hr = raw_SetFont(drawable, fontFamily, fontHeight, fontColor, bold, italic, underline, strikeOut);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetFontFamily ( IDispatch * drawable, _bstr_t fontFamily ) {
+ HRESULT _hr = raw_SetFontFamily(drawable, fontFamily);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetFontHeight ( IDispatch * drawable, int fontHeight ) {
+ HRESULT _hr = raw_SetFontHeight(drawable, fontHeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetFontColor ( IDispatch * drawable, unsigned long fontColor ) {
+ HRESULT _hr = raw_SetFontColor(drawable, fontColor);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline unsigned long ILSystem::GetColorRef ( int red, int green, int blue ) {
+ unsigned long _result = 0;
+ HRESULT _hr = raw_GetColorRef(red, green, blue, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILSystem::SetDrawPointSize ( int size ) {
+ HRESULT _hr = raw_SetDrawPointSize(size);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawPoint ( double x, double y, enum LPVPointShape shape, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawPoint(x, y, shape, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawLine ( double x1, double y1, double x2, double y2, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawLine(x1, y1, x2, y2, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawCircle ( double x, double y, double r, VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawCircle(x, y, r, bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawRect ( double x, double y, double w, double h, double a, VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawRect(x, y, w, h, a, bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawPolygon ( SAFEARRAY * xs, SAFEARRAY * ys, VARIANT_BOOL bClosed, VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawPolygon(xs, ys, bClosed, bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::DrawString ( _bstr_t text, int tlx, int tly, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawString(text, tlx, tly, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::GetRGBFromColorRef ( unsigned long colorRef, int * red, int * green, int * blue ) {
+ HRESULT _hr = raw_GetRGBFromColorRef(colorRef, red, green, blue);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSystem::SetRegionHandleSize ( int size ) {
+ HRESULT _hr = raw_SetRegionHandleSize(size);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline VARIANT_BOOL ILSystem::CheckLicense ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_CheckLicense(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILSystem::CheckLib ( _bstr_t libName ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_CheckLib(libName, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILImage wrapper method implementations
+//
+
+inline enum LPVImageFormat ILImage::GetImageFormat ( ) {
+ enum LPVImageFormat _result;
+ HRESULT _hr = get_ImageFormat(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImage::PutImageFormat ( enum LPVImageFormat val ) {
+ HRESULT _hr = put_ImageFormat(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILImage::GetWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImage::GetHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImage::GetBytesPerLine ( ) {
+ int _result = 0;
+ HRESULT _hr = get_BytesPerLine(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void * ILImage::GetDataPointer ( ) {
+ void * _result = 0;
+ HRESULT _hr = get_DataPointer(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImage::SetSize ( int w, int h ) {
+ HRESULT _hr = raw_SetSize(w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILImage::GetPixel ( int x, int y ) {
+ int _result = 0;
+ HRESULT _hr = get_Pixel(x, y, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImage::PutPixel ( int x, int y, int val ) {
+ HRESULT _hr = put_Pixel(x, y, val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILImage::Void ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Void(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImage::SetImageData ( int w, int h, void * dataPtr, int bpl, VARIANT_BOOL copyData ) {
+ HRESULT _hr = raw_SetImageData(w, h, dataPtr, bpl, copyData);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImage::CopyTo ( struct ILImage * dstImg ) {
+ HRESULT _hr = raw_CopyTo(dstImg);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImage::CopyFrom ( struct ILImage * img, struct ILRegion * region, int panX, int panY ) {
+ HRESULT _hr = raw_CopyFrom(img, region, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILImage::Save ( _bstr_t filename, struct ILRegion * region ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Save(filename, region, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImage::Draw ( void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImage::DrawAsMask ( void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawAsMask(hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline struct LColor ILImage::GetPixelColor ( int x, int y ) {
+ struct LColor _result;
+ HRESULT _hr = get_PixelColor(x, y, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImage::PutPixelColor ( int x, int y, struct LColor val ) {
+ HRESULT _hr = put_PixelColor(x, y, val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILImage::SetTo ( int val, struct ILRegion * region ) {
+ HRESULT _hr = raw_SetTo(val, region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImage::SetToColor ( struct LColor val, struct ILRegion * region ) {
+ HRESULT _hr = raw_SetToColor(val, region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILImagePtr ILImage::GetChannel ( int channelIdx ) {
+ struct ILImage * _result = 0;
+ HRESULT _hr = raw_GetChannel(channelIdx, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILImagePtr(_result, false);
+}
+
+inline HRESULT ILImage::SetChannel ( int channelIdx, struct ILImage * channelImage ) {
+ HRESULT _hr = raw_SetChannel(channelIdx, channelImage);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILRegion wrapper method implementations
+//
+
+inline HRESULT ILRegion::Draw ( void * hdc, VARIANT_BOOL drawHandles, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, drawHandles, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVRoiHandle ILRegion::HitTest ( int x, int y, double zoomX, double zoomY, double panX, double panY ) {
+ enum LPVRoiHandle _result;
+ HRESULT _hr = raw_HitTest(x, y, zoomX, zoomY, panX, panY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILRegion::Drag ( enum LPVRoiHandle roiHandle, int x, int y, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Drag(roiHandle, x, y, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILRegion::EnableHandle ( enum LPVRoiHandle roiHandle, VARIANT_BOOL enabled ) {
+ HRESULT _hr = raw_EnableHandle(roiHandle, enabled);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILRegionPtr ILRegion::Add ( struct ILRegion * other ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Add(other, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Subtract ( struct ILRegion * other ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Subtract(other, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Union ( struct ILRegion * other ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Union(other, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline VARIANT_BOOL ILRegion::Void ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Void(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILRegion::ReduceImage ( struct ILImage * image, struct ILImage * * newImage, struct ILImage * * newMask ) {
+ HRESULT _hr = raw_ReduceImage(image, newImage, newMask);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILRegion::MapFromImage ( double imagePointX, double imagePointY, double * regionPointX, double * regionPointY ) {
+ HRESULT _hr = raw_MapFromImage(imagePointX, imagePointY, regionPointX, regionPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILRegion::MapToImage ( double regionPointX, double regionPointY, double * imagePointX, double * imagePointY ) {
+ HRESULT _hr = raw_MapToImage(regionPointX, regionPointY, imagePointX, imagePointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILRegion::MapObjectFromImage ( IDispatch * imageObject ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_MapObjectFromImage(imageObject, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline IDispatchPtr ILRegion::MapObjectToImage ( IDispatch * regionObject ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_MapObjectToImage(regionObject, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Translate ( double offsetX, double offsetY ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Scale ( double factorX, double factorY ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Scale(factorX, factorY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Rotate ( double da ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Rotate(da, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::RotateAndTranslate ( double x, double y, double newX, double newY, double da ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_RotateAndTranslate(x, y, newX, newY, da, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILImagePtr ILRegion::ToMask ( int w, int h ) {
+ struct ILImage * _result = 0;
+ HRESULT _hr = raw_ToMask(w, h, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILImagePtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Intersect ( struct ILRegion * other ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Intersect(other, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::XOR ( struct ILRegion * other ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_XOR(other, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Copy ( ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Copy(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline ILRegionPtr ILRegion::Invert ( ) {
+ struct ILRegion * _result = 0;
+ HRESULT _hr = raw_Invert(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRegionPtr(_result, false);
+}
+
+inline double ILRegion::GetReduceAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ReduceAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRegion::PutReduceAngle ( double val ) {
+ HRESULT _hr = put_ReduceAngle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRegion::GetReduceScale ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ReduceScale(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRegion::PutReduceScale ( double val ) {
+ HRESULT _hr = put_ReduceScale(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVInterpolationMethod ILRegion::GetInterpolationMethod ( ) {
+ enum LPVInterpolationMethod _result;
+ HRESULT _hr = get_InterpolationMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRegion::PutInterpolationMethod ( enum LPVInterpolationMethod val ) {
+ HRESULT _hr = put_InterpolationMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILRectRegion wrapper method implementations
+//
+
+inline double ILRectRegion::GetLeft ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Left(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRectRegion::PutLeft ( double val ) {
+ HRESULT _hr = put_Left(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRectRegion::GetTop ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Top(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRectRegion::PutTop ( double val ) {
+ HRESULT _hr = put_Top(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRectRegion::GetWidth ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRectRegion::PutWidth ( double val ) {
+ HRESULT _hr = put_Width(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRectRegion::GetHeight ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRectRegion::PutHeight ( double val ) {
+ HRESULT _hr = put_Height(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILRectRegion::SetPlacement ( double tlx, double tly, double w, double h ) {
+ HRESULT _hr = raw_SetPlacement(tlx, tly, w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILRectRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILRectRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILRotRectRegion wrapper method implementations
+//
+
+inline double ILRotRectRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRotRectRegion::PutCenterX ( double val ) {
+ HRESULT _hr = put_CenterX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRotRectRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRotRectRegion::PutCenterY ( double val ) {
+ HRESULT _hr = put_CenterY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRotRectRegion::GetWidth ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRotRectRegion::PutWidth ( double val ) {
+ HRESULT _hr = put_Width(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRotRectRegion::GetHeight ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRotRectRegion::PutHeight ( double val ) {
+ HRESULT _hr = put_Height(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRotRectRegion::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Angle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRotRectRegion::PutAngle ( double val ) {
+ HRESULT _hr = put_Angle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILRotRectRegion::SetPlacement ( double cenx, double ceny, double w, double h, double a ) {
+ HRESULT _hr = raw_SetPlacement(cenx, ceny, w, h, a);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCircleRegion wrapper method implementations
+//
+
+inline double ILCircleRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircleRegion::PutCenterX ( double val ) {
+ HRESULT _hr = put_CenterX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCircleRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircleRegion::PutCenterY ( double val ) {
+ HRESULT _hr = put_CenterY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCircleRegion::GetRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Radius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircleRegion::PutRadius ( double val ) {
+ HRESULT _hr = put_Radius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCircleRegion::SetPlacement ( double cenx, double ceny, double r ) {
+ HRESULT _hr = raw_SetPlacement(cenx, ceny, r);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILPolyRegion wrapper method implementations
+//
+
+inline int ILPolyRegion::CtrlCount ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_CtrlCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILPolyRegion::AddCtrl ( double x, double y, int ctrlIndex ) {
+ HRESULT _hr = raw_AddCtrl(x, y, ctrlIndex);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolyRegion::GetCtrl ( int ctrlIndex, double * x, double * y ) {
+ HRESULT _hr = raw_GetCtrl(ctrlIndex, x, y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolyRegion::SetPlacement ( SAFEARRAY * xs, SAFEARRAY * ys ) {
+ HRESULT _hr = raw_SetPlacement(xs, ys);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolyRegion::RemoveCtrl ( int ctrlIndex ) {
+ HRESULT _hr = raw_RemoveCtrl(ctrlIndex);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolyRegion::SetCtrl ( double x, double y, int ctrlIndex ) {
+ HRESULT _hr = raw_SetCtrl(x, y, ctrlIndex);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILMaskRegion wrapper method implementations
+//
+
+inline HRESULT ILMaskRegion::SetMask ( struct ILImage * mask, double tlx, double tly ) {
+ HRESULT _hr = raw_SetMask(mask, tlx, tly);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILAnnulusRegion wrapper method implementations
+//
+
+inline double ILAnnulusRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusRegion::PutCenterX ( double val ) {
+ HRESULT _hr = put_CenterX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusRegion::PutCenterY ( double val ) {
+ HRESULT _hr = put_CenterY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusRegion::GetInnerRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_InnerRadius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusRegion::PutInnerRadius ( double val ) {
+ HRESULT _hr = put_InnerRadius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusRegion::GetOuterRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_OuterRadius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusRegion::PutOuterRadius ( double val ) {
+ HRESULT _hr = put_OuterRadius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILAnnulusRegion::SetPlacement ( double cenx, double ceny, double rInner, double rOuter ) {
+ HRESULT _hr = raw_SetPlacement(cenx, ceny, rInner, rOuter);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILEllipseRegion wrapper method implementations
+//
+
+inline double ILEllipseRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipseRegion::PutCenterX ( double val ) {
+ HRESULT _hr = put_CenterX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipseRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipseRegion::PutCenterY ( double val ) {
+ HRESULT _hr = put_CenterY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipseRegion::GetWidth ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipseRegion::PutWidth ( double val ) {
+ HRESULT _hr = put_Width(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipseRegion::GetHeight ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipseRegion::PutHeight ( double val ) {
+ HRESULT _hr = put_Height(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipseRegion::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Angle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipseRegion::PutAngle ( double val ) {
+ HRESULT _hr = put_Angle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILEllipseRegion::SetPlacement ( double cenx, double ceny, double w, double h, double a ) {
+ HRESULT _hr = raw_SetPlacement(cenx, ceny, w, h, a);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILAnnulusSectorRegion wrapper method implementations
+//
+
+inline double ILAnnulusSectorRegion::GetCenterX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutCenterX ( double val ) {
+ HRESULT _hr = put_CenterX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusSectorRegion::GetCenterY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CenterY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutCenterY ( double val ) {
+ HRESULT _hr = put_CenterY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusSectorRegion::GetInnerRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_InnerRadius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutInnerRadius ( double val ) {
+ HRESULT _hr = put_InnerRadius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusSectorRegion::GetOuterRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_OuterRadius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutOuterRadius ( double val ) {
+ HRESULT _hr = put_OuterRadius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusSectorRegion::GetStartAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutStartAngle ( double val ) {
+ HRESULT _hr = put_StartAngle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILAnnulusSectorRegion::GetEndAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_EndAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILAnnulusSectorRegion::PutEndAngle ( double val ) {
+ HRESULT _hr = put_EndAngle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILAnnulusSectorRegion::SetPlacement ( double cenx, double ceny, double rInner, double rOuter, double aStart, double aEnd ) {
+ HRESULT _hr = raw_SetPlacement(cenx, ceny, rInner, rOuter, aStart, aEnd);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILImageList wrapper method implementations
+//
+
+inline int ILImageList::GetMaxCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_MaxCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageList::PutMaxCount ( int val ) {
+ HRESULT _hr = put_MaxCount(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILImageList::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILImageList::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImageList::Add ( struct ILImage * img, struct ILRectRegion * region ) {
+ HRESULT _hr = raw_Add(img, region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageList::Adds ( SAFEARRAY * images ) {
+ HRESULT _hr = raw_Adds(images);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILImagePtr ILImageList::Item ( int imgIndex ) {
+ struct ILImage * _result = 0;
+ HRESULT _hr = raw_Item(imgIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILImagePtr(_result, false);
+}
+
+inline VARIANT_BOOL ILImageList::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageList::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILImageList::GetSameSize ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_SameSize(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageList::PutSameSize ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_SameSize(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tlh
new file mode 100644
index 0000000..7be64e8
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tlh
@@ -0,0 +1,603 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (3c922bb4).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvDisplay.tlh
+//
+// C++ source equivalent of type library 5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6"))
+/* LIBID */ __LPVDisplayLib;
+enum LPVDisplayFlags;
+enum LPVScrollBarPolicy;
+enum LPVZoomAnchor;
+enum LPVAlignment;
+enum LPVDisplayEventIDs;
+enum LPVMouseButton;
+enum LPVKeyboardModifiers;
+struct __declspec(uuid("113de32f-e05e-460d-82e6-6ef7d6458ec9"))
+/* dual interface */ ILDisplayCommon;
+struct __declspec(uuid("f2ec8876-80ed-4b14-b505-8bb2f99afcd6"))
+/* dual interface */ ILDisplay;
+struct __declspec(uuid("e2223b4a-9ab9-4b0c-9784-65a409304575"))
+/* dual interface */ ILText;
+struct __declspec(uuid("2af01e49-5db5-495a-817b-3f6a590534bd"))
+/* dispinterface */ ILDisplayEvents;
+struct /* coclass */ LDisplay;
+struct /* coclass */ LText;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILDisplayCommon, __uuidof(ILDisplayCommon));
+_COM_SMARTPTR_TYPEDEF(ILDisplay, __uuidof(ILDisplay));
+_COM_SMARTPTR_TYPEDEF(ILText, __uuidof(ILText));
+_COM_SMARTPTR_TYPEDEF(ILDisplayEvents, __uuidof(ILDisplayEvents));
+
+//
+// Type library items
+//
+
+enum LPVDisplayFlags
+{
+ LPVDisplayMovable = 1,
+ LPVDisplayZoomable = 2,
+ LPVDisplayUseContextMenu = 4,
+ LPVDisplayInteractRegion = 8,
+ LPVDisplayShowPixelUnderMouse = 16,
+ LPVDisplayDefault = 15,
+ LPVDisplayAll = 255
+};
+
+enum LPVScrollBarPolicy
+{
+ LPVScrollBarAsNeeded = 0,
+ LPVScrollBarAlwaysOff = 1,
+ LPVScrollBarAlwaysOn = 2
+};
+
+enum LPVZoomAnchor
+{
+ LPVAnchorViewTopLeft = 0,
+ LPVAnchorViewCenter = 1,
+ LPVAnchorUnderMouse = 2
+};
+
+enum LPVAlignment
+{
+ LPVAlignDefault = 0,
+ LPVAlignLeft = 1,
+ LPVAlignRight = 2,
+ LPVAlignHCenter = 4,
+ LPVAlignTop = 16,
+ LPVAlignBottom = 32,
+ LPVAlignVCenter = 64,
+ LPVAlignCenter = 68
+};
+
+enum LPVDisplayEventIDs
+{
+ LPVDisplayEventRefreshed = 33025,
+ LPVDisplayEventMouseDown = 33026,
+ LPVDisplayEventMouseUp = 33027,
+ LPVDisplayEventMouseDoubleClick = 33028,
+ LPVDisplayEventMouseMove = 33029,
+ LPVDisplayEventMouseWheel = 33030,
+ LPVDisplayEventKeyDown = 33031,
+ LPVDisplayEventKeyUp = 33032,
+ LPVDisplayEventRegionDragging = 33056,
+ LPVDisplayEventRegionDragFinished = 33057,
+ LPVDisplayEventRegionRemoving = 33058,
+ LPVDisplayEventRegionRemovingAll = 33059
+};
+
+enum LPVMouseButton
+{
+ LPVMouseButtonNone = 0,
+ LPVMouseButtonLeft = 1,
+ LPVMouseButtonRight = 2,
+ LPVMouseButtonMid = 4,
+ LPVMouseButtonX1 = 8,
+ LPVMouseButtonX2 = 16
+};
+
+enum LPVKeyboardModifiers
+{
+ LPVKeyboardModifiersNone = 0,
+ LPVKeyboardModifiersCtrl = 1,
+ LPVKeyboardModifiersShift = 2,
+ LPVKeyboardModifiersAlt = 4
+};
+
+struct __declspec(uuid("113de32f-e05e-460d-82e6-6ef7d6458ec9"))
+ILDisplayCommon : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetDisplayFlags,put=PutDisplayFlags))
+ enum LPVDisplayFlags DisplayFlags;
+ __declspec(property(get=GetHScrollBarPolicy,put=PutHScrollBarPolicy))
+ enum LPVScrollBarPolicy HScrollBarPolicy;
+ __declspec(property(get=GetVScrollBarPolicy,put=PutVScrollBarPolicy))
+ enum LPVScrollBarPolicy VScrollBarPolicy;
+ __declspec(property(get=GetZoomAnchor,put=PutZoomAnchor))
+ enum LPVZoomAnchor ZoomAnchor;
+ __declspec(property(get=GetZoomX,put=PutZoomX))
+ double ZoomX;
+ __declspec(property(get=GetZoomY,put=PutZoomY))
+ double ZoomY;
+ __declspec(property(put=PutZoom))
+ double Zoom;
+ __declspec(property(get=GetPanX,put=PutPanX))
+ double PanX;
+ __declspec(property(get=GetPanY,put=PutPanY))
+ double PanY;
+ __declspec(property(get=GetBackColor,put=PutBackColor))
+ OLE_COLOR BackColor;
+ __declspec(property(get=GetAlignment,put=PutAlignment))
+ enum LPVAlignment Alignment;
+ __declspec(property(get=GetDrawingEnabled,put=PutDrawingEnabled))
+ VARIANT_BOOL DrawingEnabled;
+ __declspec(property(get=GetAutoRefreshEnabled,put=PutAutoRefreshEnabled))
+ VARIANT_BOOL AutoRefreshEnabled;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ void PutBackColor (
+ OLE_COLOR pclr );
+ OLE_COLOR GetBackColor ( );
+ void PutDisplayFlags (
+ enum LPVDisplayFlags val );
+ enum LPVDisplayFlags GetDisplayFlags ( );
+ void PutHScrollBarPolicy (
+ enum LPVScrollBarPolicy val );
+ enum LPVScrollBarPolicy GetHScrollBarPolicy ( );
+ void PutVScrollBarPolicy (
+ enum LPVScrollBarPolicy val );
+ enum LPVScrollBarPolicy GetVScrollBarPolicy ( );
+ void PutZoomAnchor (
+ enum LPVZoomAnchor val );
+ enum LPVZoomAnchor GetZoomAnchor ( );
+ void PutZoomX (
+ double val );
+ double GetZoomX ( );
+ void PutZoomY (
+ double val );
+ double GetZoomY ( );
+ void PutZoom (
+ double _arg1 );
+ void PutPanX (
+ double val );
+ double GetPanX ( );
+ void PutPanY (
+ double val );
+ double GetPanY ( );
+ void PutAlignment (
+ enum LPVAlignment val );
+ enum LPVAlignment GetAlignment ( );
+ HRESULT SetSize (
+ int w,
+ int h );
+ HRESULT FitInView (
+ int tlx,
+ int tly,
+ int w,
+ int h,
+ enum LPVAlignment alignFlags );
+ HRESULT FitToWindow (
+ enum LPVAlignment alignFlags );
+ HRESULT Refresh ( );
+ HRESULT RefreshImmediate ( );
+ int SaveWindowToFile (
+ _bstr_t filename );
+ int SaveSceneToFile (
+ _bstr_t filename,
+ double ZoomX,
+ double ZoomY );
+ HRESULT SetDisplayFlag (
+ enum LPVDisplayFlags flag,
+ VARIANT_BOOL enable );
+ int AddReferenceLineH (
+ double position,
+ double relativePosition,
+ VARIANT_BOOL attached,
+ OLE_COLOR clr );
+ int AddReferenceLineV (
+ double position,
+ double relativePosition,
+ VARIANT_BOOL attached,
+ OLE_COLOR clr );
+ HRESULT RemoveReferenceLine (
+ int refLineId );
+ HRESULT RemoveAllReferenceLine ( );
+ HRESULT ShowDialog (
+ _bstr_t dialogName,
+ int x,
+ int y,
+ int w,
+ int h );
+ HRESULT ShowDialogAsync (
+ _bstr_t dialogName,
+ int x,
+ int y,
+ int w,
+ int h,
+ int refreshInterval );
+ void PutDrawingEnabled (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetDrawingEnabled ( );
+ void PutAutoRefreshEnabled (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetAutoRefreshEnabled ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall put_BackColor (
+ /*[in]*/ OLE_COLOR pclr ) = 0;
+ virtual HRESULT __stdcall get_BackColor (
+ /*[out,retval]*/ OLE_COLOR * pclr ) = 0;
+ virtual HRESULT __stdcall put_DisplayFlags (
+ /*[in]*/ enum LPVDisplayFlags val ) = 0;
+ virtual HRESULT __stdcall get_DisplayFlags (
+ /*[out,retval]*/ enum LPVDisplayFlags * val ) = 0;
+ virtual HRESULT __stdcall put_HScrollBarPolicy (
+ /*[in]*/ enum LPVScrollBarPolicy val ) = 0;
+ virtual HRESULT __stdcall get_HScrollBarPolicy (
+ /*[out,retval]*/ enum LPVScrollBarPolicy * val ) = 0;
+ virtual HRESULT __stdcall put_VScrollBarPolicy (
+ /*[in]*/ enum LPVScrollBarPolicy val ) = 0;
+ virtual HRESULT __stdcall get_VScrollBarPolicy (
+ /*[out,retval]*/ enum LPVScrollBarPolicy * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomAnchor (
+ /*[in]*/ enum LPVZoomAnchor val ) = 0;
+ virtual HRESULT __stdcall get_ZoomAnchor (
+ /*[out,retval]*/ enum LPVZoomAnchor * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ZoomX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ZoomY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Zoom (
+ /*[in]*/ double _arg1 ) = 0;
+ virtual HRESULT __stdcall put_PanX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_PanX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_PanY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_PanY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Alignment (
+ /*[in]*/ enum LPVAlignment val ) = 0;
+ virtual HRESULT __stdcall get_Alignment (
+ /*[out,retval]*/ enum LPVAlignment * val ) = 0;
+ virtual HRESULT __stdcall raw_SetSize (
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_FitInView (
+ /*[in]*/ int tlx,
+ /*[in]*/ int tly,
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_FitToWindow (
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_Refresh ( ) = 0;
+ virtual HRESULT __stdcall raw_RefreshImmediate ( ) = 0;
+ virtual HRESULT __stdcall raw_SaveWindowToFile (
+ /*[in]*/ BSTR filename,
+ /*[out,retval]*/ int * error ) = 0;
+ virtual HRESULT __stdcall raw_SaveSceneToFile (
+ /*[in]*/ BSTR filename,
+ /*[in]*/ double ZoomX,
+ /*[in]*/ double ZoomY,
+ /*[out,retval]*/ int * error ) = 0;
+ virtual HRESULT __stdcall raw_SetDisplayFlag (
+ /*[in]*/ enum LPVDisplayFlags flag,
+ /*[in]*/ VARIANT_BOOL enable ) = 0;
+ virtual HRESULT __stdcall raw_AddReferenceLineH (
+ /*[in]*/ double position,
+ /*[in]*/ double relativePosition,
+ /*[in]*/ VARIANT_BOOL attached,
+ /*[in]*/ OLE_COLOR clr,
+ /*[out,retval]*/ int * refLineId ) = 0;
+ virtual HRESULT __stdcall raw_AddReferenceLineV (
+ /*[in]*/ double position,
+ /*[in]*/ double relativePosition,
+ /*[in]*/ VARIANT_BOOL attached,
+ /*[in]*/ OLE_COLOR clr,
+ /*[out,retval]*/ int * refLineId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveReferenceLine (
+ /*[in]*/ int refLineId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllReferenceLine ( ) = 0;
+ virtual HRESULT __stdcall raw_ShowDialog (
+ /*[in]*/ BSTR dialogName,
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_ShowDialogAsync (
+ /*[in]*/ BSTR dialogName,
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ int refreshInterval ) = 0;
+ virtual HRESULT __stdcall put_DrawingEnabled (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_DrawingEnabled (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_AutoRefreshEnabled (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_AutoRefreshEnabled (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+};
+
+struct __declspec(uuid("f2ec8876-80ed-4b14-b505-8bb2f99afcd6"))
+ILDisplay : ILDisplayCommon
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetKeepAspectRatio,put=PutKeepAspectRatio))
+ VARIANT_BOOL KeepAspectRatio;
+ __declspec(property(get=GetPixelUnderMouse))
+ int PixelUnderMouse;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ void PutKeepAspectRatio (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetKeepAspectRatio ( );
+ int GetPixelUnderMouse ( );
+ HRESULT SetImage (
+ IDispatch * image );
+ HRESULT RemoveImage ( );
+ IDispatchPtr GetImage ( );
+ int AddRegion (
+ IDispatch * region,
+ VARIANT_BOOL interactable );
+ HRESULT RemoveRegion (
+ IDispatch * region );
+ HRESULT RemoveRegionByID (
+ int regionId );
+ HRESULT RemoveAllRegions ( );
+ IDispatchPtr GetRegionByID (
+ int regionId );
+ int AddObject (
+ IDispatch * drawable,
+ int drawFlags );
+ HRESULT RemoveObject (
+ IDispatch * drawable );
+ HRESULT RemoveObjectByID (
+ int objectId );
+ HRESULT RemoveAllObjects ( );
+ IDispatchPtr GetObjectByID (
+ int objectId );
+ HRESULT FitInViewObject (
+ IDispatch * object,
+ enum LPVAlignment alignFlags );
+ HRESULT ClientToImage (
+ int x,
+ int y,
+ double * imageX,
+ double * imageY );
+ HRESULT ImageToClient (
+ double imageX,
+ double imageY,
+ int * x,
+ int * y );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall put_KeepAspectRatio (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_KeepAspectRatio (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall get_PixelUnderMouse (
+ /*[out,retval]*/ int * valw ) = 0;
+ virtual HRESULT __stdcall raw_SetImage (
+ /*[in]*/ IDispatch * image ) = 0;
+ virtual HRESULT __stdcall raw_RemoveImage ( ) = 0;
+ virtual HRESULT __stdcall raw_GetImage (
+ /*[out,retval]*/ IDispatch * * image ) = 0;
+ virtual HRESULT __stdcall raw_AddRegion (
+ /*[in]*/ IDispatch * region,
+ /*[in]*/ VARIANT_BOOL interactable,
+ /*[out,retval]*/ int * regionId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveRegion (
+ /*[in]*/ IDispatch * region ) = 0;
+ virtual HRESULT __stdcall raw_RemoveRegionByID (
+ /*[in]*/ int regionId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllRegions ( ) = 0;
+ virtual HRESULT __stdcall raw_GetRegionByID (
+ /*[in]*/ int regionId,
+ /*[out,retval]*/ IDispatch * * region ) = 0;
+ virtual HRESULT __stdcall raw_AddObject (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ int drawFlags,
+ /*[out,retval]*/ int * objectId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveObject (
+ /*[in]*/ IDispatch * drawable ) = 0;
+ virtual HRESULT __stdcall raw_RemoveObjectByID (
+ /*[in]*/ int objectId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllObjects ( ) = 0;
+ virtual HRESULT __stdcall raw_GetObjectByID (
+ /*[in]*/ int objectId,
+ /*[out,retval]*/ IDispatch * * drawable ) = 0;
+ virtual HRESULT __stdcall raw_FitInViewObject (
+ /*[in]*/ IDispatch * object,
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_ClientToImage (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[out]*/ double * imageX,
+ /*[out]*/ double * imageY ) = 0;
+ virtual HRESULT __stdcall raw_ImageToClient (
+ /*[in]*/ double imageX,
+ /*[in]*/ double imageY,
+ /*[out]*/ int * x,
+ /*[out]*/ int * y ) = 0;
+};
+
+struct __declspec(uuid("e2223b4a-9ab9-4b0c-9784-65a409304575"))
+ILText : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetText,put=PutText))
+ _bstr_t Text;
+ __declspec(property(get=GetPosX,put=PutPosX))
+ int PosX;
+ __declspec(property(get=GetPosY,put=PutPosY))
+ int PosY;
+ __declspec(property(get=GetAlignment,put=PutAlignment))
+ enum LPVAlignment Alignment;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ _bstr_t GetText ( );
+ void PutText (
+ _bstr_t val );
+ int GetPosX ( );
+ void PutPosX (
+ int val );
+ int GetPosY ( );
+ void PutPosY (
+ int val );
+ enum LPVAlignment GetAlignment ( );
+ void PutAlignment (
+ enum LPVAlignment val );
+ HRESULT Draw (
+ void * hdc,
+ double ZoomX,
+ double ZoomY,
+ double PanX,
+ double PanY );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Text (
+ /*[out,retval]*/ BSTR * val ) = 0;
+ virtual HRESULT __stdcall put_Text (
+ /*[in]*/ BSTR val ) = 0;
+ virtual HRESULT __stdcall get_PosX (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_PosX (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_PosY (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_PosY (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_Alignment (
+ /*[out,retval]*/ enum LPVAlignment * val ) = 0;
+ virtual HRESULT __stdcall put_Alignment (
+ /*[in]*/ enum LPVAlignment val ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double ZoomX,
+ /*[in]*/ double ZoomY,
+ /*[in]*/ double PanX,
+ /*[in]*/ double PanY ) = 0;
+};
+
+struct __declspec(uuid("2af01e49-5db5-495a-817b-3f6a590534bd"))
+ILDisplayEvents : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ // Methods:
+ HRESULT Refreshed ( );
+ HRESULT MouseDown (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseUp (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseDoubleClick (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseMove (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseWheel (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y,
+ int delta );
+ HRESULT KeyDown (
+ int keyCode,
+ enum LPVKeyboardModifiers modifiers );
+ HRESULT KeyUp (
+ int keyCode,
+ enum LPVKeyboardModifiers modifiers );
+ HRESULT RegionDragging (
+ int regionId );
+ HRESULT RegionDragFinished (
+ int regionId );
+ HRESULT RegionRemoving (
+ int regionId );
+ HRESULT RegionRemovingAll ( );
+};
+
+struct __declspec(uuid("82c07241-7283-4957-9ee4-200d9903d13d"))
+LDisplay;
+ // [ default ] interface ILDisplay
+ // [ default, source ] dispinterface ILDisplayEvents
+
+struct __declspec(uuid("4ba55cd6-cf5a-4d89-9f1b-f7c4fc95738b"))
+LText;
+ // [ default ] interface ILText
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvDisplay.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tli
new file mode 100644
index 0000000..b561abb
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvDisplay.tli
@@ -0,0 +1,517 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (3c922bb4).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvDisplay.tli
+//
+// Wrapper implementations for type library 5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILDisplayCommon wrapper method implementations
+//
+
+inline void ILDisplayCommon::PutBackColor ( OLE_COLOR pclr ) {
+ HRESULT _hr = put_BackColor(pclr);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline OLE_COLOR ILDisplayCommon::GetBackColor ( ) {
+ OLE_COLOR _result;
+ HRESULT _hr = get_BackColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutDisplayFlags ( enum LPVDisplayFlags val ) {
+ HRESULT _hr = put_DisplayFlags(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDisplayFlags ILDisplayCommon::GetDisplayFlags ( ) {
+ enum LPVDisplayFlags _result;
+ HRESULT _hr = get_DisplayFlags(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutHScrollBarPolicy ( enum LPVScrollBarPolicy val ) {
+ HRESULT _hr = put_HScrollBarPolicy(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVScrollBarPolicy ILDisplayCommon::GetHScrollBarPolicy ( ) {
+ enum LPVScrollBarPolicy _result;
+ HRESULT _hr = get_HScrollBarPolicy(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutVScrollBarPolicy ( enum LPVScrollBarPolicy val ) {
+ HRESULT _hr = put_VScrollBarPolicy(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVScrollBarPolicy ILDisplayCommon::GetVScrollBarPolicy ( ) {
+ enum LPVScrollBarPolicy _result;
+ HRESULT _hr = get_VScrollBarPolicy(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomAnchor ( enum LPVZoomAnchor val ) {
+ HRESULT _hr = put_ZoomAnchor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVZoomAnchor ILDisplayCommon::GetZoomAnchor ( ) {
+ enum LPVZoomAnchor _result;
+ HRESULT _hr = get_ZoomAnchor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomX ( double val ) {
+ HRESULT _hr = put_ZoomX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetZoomX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ZoomX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomY ( double val ) {
+ HRESULT _hr = put_ZoomY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetZoomY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ZoomY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoom ( double _arg1 ) {
+ HRESULT _hr = put_Zoom(_arg1);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline void ILDisplayCommon::PutPanX ( double val ) {
+ HRESULT _hr = put_PanX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetPanX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_PanX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutPanY ( double val ) {
+ HRESULT _hr = put_PanY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetPanY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_PanY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutAlignment ( enum LPVAlignment val ) {
+ HRESULT _hr = put_Alignment(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVAlignment ILDisplayCommon::GetAlignment ( ) {
+ enum LPVAlignment _result;
+ HRESULT _hr = get_Alignment(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::SetSize ( int w, int h ) {
+ HRESULT _hr = raw_SetSize(w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::FitInView ( int tlx, int tly, int w, int h, enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitInView(tlx, tly, w, h, alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::FitToWindow ( enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitToWindow(alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::Refresh ( ) {
+ HRESULT _hr = raw_Refresh();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::RefreshImmediate ( ) {
+ HRESULT _hr = raw_RefreshImmediate();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILDisplayCommon::SaveWindowToFile ( _bstr_t filename ) {
+ int _result = 0;
+ HRESULT _hr = raw_SaveWindowToFile(filename, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplayCommon::SaveSceneToFile ( _bstr_t filename, double ZoomX, double ZoomY ) {
+ int _result = 0;
+ HRESULT _hr = raw_SaveSceneToFile(filename, ZoomX, ZoomY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::SetDisplayFlag ( enum LPVDisplayFlags flag, VARIANT_BOOL enable ) {
+ HRESULT _hr = raw_SetDisplayFlag(flag, enable);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILDisplayCommon::AddReferenceLineH ( double position, double relativePosition, VARIANT_BOOL attached, OLE_COLOR clr ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddReferenceLineH(position, relativePosition, attached, clr, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplayCommon::AddReferenceLineV ( double position, double relativePosition, VARIANT_BOOL attached, OLE_COLOR clr ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddReferenceLineV(position, relativePosition, attached, clr, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::RemoveReferenceLine ( int refLineId ) {
+ HRESULT _hr = raw_RemoveReferenceLine(refLineId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::RemoveAllReferenceLine ( ) {
+ HRESULT _hr = raw_RemoveAllReferenceLine();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::ShowDialog ( _bstr_t dialogName, int x, int y, int w, int h ) {
+ HRESULT _hr = raw_ShowDialog(dialogName, x, y, w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::ShowDialogAsync ( _bstr_t dialogName, int x, int y, int w, int h, int refreshInterval ) {
+ HRESULT _hr = raw_ShowDialogAsync(dialogName, x, y, w, h, refreshInterval);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline void ILDisplayCommon::PutDrawingEnabled ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_DrawingEnabled(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplayCommon::GetDrawingEnabled ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_DrawingEnabled(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutAutoRefreshEnabled ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_AutoRefreshEnabled(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplayCommon::GetAutoRefreshEnabled ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_AutoRefreshEnabled(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILDisplay wrapper method implementations
+//
+
+inline void ILDisplay::PutKeepAspectRatio ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_KeepAspectRatio(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplay::GetKeepAspectRatio ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_KeepAspectRatio(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplay::GetPixelUnderMouse ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PixelUnderMouse(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::SetImage ( IDispatch * image ) {
+ HRESULT _hr = raw_SetImage(image);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveImage ( ) {
+ HRESULT _hr = raw_RemoveImage();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetImage ( ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetImage(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline int ILDisplay::AddRegion ( IDispatch * region, VARIANT_BOOL interactable ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddRegion(region, interactable, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::RemoveRegion ( IDispatch * region ) {
+ HRESULT _hr = raw_RemoveRegion(region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveRegionByID ( int regionId ) {
+ HRESULT _hr = raw_RemoveRegionByID(regionId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveAllRegions ( ) {
+ HRESULT _hr = raw_RemoveAllRegions();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetRegionByID ( int regionId ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetRegionByID(regionId, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline int ILDisplay::AddObject ( IDispatch * drawable, int drawFlags ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddObject(drawable, drawFlags, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::RemoveObject ( IDispatch * drawable ) {
+ HRESULT _hr = raw_RemoveObject(drawable);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveObjectByID ( int objectId ) {
+ HRESULT _hr = raw_RemoveObjectByID(objectId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveAllObjects ( ) {
+ HRESULT _hr = raw_RemoveAllObjects();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetObjectByID ( int objectId ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetObjectByID(objectId, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline HRESULT ILDisplay::FitInViewObject ( IDispatch * object, enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitInViewObject(object, alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::ClientToImage ( int x, int y, double * imageX, double * imageY ) {
+ HRESULT _hr = raw_ClientToImage(x, y, imageX, imageY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::ImageToClient ( double imageX, double imageY, int * x, int * y ) {
+ HRESULT _hr = raw_ImageToClient(imageX, imageY, x, y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILText wrapper method implementations
+//
+
+inline _bstr_t ILText::GetText ( ) {
+ BSTR _result = 0;
+ HRESULT _hr = get_Text(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _bstr_t(_result, false);
+}
+
+inline void ILText::PutText ( _bstr_t val ) {
+ HRESULT _hr = put_Text(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILText::GetPosX ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PosX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutPosX ( int val ) {
+ HRESULT _hr = put_PosX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILText::GetPosY ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PosY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutPosY ( int val ) {
+ HRESULT _hr = put_PosY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVAlignment ILText::GetAlignment ( ) {
+ enum LPVAlignment _result;
+ HRESULT _hr = get_Alignment(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutAlignment ( enum LPVAlignment val ) {
+ HRESULT _hr = put_Alignment(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILText::Draw ( void * hdc, double ZoomX, double ZoomY, double PanX, double PanY ) {
+ HRESULT _hr = raw_Draw(hdc, ZoomX, ZoomY, PanX, PanY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// dispinterface ILDisplayEvents wrapper method implementations
+//
+
+inline HRESULT ILDisplayEvents::Refreshed ( ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8101, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseDown ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8102, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseUp ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8103, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseDoubleClick ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8104, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseMove ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8105, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseWheel ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y, int delta ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8106, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003\x0003", buttons, modifiers, x, y, delta);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::KeyDown ( int keyCode, enum LPVKeyboardModifiers modifiers ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8107, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003", keyCode, modifiers);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::KeyUp ( int keyCode, enum LPVKeyboardModifiers modifiers ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8108, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003", keyCode, modifiers);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionDragging ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8120, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionDragFinished ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8121, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionRemoving ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8122, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionRemovingAll ( ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8123, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
+ return _result;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tlh
new file mode 100644
index 0000000..ed26d3c
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tlh
@@ -0,0 +1,1496 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (3150dc8c).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeom.tlh
+//
+// C++ source equivalent of type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("8955aafb-4602-4d6a-a888-69d1437c4d2b"))
+/* LIBID */ __LPVGeomLib;
+enum LPVIntersectType;
+enum LPVPointTestResult;
+struct __declspec(uuid("4ecee3ee-e71c-4dba-b08f-c00c69eebc93"))
+/* dual interface */ ILLine;
+struct __declspec(uuid("f23b68da-45ed-4203-ac61-731ea2fcae84"))
+/* dual interface */ ILPoint;
+struct __declspec(uuid("e1d93b22-94d6-497f-bc6d-d852436bd283"))
+/* dual interface */ ILTransform;
+struct __declspec(uuid("e8d18797-3725-4811-84c7-03536ce85e83"))
+/* dual interface */ ILPoints;
+struct __declspec(uuid("cfbd782d-5cc7-48ac-b7bb-e07d3d983523"))
+/* dual interface */ ILRect;
+struct __declspec(uuid("956b9ed4-57fa-4065-b8f0-fa22b5f45204"))
+/* dual interface */ ILPolygon;
+struct __declspec(uuid("6638b456-970d-476c-9c74-f214d5197f0c"))
+/* dual interface */ ILCircle;
+struct __declspec(uuid("bd8e9711-2a32-4593-820e-aeaf53286136"))
+/* dual interface */ ILArc;
+struct __declspec(uuid("12315b29-3f8d-4f4f-bdd3-c45acf4d832b"))
+/* dual interface */ ILEllipse;
+struct /* coclass */ LPoint;
+struct /* coclass */ LPoints;
+struct /* coclass */ LCircle;
+struct /* coclass */ LLine;
+struct /* coclass */ LPolygon;
+struct /* coclass */ LRect;
+struct /* coclass */ LEllipse;
+struct /* coclass */ LArc;
+struct /* coclass */ LTransform;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILLine, __uuidof(ILLine));
+_COM_SMARTPTR_TYPEDEF(ILPoint, __uuidof(ILPoint));
+_COM_SMARTPTR_TYPEDEF(ILTransform, __uuidof(ILTransform));
+_COM_SMARTPTR_TYPEDEF(ILPoints, __uuidof(ILPoints));
+_COM_SMARTPTR_TYPEDEF(ILRect, __uuidof(ILRect));
+_COM_SMARTPTR_TYPEDEF(ILPolygon, __uuidof(ILPolygon));
+_COM_SMARTPTR_TYPEDEF(ILEllipse, __uuidof(ILEllipse));
+_COM_SMARTPTR_TYPEDEF(ILCircle, __uuidof(ILCircle));
+_COM_SMARTPTR_TYPEDEF(ILArc, __uuidof(ILArc));
+
+//
+// Type library items
+//
+
+enum LPVIntersectType
+{
+ LPVIntersectUnbounded = 0,
+ LPVIntersectBoundedLeft = 1,
+ LPVIntersectBounded = 2,
+ LPVIntersectBoundedRight = 3,
+ LPVIntersectNone = 4,
+ LPVIntersectBoundedPartial = 1
+};
+
+enum LPVPointTestResult
+{
+ LPVPointTestInside = 0,
+ LPVPointTestOutside = 1,
+ LPVPointTestOnEdge = 2
+};
+
+struct __declspec(uuid("95da080e-bfb1-4d94-80c1-2f12b8265232"))
+LPoint;
+ // [ default ] interface ILPoint
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("72aca2d2-8ed3-4bb0-bfdc-75a584d06fb0"))
+LPoints;
+ // [ default ] interface ILPoints
+ // interface ILDrawable
+ // interface ILSortables
+ // interface ILSortable
+
+struct __declspec(uuid("62f03494-7d5c-4887-a3c8-d4f10855db7c"))
+LCircle;
+ // [ default ] interface ILCircle
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("45954f31-ed28-4608-859f-5554a86a16e2"))
+LLine;
+ // [ default ] interface ILLine
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("d4b46ac0-95ca-4e21-99ad-1fb67b78bd8c"))
+LPolygon;
+ // [ default ] interface ILPolygon
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("d489e3a7-0717-4e49-b2b8-fd390d9e99ee"))
+LRect;
+ // [ default ] interface ILRect
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("292ddf7a-a20f-409e-8546-ad2a6670e269"))
+LEllipse;
+ // [ default ] interface ILEllipse
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("f4d662ee-3dfd-492e-87bb-1696c3accd56"))
+LArc;
+ // [ default ] interface ILArc
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("118c59d5-fc88-42a1-980c-b090b7423b8a"))
+LTransform;
+ // [ default ] interface ILTransform
+
+struct __declspec(uuid("4ecee3ee-e71c-4dba-b08f-c00c69eebc93"))
+ILLine : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX1,put=PutX1))
+ double X1;
+ __declspec(property(get=GetY1,put=PutY1))
+ double Y1;
+ __declspec(property(get=GetX2,put=PutX2))
+ double X2;
+ __declspec(property(get=GetY2,put=PutY2))
+ double Y2;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX1 ( );
+ void PutX1 (
+ double val );
+ double GetY1 ( );
+ void PutY1 (
+ double val );
+ double GetX2 ( );
+ void PutX2 (
+ double val );
+ double GetY2 ( );
+ void PutY2 (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X1,
+ double Y1,
+ double X2,
+ double Y2 );
+ HRESULT Set2 (
+ double midx,
+ double midy,
+ double lineAngle,
+ double length );
+ HRESULT Draw (
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointPtr GetMidPoint ( );
+ double GetAngle ( );
+ double GetLength ( );
+ enum LPVIntersectType IntersectLine (
+ struct ILLine * line,
+ struct ILPoint * * intersectPoint );
+ enum LPVIntersectType IntersectCircle (
+ struct ILCircle * circle,
+ struct ILPoints * * intersectPoints );
+ enum LPVIntersectType IntersectPoly (
+ struct ILPolygon * polygon,
+ struct ILPoints * * intersectPoints );
+ double Perpendicular (
+ struct ILPoint * point,
+ struct ILPoint * * rootPoint );
+ ILLinePtr BisectLine (
+ struct ILLine * line );
+ double Distance (
+ struct ILLine * line );
+ double AcuteAngle (
+ struct ILLine * line );
+ double Parallel (
+ struct ILLine * line );
+ double AngleTo (
+ struct ILLine * line );
+ ILLinePtr Translate (
+ double offsetX,
+ double offsetY );
+ ILLinePtr Transform (
+ struct ILTransform * tf );
+ ILRotRectRegionPtr ToRotRectRegion (
+ int exp );
+ HRESULT FromRotRectRegion (
+ struct ILRotRectRegion * val );
+ ILPolygonPtr Resample (
+ int num );
+ ILPolygonPtr ResampleByStep (
+ double step,
+ double stepThreshold );
+ double GetX (
+ double Y );
+ double GetY (
+ double X );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X1 (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X1 (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y1 (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y1 (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_X2 (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X2 (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y2 (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y2 (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X1,
+ /*[in]*/ double Y1,
+ /*[in]*/ double X2,
+ /*[in]*/ double Y2 ) = 0;
+ virtual HRESULT __stdcall raw_Set2 (
+ /*[in]*/ double midx,
+ /*[in]*/ double midy,
+ /*[in]*/ double lineAngle,
+ /*[in]*/ double length ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetMidPoint (
+ /*[out,retval]*/ struct ILPoint * * result ) = 0;
+ virtual HRESULT __stdcall raw_GetAngle (
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_GetLength (
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_IntersectLine (
+ /*[in]*/ struct ILLine * line,
+ /*[out]*/ struct ILPoint * * intersectPoint,
+ /*[out,retval]*/ enum LPVIntersectType * type ) = 0;
+ virtual HRESULT __stdcall raw_IntersectCircle (
+ /*[in]*/ struct ILCircle * circle,
+ /*[out]*/ struct ILPoints * * intersectPoints,
+ /*[out,retval]*/ enum LPVIntersectType * type ) = 0;
+ virtual HRESULT __stdcall raw_IntersectPoly (
+ /*[in]*/ struct ILPolygon * polygon,
+ /*[out]*/ struct ILPoints * * intersectPoints,
+ /*[out,retval]*/ enum LPVIntersectType * type ) = 0;
+ virtual HRESULT __stdcall raw_Perpendicular (
+ /*[in]*/ struct ILPoint * point,
+ /*[out]*/ struct ILPoint * * rootPoint,
+ /*[out,retval]*/ double * Distance ) = 0;
+ virtual HRESULT __stdcall raw_BisectLine (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ struct ILLine * * result ) = 0;
+ virtual HRESULT __stdcall raw_Distance (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_AcuteAngle (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Parallel (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_AngleTo (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILLine * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILLine * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToRotRectRegion (
+ /*[in]*/ int exp,
+ /*[out,retval]*/ struct ILRotRectRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromRotRectRegion (
+ /*[in]*/ struct ILRotRectRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_ResampleByStep (
+ /*[in]*/ double step,
+ /*[in]*/ double stepThreshold,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_GetX (
+ /*[in]*/ double Y,
+ /*[out,retval]*/ double * X ) = 0;
+ virtual HRESULT __stdcall raw_GetY (
+ /*[in]*/ double X,
+ /*[out,retval]*/ double * Y ) = 0;
+};
+
+struct __declspec(uuid("f23b68da-45ed-4203-ac61-731ea2fcae84"))
+ILPoint : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX,put=PutX))
+ double X;
+ __declspec(property(get=GetY,put=PutY))
+ double Y;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX ( );
+ void PutX (
+ double val );
+ double GetY ( );
+ void PutY (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X,
+ double Y );
+ HRESULT Draw (
+ enum LPVPointShape shape,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointPtr MidPoint (
+ struct ILPoint * point );
+ double DotProduct (
+ struct ILPoint * point );
+ double Distance (
+ struct ILPoint * point );
+ double DistanceWithRefLine (
+ struct ILPoint * point,
+ struct ILLine * refLine );
+ double Collinear (
+ struct ILPoint * point1,
+ struct ILPoint * point2 );
+ ILPointPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILPointPtr Scale (
+ double factorX,
+ double factorY );
+ ILPointPtr Transform (
+ struct ILTransform * tf );
+ HRESULT FromSortable (
+ struct ILSortable * obj,
+ enum LPVPositionMode posMode );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X,
+ /*[in]*/ double Y ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ enum LPVPointShape shape,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_MidPoint (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ struct ILPoint * * result ) = 0;
+ virtual HRESULT __stdcall raw_DotProduct (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Distance (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_DistanceWithRefLine (
+ /*[in]*/ struct ILPoint * point,
+ /*[in]*/ struct ILLine * refLine,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Collinear (
+ /*[in]*/ struct ILPoint * point1,
+ /*[in]*/ struct ILPoint * point2,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILPoint * * result ) = 0;
+ virtual HRESULT __stdcall raw_Scale (
+ /*[in]*/ double factorX,
+ /*[in]*/ double factorY,
+ /*[out,retval]*/ struct ILPoint * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILPoint * * result ) = 0;
+ virtual HRESULT __stdcall raw_FromSortable (
+ /*[in]*/ struct ILSortable * obj,
+ /*[in]*/ enum LPVPositionMode posMode ) = 0;
+};
+
+struct __declspec(uuid("e1d93b22-94d6-497f-bc6d-d852436bd283"))
+ILTransform : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetMatrix,put=PutMatrix))
+ struct LMatrix33 Matrix;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ struct LMatrix33 GetMatrix ( );
+ void PutMatrix (
+ struct LMatrix33 val );
+ ILTransformPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILTransformPtr Scale (
+ double factorX,
+ double factorY );
+ ILTransformPtr Rotate (
+ double da,
+ enum LPVAxis axis );
+ ILTransformPtr Transform (
+ struct ILTransform * tf );
+ double Build (
+ struct ILPoints * srcPoints,
+ struct ILPoints * dstPoints,
+ enum LPVTransformType type );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Matrix (
+ /*[out,retval]*/ struct LMatrix33 * val ) = 0;
+ virtual HRESULT __stdcall put_Matrix (
+ /*[in]*/ struct LMatrix33 val ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILTransform * * result ) = 0;
+ virtual HRESULT __stdcall raw_Scale (
+ /*[in]*/ double factorX,
+ /*[in]*/ double factorY,
+ /*[out,retval]*/ struct ILTransform * * result ) = 0;
+ virtual HRESULT __stdcall raw_Rotate (
+ /*[in]*/ double da,
+ /*[in]*/ enum LPVAxis axis,
+ /*[out,retval]*/ struct ILTransform * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILTransform * * result ) = 0;
+ virtual HRESULT __stdcall raw_Build (
+ /*[in]*/ struct ILPoints * srcPoints,
+ /*[in]*/ struct ILPoints * dstPoints,
+ /*[in]*/ enum LPVTransformType type,
+ /*[out,retval]*/ double * mapError ) = 0;
+};
+
+struct __declspec(uuid("e8d18797-3725-4811-84c7-03536ce85e83"))
+ILPoints : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL Valid ( );
+ HRESULT Reset ( );
+ int Count ( );
+ ILPointPtr Item (
+ int index );
+ HRESULT Add (
+ double X,
+ double Y );
+ HRESULT Draw (
+ enum LPVPointShape shape,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT SetPoints (
+ SAFEARRAY * xs,
+ SAFEARRAY * ys );
+ HRESULT AddPoints (
+ struct ILPoints * points );
+ HRESULT RemovePoints (
+ double lbX,
+ double ubX,
+ double lbY,
+ double ubY );
+ HRESULT GetPoints (
+ SAFEARRAY * xs,
+ SAFEARRAY * ys );
+ ILRectPtr GetBoundingRect ( );
+ ILRectPtr GetBoundingRotRect ( );
+ ILCirclePtr GetBoundingCircle ( );
+ ILPolygonPtr GetConvexHull ( );
+ ILLinePtr FitLine (
+ double fitDistThreshold,
+ int fitCountThreshold );
+ ILCirclePtr FitCircle (
+ double fitDistThreshold,
+ int fitCountThreshold );
+ ILEllipsePtr FitEllipse ( );
+ ILPointPtr GetCenter ( );
+ SAFEARRAY * DistancesToPoint (
+ struct ILPoint * point );
+ SAFEARRAY * DistancesToLine (
+ struct ILLine * line );
+ SAFEARRAY * DistancesToPolygon (
+ struct ILPolygon * polygon,
+ SAFEARRAY * * rootPoints );
+ SAFEARRAY * DistancesToPoints (
+ struct ILPoints * points,
+ SAFEARRAY * * indexes );
+ double DistanceToPoint (
+ struct ILPoint * point,
+ enum LPVAggregation aggType );
+ double DistanceToLine (
+ struct ILLine * line,
+ enum LPVAggregation aggType );
+ double DistanceToPolygon (
+ struct ILPolygon * polygon,
+ enum LPVAggregation aggType );
+ double DistanceToPoints (
+ struct ILPoints * points,
+ enum LPVAggregation aggType );
+ ILPointsPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILPointsPtr Scale (
+ double factorX,
+ double factorY );
+ ILPointsPtr Transform (
+ struct ILTransform * tf );
+ HRESULT AddPointsInRegion (
+ struct ILRegion * region );
+ HRESULT FromSortables (
+ struct ILSortables * obj,
+ enum LPVPositionMode posMode );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * point ) = 0;
+ virtual HRESULT __stdcall raw_Add (
+ /*[in]*/ double X,
+ /*[in]*/ double Y ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ enum LPVPointShape shape,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_SetPoints (
+ /*[in]*/ SAFEARRAY * xs,
+ /*[in]*/ SAFEARRAY * ys ) = 0;
+ virtual HRESULT __stdcall raw_AddPoints (
+ /*[in]*/ struct ILPoints * points ) = 0;
+ virtual HRESULT __stdcall raw_RemovePoints (
+ /*[in]*/ double lbX,
+ /*[in]*/ double ubX,
+ /*[in]*/ double lbY,
+ /*[in]*/ double ubY ) = 0;
+ virtual HRESULT __stdcall raw_GetPoints (
+ /*[out]*/ SAFEARRAY * xs,
+ /*[out]*/ SAFEARRAY * ys ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRotRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingCircle (
+ /*[out,retval]*/ struct ILCircle * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetConvexHull (
+ /*[out,retval]*/ struct ILPolygon * * val ) = 0;
+ virtual HRESULT __stdcall raw_FitLine (
+ /*[in]*/ double fitDistThreshold,
+ /*[in]*/ int fitCountThreshold,
+ /*[out,retval]*/ struct ILLine * * val ) = 0;
+ virtual HRESULT __stdcall raw_FitCircle (
+ /*[in]*/ double fitDistThreshold,
+ /*[in]*/ int fitCountThreshold,
+ /*[out,retval]*/ struct ILCircle * * val ) = 0;
+ virtual HRESULT __stdcall raw_FitEllipse (
+ /*[out,retval]*/ struct ILEllipse * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_DistancesToPoint (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ SAFEARRAY * * vals ) = 0;
+ virtual HRESULT __stdcall raw_DistancesToLine (
+ /*[in]*/ struct ILLine * line,
+ /*[out,retval]*/ SAFEARRAY * * vals ) = 0;
+ virtual HRESULT __stdcall raw_DistancesToPolygon (
+ /*[in]*/ struct ILPolygon * polygon,
+ /*[out]*/ SAFEARRAY * * rootPoints,
+ /*[out,retval]*/ SAFEARRAY * * vals ) = 0;
+ virtual HRESULT __stdcall raw_DistancesToPoints (
+ /*[in]*/ struct ILPoints * points,
+ /*[out]*/ SAFEARRAY * * indexes,
+ /*[out,retval]*/ SAFEARRAY * * vals ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToPoint (
+ /*[in]*/ struct ILPoint * point,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToLine (
+ /*[in]*/ struct ILLine * line,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToPolygon (
+ /*[in]*/ struct ILPolygon * polygon,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToPoints (
+ /*[in]*/ struct ILPoints * points,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILPoints * * results ) = 0;
+ virtual HRESULT __stdcall raw_Scale (
+ /*[in]*/ double factorX,
+ /*[in]*/ double factorY,
+ /*[out,retval]*/ struct ILPoints * * results ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILPoints * * result ) = 0;
+ virtual HRESULT __stdcall raw_AddPointsInRegion (
+ /*[in]*/ struct ILRegion * region ) = 0;
+ virtual HRESULT __stdcall raw_FromSortables (
+ /*[in]*/ struct ILSortables * obj,
+ /*[in]*/ enum LPVPositionMode posMode ) = 0;
+};
+
+struct __declspec(uuid("cfbd782d-5cc7-48ac-b7bb-e07d3d983523"))
+ILRect : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX,put=PutX))
+ double X;
+ __declspec(property(get=GetY,put=PutY))
+ double Y;
+ __declspec(property(get=GetWidth,put=PutWidth))
+ double Width;
+ __declspec(property(get=GetHeight,put=PutHeight))
+ double Height;
+ __declspec(property(get=GetAngle,put=PutAngle))
+ double Angle;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX ( );
+ void PutX (
+ double val );
+ double GetY ( );
+ void PutY (
+ double val );
+ double GetWidth ( );
+ void PutWidth (
+ double val );
+ double GetHeight ( );
+ void PutHeight (
+ double val );
+ double GetAngle ( );
+ void PutAngle (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X,
+ double Y,
+ double w,
+ double h,
+ double a );
+ HRESULT Draw (
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILRectPtr Adjust (
+ double dtop,
+ double dbottom,
+ double dleft,
+ double dright );
+ ILPointPtr GetCenter ( );
+ ILPointPtr GetTopLeft ( );
+ ILPointPtr GetTopRight ( );
+ ILPointPtr GetBottomLeft ( );
+ ILPointPtr GetBottomRight ( );
+ ILPointsPtr GetPoints ( );
+ enum LPVPointTestResult PointTest (
+ struct ILPoint * point );
+ ILRectPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILRectPtr Transform (
+ struct ILTransform * tf );
+ ILRotRectRegionPtr ToRotRectRegion ( );
+ HRESULT FromRotRectRegion (
+ struct ILRotRectRegion * val );
+ ILRectRegionPtr ToRectRegion ( );
+ HRESULT FromRectRegion (
+ struct ILRectRegion * val );
+ double GetPerimeter ( );
+ double GetArea ( );
+ ILRectPtr GetBoundingRect ( );
+ ILLinePtr GetTop ( );
+ ILLinePtr GetBottom ( );
+ ILLinePtr GetLeft ( );
+ ILLinePtr GetRight ( );
+ ILPolygonPtr Resample (
+ int num );
+ ILPolygonPtr ResampleByStep (
+ double step,
+ double stepThreshold );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Width (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Height (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Angle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Angle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X,
+ /*[in]*/ double Y,
+ /*[in]*/ double w,
+ /*[in]*/ double h,
+ /*[in]*/ double a ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_Adjust (
+ /*[in]*/ double dtop,
+ /*[in]*/ double dbottom,
+ /*[in]*/ double dleft,
+ /*[in]*/ double dright,
+ /*[out,retval]*/ struct ILRect * * result ) = 0;
+ virtual HRESULT __stdcall raw_GetCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetTopLeft (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetTopRight (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBottomLeft (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBottomRight (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPoints (
+ /*[out,retval]*/ struct ILPoints * * val ) = 0;
+ virtual HRESULT __stdcall raw_PointTest (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ enum LPVPointTestResult * val ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILRect * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILRect * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToRotRectRegion (
+ /*[out,retval]*/ struct ILRotRectRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromRotRectRegion (
+ /*[in]*/ struct ILRotRectRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_ToRectRegion (
+ /*[out,retval]*/ struct ILRectRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromRectRegion (
+ /*[in]*/ struct ILRectRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPerimeter (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetArea (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetTop (
+ /*[out,retval]*/ struct ILLine * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBottom (
+ /*[out,retval]*/ struct ILLine * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetLeft (
+ /*[out,retval]*/ struct ILLine * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetRight (
+ /*[out,retval]*/ struct ILLine * * val ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_ResampleByStep (
+ /*[in]*/ double step,
+ /*[in]*/ double stepThreshold,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+};
+
+struct __declspec(uuid("956b9ed4-57fa-4065-b8f0-fa22b5f45204"))
+ILPolygon : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetClosed,put=PutClosed))
+ VARIANT_BOOL Closed;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL Valid ( );
+ HRESULT Reset ( );
+ int Count ( );
+ ILPointPtr Item (
+ int index );
+ HRESULT Set (
+ int index,
+ double X,
+ double Y );
+ HRESULT Draw (
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT SetPolygon (
+ SAFEARRAY * xs,
+ SAFEARRAY * ys,
+ VARIANT_BOOL isClosed );
+ HRESULT AddPoints (
+ struct ILPoints * points );
+ HRESULT RemovePoints (
+ double lbX,
+ double ubX,
+ double lbY,
+ double ubY );
+ ILPointsPtr GetPoints ( );
+ VARIANT_BOOL GetClosed ( );
+ void PutClosed (
+ VARIANT_BOOL val );
+ enum LPVPointTestResult PointTest (
+ struct ILPoint * point );
+ enum LPVIntersectType IntersectLine (
+ struct ILLine * line,
+ struct ILPoints * * intersectPoints );
+ ILCirclePtr GetInscribedCircle ( );
+ ILPointPtr GetGravityCenter ( );
+ double DistanceToPoint (
+ struct ILPoint * point,
+ enum LPVAggregation aggType,
+ struct ILPoint * * rootPoint );
+ double DistanceToPolygon (
+ struct ILPolygon * polygon,
+ enum LPVAggregation aggType,
+ struct ILPoint * * rootPoint1,
+ struct ILPoint * * rootPoint2 );
+ ILPolygonPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILPolygonPtr Transform (
+ struct ILTransform * tf );
+ ILPolyRegionPtr ToPolyRegion ( );
+ HRESULT FromPolyRegion (
+ struct ILPolyRegion * val );
+ double GetPerimeter ( );
+ double GetArea ( );
+ ILPolygonPtr Resample (
+ int num );
+ ILPolygonPtr ResampleByStep (
+ double step,
+ double stepThreshold );
+ VARIANT_BOOL IntersectPolygon (
+ struct ILPolygon * polygon,
+ struct ILPoints * * intersectPoints );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * point ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ int index,
+ /*[in]*/ double X,
+ /*[in]*/ double Y ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_SetPolygon (
+ /*[in]*/ SAFEARRAY * xs,
+ /*[in]*/ SAFEARRAY * ys,
+ /*[in]*/ VARIANT_BOOL isClosed ) = 0;
+ virtual HRESULT __stdcall raw_AddPoints (
+ /*[in]*/ struct ILPoints * points ) = 0;
+ virtual HRESULT __stdcall raw_RemovePoints (
+ /*[in]*/ double lbX,
+ /*[in]*/ double ubX,
+ /*[in]*/ double lbY,
+ /*[in]*/ double ubY ) = 0;
+ virtual HRESULT __stdcall raw_GetPoints (
+ /*[out,retval]*/ struct ILPoints * * val ) = 0;
+ virtual HRESULT __stdcall get_Closed (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_Closed (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_PointTest (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ enum LPVPointTestResult * val ) = 0;
+ virtual HRESULT __stdcall raw_IntersectLine (
+ /*[in]*/ struct ILLine * line,
+ /*[out]*/ struct ILPoints * * intersectPoints,
+ /*[out,retval]*/ enum LPVIntersectType * type ) = 0;
+ virtual HRESULT __stdcall raw_GetInscribedCircle (
+ /*[out,retval]*/ struct ILCircle * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetGravityCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToPoint (
+ /*[in]*/ struct ILPoint * point,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out]*/ struct ILPoint * * rootPoint,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_DistanceToPolygon (
+ /*[in]*/ struct ILPolygon * polygon,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out]*/ struct ILPoint * * rootPoint1,
+ /*[out]*/ struct ILPoint * * rootPoint2,
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILPolygon * * results ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToPolyRegion (
+ /*[out,retval]*/ struct ILPolyRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromPolyRegion (
+ /*[in]*/ struct ILPolyRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPerimeter (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetArea (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_ResampleByStep (
+ /*[in]*/ double step,
+ /*[in]*/ double stepThreshold,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_IntersectPolygon (
+ /*[in]*/ struct ILPolygon * polygon,
+ /*[out]*/ struct ILPoints * * intersectPoints,
+ /*[out,retval]*/ VARIANT_BOOL * result ) = 0;
+};
+
+struct __declspec(uuid("12315b29-3f8d-4f4f-bdd3-c45acf4d832b"))
+ILEllipse : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX,put=PutX))
+ double X;
+ __declspec(property(get=GetY,put=PutY))
+ double Y;
+ __declspec(property(get=GetWidth,put=PutWidth))
+ double Width;
+ __declspec(property(get=GetHeight,put=PutHeight))
+ double Height;
+ __declspec(property(get=GetAngle,put=PutAngle))
+ double Angle;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX ( );
+ void PutX (
+ double val );
+ double GetY ( );
+ void PutY (
+ double val );
+ double GetWidth ( );
+ void PutWidth (
+ double val );
+ double GetHeight ( );
+ void PutHeight (
+ double val );
+ double GetAngle ( );
+ void PutAngle (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X,
+ double Y,
+ double w,
+ double h,
+ double a );
+ HRESULT Draw (
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointPtr GetCenter ( );
+ ILPointPtr GetTop ( );
+ ILPointPtr GetBottom ( );
+ ILPointPtr GetLeft ( );
+ ILPointPtr GetRight ( );
+ ILRectPtr GetBoundingRect ( );
+ ILRectPtr GetBoundingRotRect ( );
+ ILPolygonPtr SamplingByAngle (
+ double startArcAngle,
+ double endArcAngle,
+ double stepAngle );
+ ILEllipsePtr Translate (
+ double offsetX,
+ double offsetY );
+ ILEllipsePtr Transform (
+ struct ILTransform * tf );
+ ILEllipseRegionPtr ToEllipseRegion ( );
+ HRESULT FromEllipseRegion (
+ struct ILEllipseRegion * val );
+ double GetPerimeter ( );
+ double GetArea ( );
+ ILPolygonPtr Resample (
+ int num );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Width (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Width (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Height (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Height (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Angle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Angle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X,
+ /*[in]*/ double Y,
+ /*[in]*/ double w,
+ /*[in]*/ double h,
+ /*[in]*/ double a ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetTop (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBottom (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetLeft (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetRight (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRotRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_SamplingByAngle (
+ /*[in]*/ double startArcAngle,
+ /*[in]*/ double endArcAngle,
+ /*[in]*/ double stepAngle,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILEllipse * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILEllipse * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToEllipseRegion (
+ /*[out,retval]*/ struct ILEllipseRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromEllipseRegion (
+ /*[in]*/ struct ILEllipseRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPerimeter (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetArea (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+};
+
+struct __declspec(uuid("6638b456-970d-476c-9c74-f214d5197f0c"))
+ILCircle : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX,put=PutX))
+ double X;
+ __declspec(property(get=GetY,put=PutY))
+ double Y;
+ __declspec(property(get=GetRadius,put=PutRadius))
+ double Radius;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX ( );
+ void PutX (
+ double val );
+ double GetY ( );
+ void PutY (
+ double val );
+ double GetRadius ( );
+ void PutRadius (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X,
+ double Y,
+ double r );
+ HRESULT Draw (
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointPtr GetCenter ( );
+ ILArcPtr GetArc (
+ double aStart,
+ double aEnd );
+ enum LPVPointTestResult PointTest (
+ struct ILPoint * point );
+ double Concentric (
+ struct ILCircle * circle );
+ enum LPVIntersectType IntersectLine (
+ struct ILLine * line,
+ struct ILPoints * * intersectPoints );
+ ILCirclePtr Translate (
+ double offsetX,
+ double offsetY );
+ ILCirclePtr Transform (
+ struct ILTransform * tf );
+ ILCircleRegionPtr ToCircleRegion ( );
+ ILAnnulusRegionPtr ToAnnulusRegion (
+ int inExp,
+ int outExp );
+ HRESULT FromCircleRegion (
+ struct ILCircleRegion * val );
+ HRESULT FromAnnulusRegion (
+ struct ILAnnulusRegion * val );
+ double GetPerimeter ( );
+ double GetArea ( );
+ ILPolygonPtr Resample (
+ int num );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Radius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Radius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X,
+ /*[in]*/ double Y,
+ /*[in]*/ double r ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetArc (
+ /*[in]*/ double aStart,
+ /*[in]*/ double aEnd,
+ /*[out,retval]*/ struct ILArc * * val ) = 0;
+ virtual HRESULT __stdcall raw_PointTest (
+ /*[in]*/ struct ILPoint * point,
+ /*[out,retval]*/ enum LPVPointTestResult * val ) = 0;
+ virtual HRESULT __stdcall raw_Concentric (
+ /*[in]*/ struct ILCircle * circle,
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_IntersectLine (
+ /*[in]*/ struct ILLine * line,
+ /*[out]*/ struct ILPoints * * intersectPoints,
+ /*[out,retval]*/ enum LPVIntersectType * type ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILCircle * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILCircle * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToCircleRegion (
+ /*[out,retval]*/ struct ILCircleRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_ToAnnulusRegion (
+ /*[in]*/ int inExp,
+ /*[in]*/ int outExp,
+ /*[out,retval]*/ struct ILAnnulusRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromCircleRegion (
+ /*[in]*/ struct ILCircleRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_FromAnnulusRegion (
+ /*[in]*/ struct ILAnnulusRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_GetPerimeter (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetArea (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+};
+
+struct __declspec(uuid("bd8e9711-2a32-4593-820e-aeaf53286136"))
+ILArc : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetX,put=PutX))
+ double X;
+ __declspec(property(get=GetY,put=PutY))
+ double Y;
+ __declspec(property(get=GetRadius,put=PutRadius))
+ double Radius;
+ __declspec(property(get=GetStartAngle,put=PutStartAngle))
+ double StartAngle;
+ __declspec(property(get=GetEndAngle,put=PutEndAngle))
+ double EndAngle;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetX ( );
+ void PutX (
+ double val );
+ double GetY ( );
+ void PutY (
+ double val );
+ double GetRadius ( );
+ void PutRadius (
+ double val );
+ double GetStartAngle ( );
+ void PutStartAngle (
+ double val );
+ double GetEndAngle ( );
+ void PutEndAngle (
+ double val );
+ VARIANT_BOOL Valid ( );
+ HRESULT Set (
+ double X,
+ double Y,
+ double r,
+ double aStart,
+ double aEnd );
+ HRESULT Draw (
+ VARIANT_BOOL bFill,
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointPtr GetCenter ( );
+ ILCirclePtr GetCircle ( );
+ ILPointPtr GetStartPoint ( );
+ ILPointPtr GetEndPoint ( );
+ ILRectPtr GetBoundingRect ( );
+ ILArcPtr Translate (
+ double offsetX,
+ double offsetY );
+ ILArcPtr Transform (
+ struct ILTransform * tf );
+ ILAnnulusSectorRegionPtr ToAnnulusSectorRegion (
+ int inExp,
+ int outExp );
+ HRESULT FromAnnulusSectorRegion (
+ struct ILAnnulusSectorRegion * val );
+ double GetLength ( );
+ double GetAngle ( );
+ ILPolygonPtr Resample (
+ int num );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_X (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_X (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Y (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Y (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Radius (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Radius (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StartAngle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartAngle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_EndAngle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_EndAngle (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Valid (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ double X,
+ /*[in]*/ double Y,
+ /*[in]*/ double r,
+ /*[in]*/ double aStart,
+ /*[in]*/ double aEnd ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ VARIANT_BOOL bFill,
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetCenter (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetCircle (
+ /*[out,retval]*/ struct ILCircle * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetStartPoint (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetEndPoint (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall raw_GetBoundingRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_Translate (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[out,retval]*/ struct ILArc * * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILTransform * tf,
+ /*[out,retval]*/ struct ILArc * * result ) = 0;
+ virtual HRESULT __stdcall raw_ToAnnulusSectorRegion (
+ /*[in]*/ int inExp,
+ /*[in]*/ int outExp,
+ /*[out,retval]*/ struct ILAnnulusSectorRegion * * val ) = 0;
+ virtual HRESULT __stdcall raw_FromAnnulusSectorRegion (
+ /*[in]*/ struct ILAnnulusSectorRegion * val ) = 0;
+ virtual HRESULT __stdcall raw_GetLength (
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_GetAngle (
+ /*[out,retval]*/ double * result ) = 0;
+ virtual HRESULT __stdcall raw_Resample (
+ /*[in]*/ int num,
+ /*[out,retval]*/ struct ILPolygon * * result ) = 0;
+};
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeom.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tli
new file mode 100644
index 0000000..3c38683
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeom.tli
@@ -0,0 +1,1530 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (3150dc8c).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeom.tli
+//
+// Wrapper implementations for type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILLine wrapper method implementations
+//
+
+inline double ILLine::GetX1 ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X1(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILLine::PutX1 ( double val ) {
+ HRESULT _hr = put_X1(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILLine::GetY1 ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y1(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILLine::PutY1 ( double val ) {
+ HRESULT _hr = put_Y1(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILLine::GetX2 ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X2(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILLine::PutX2 ( double val ) {
+ HRESULT _hr = put_X2(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILLine::GetY2 ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y2(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILLine::PutY2 ( double val ) {
+ HRESULT _hr = put_Y2(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILLine::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILLine::Set ( double X1, double Y1, double X2, double Y2 ) {
+ HRESULT _hr = raw_Set(X1, Y1, X2, Y2);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILLine::Set2 ( double midx, double midy, double lineAngle, double length ) {
+ HRESULT _hr = raw_Set2(midx, midy, lineAngle, length);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILLine::Draw ( void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointPtr ILLine::GetMidPoint ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetMidPoint(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline double ILLine::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::GetLength ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetLength(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVIntersectType ILLine::IntersectLine ( struct ILLine * line, struct ILPoint * * intersectPoint ) {
+ enum LPVIntersectType _result;
+ HRESULT _hr = raw_IntersectLine(line, intersectPoint, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVIntersectType ILLine::IntersectCircle ( struct ILCircle * circle, struct ILPoints * * intersectPoints ) {
+ enum LPVIntersectType _result;
+ HRESULT _hr = raw_IntersectCircle(circle, intersectPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVIntersectType ILLine::IntersectPoly ( struct ILPolygon * polygon, struct ILPoints * * intersectPoints ) {
+ enum LPVIntersectType _result;
+ HRESULT _hr = raw_IntersectPoly(polygon, intersectPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::Perpendicular ( struct ILPoint * point, struct ILPoint * * rootPoint ) {
+ double _result = 0;
+ HRESULT _hr = raw_Perpendicular(point, rootPoint, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILLinePtr ILLine::BisectLine ( struct ILLine * line ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_BisectLine(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline double ILLine::Distance ( struct ILLine * line ) {
+ double _result = 0;
+ HRESULT _hr = raw_Distance(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::AcuteAngle ( struct ILLine * line ) {
+ double _result = 0;
+ HRESULT _hr = raw_AcuteAngle(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::Parallel ( struct ILLine * line ) {
+ double _result = 0;
+ HRESULT _hr = raw_Parallel(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::AngleTo ( struct ILLine * line ) {
+ double _result = 0;
+ HRESULT _hr = raw_AngleTo(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILLinePtr ILLine::Translate ( double offsetX, double offsetY ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILLinePtr ILLine::Transform ( struct ILTransform * tf ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILRotRectRegionPtr ILLine::ToRotRectRegion ( int exp ) {
+ struct ILRotRectRegion * _result = 0;
+ HRESULT _hr = raw_ToRotRectRegion(exp, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRotRectRegionPtr(_result, false);
+}
+
+inline HRESULT ILLine::FromRotRectRegion ( struct ILRotRectRegion * val ) {
+ HRESULT _hr = raw_FromRotRectRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPolygonPtr ILLine::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILLine::ResampleByStep ( double step, double stepThreshold ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_ResampleByStep(step, stepThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline double ILLine::GetX ( double Y ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetX(Y, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILLine::GetY ( double X ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetY(X, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILPoint wrapper method implementations
+//
+
+inline double ILPoint::GetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILPoint::PutX ( double val ) {
+ HRESULT _hr = put_X(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILPoint::GetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILPoint::PutY ( double val ) {
+ HRESULT _hr = put_Y(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILPoint::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILPoint::Set ( double X, double Y ) {
+ HRESULT _hr = raw_Set(X, Y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoint::Draw ( enum LPVPointShape shape, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(shape, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointPtr ILPoint::MidPoint ( struct ILPoint * point ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_MidPoint(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline double ILPoint::DotProduct ( struct ILPoint * point ) {
+ double _result = 0;
+ HRESULT _hr = raw_DotProduct(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoint::Distance ( struct ILPoint * point ) {
+ double _result = 0;
+ HRESULT _hr = raw_Distance(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoint::DistanceWithRefLine ( struct ILPoint * point, struct ILLine * refLine ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceWithRefLine(point, refLine, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoint::Collinear ( struct ILPoint * point1, struct ILPoint * point2 ) {
+ double _result = 0;
+ HRESULT _hr = raw_Collinear(point1, point2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILPoint::Translate ( double offsetX, double offsetY ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILPoint::Scale ( double factorX, double factorY ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_Scale(factorX, factorY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILPoint::Transform ( struct ILTransform * tf ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILPoint::FromSortable ( struct ILSortable * obj, enum LPVPositionMode posMode ) {
+ HRESULT _hr = raw_FromSortable(obj, posMode);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILTransform wrapper method implementations
+//
+
+inline struct LMatrix33 ILTransform::GetMatrix ( ) {
+ struct LMatrix33 _result;
+ HRESULT _hr = get_Matrix(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILTransform::PutMatrix ( struct LMatrix33 val ) {
+ HRESULT _hr = put_Matrix(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline ILTransformPtr ILTransform::Translate ( double offsetX, double offsetY ) {
+ struct ILTransform * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILTransformPtr(_result, false);
+}
+
+inline ILTransformPtr ILTransform::Scale ( double factorX, double factorY ) {
+ struct ILTransform * _result = 0;
+ HRESULT _hr = raw_Scale(factorX, factorY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILTransformPtr(_result, false);
+}
+
+inline ILTransformPtr ILTransform::Rotate ( double da, enum LPVAxis axis ) {
+ struct ILTransform * _result = 0;
+ HRESULT _hr = raw_Rotate(da, axis, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILTransformPtr(_result, false);
+}
+
+inline ILTransformPtr ILTransform::Transform ( struct ILTransform * tf ) {
+ struct ILTransform * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILTransformPtr(_result, false);
+}
+
+inline double ILTransform::Build ( struct ILPoints * srcPoints, struct ILPoints * dstPoints, enum LPVTransformType type ) {
+ double _result = 0;
+ HRESULT _hr = raw_Build(srcPoints, dstPoints, type, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILPoints wrapper method implementations
+//
+
+inline VARIANT_BOOL ILPoints::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILPoints::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILPoints::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILPoints::Item ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILPoints::Add ( double X, double Y ) {
+ HRESULT _hr = raw_Add(X, Y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::Draw ( enum LPVPointShape shape, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(shape, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::SetPoints ( SAFEARRAY * xs, SAFEARRAY * ys ) {
+ HRESULT _hr = raw_SetPoints(xs, ys);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::AddPoints ( struct ILPoints * points ) {
+ HRESULT _hr = raw_AddPoints(points);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::RemovePoints ( double lbX, double ubX, double lbY, double ubY ) {
+ HRESULT _hr = raw_RemovePoints(lbX, ubX, lbY, ubY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::GetPoints ( SAFEARRAY * xs, SAFEARRAY * ys ) {
+ HRESULT _hr = raw_GetPoints(xs, ys);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILRectPtr ILPoints::GetBoundingRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILRectPtr ILPoints::GetBoundingRotRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRotRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILCirclePtr ILPoints::GetBoundingCircle ( ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_GetBoundingCircle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILPolygonPtr ILPoints::GetConvexHull ( ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_GetConvexHull(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILLinePtr ILPoints::FitLine ( double fitDistThreshold, int fitCountThreshold ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_FitLine(fitDistThreshold, fitCountThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILCirclePtr ILPoints::FitCircle ( double fitDistThreshold, int fitCountThreshold ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_FitCircle(fitDistThreshold, fitCountThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILEllipsePtr ILPoints::FitEllipse ( ) {
+ struct ILEllipse * _result = 0;
+ HRESULT _hr = raw_FitEllipse(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILEllipsePtr(_result, false);
+}
+
+inline ILPointPtr ILPoints::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline SAFEARRAY * ILPoints::DistancesToPoint ( struct ILPoint * point ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_DistancesToPoint(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline SAFEARRAY * ILPoints::DistancesToLine ( struct ILLine * line ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_DistancesToLine(line, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline SAFEARRAY * ILPoints::DistancesToPolygon ( struct ILPolygon * polygon, SAFEARRAY * * rootPoints ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_DistancesToPolygon(polygon, rootPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline SAFEARRAY * ILPoints::DistancesToPoints ( struct ILPoints * points, SAFEARRAY * * indexes ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_DistancesToPoints(points, indexes, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoints::DistanceToPoint ( struct ILPoint * point, enum LPVAggregation aggType ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToPoint(point, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoints::DistanceToLine ( struct ILLine * line, enum LPVAggregation aggType ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToLine(line, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoints::DistanceToPolygon ( struct ILPolygon * polygon, enum LPVAggregation aggType ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToPolygon(polygon, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPoints::DistanceToPoints ( struct ILPoints * points, enum LPVAggregation aggType ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToPoints(points, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointsPtr ILPoints::Translate ( double offsetX, double offsetY ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline ILPointsPtr ILPoints::Scale ( double factorX, double factorY ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_Scale(factorX, factorY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline ILPointsPtr ILPoints::Transform ( struct ILTransform * tf ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline HRESULT ILPoints::AddPointsInRegion ( struct ILRegion * region ) {
+ HRESULT _hr = raw_AddPointsInRegion(region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPoints::FromSortables ( struct ILSortables * obj, enum LPVPositionMode posMode ) {
+ HRESULT _hr = raw_FromSortables(obj, posMode);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILRect wrapper method implementations
+//
+
+inline double ILRect::GetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRect::PutX ( double val ) {
+ HRESULT _hr = put_X(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRect::GetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRect::PutY ( double val ) {
+ HRESULT _hr = put_Y(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRect::GetWidth ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRect::PutWidth ( double val ) {
+ HRESULT _hr = put_Width(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRect::GetHeight ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRect::PutHeight ( double val ) {
+ HRESULT _hr = put_Height(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILRect::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Angle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILRect::PutAngle ( double val ) {
+ HRESULT _hr = put_Angle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILRect::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILRect::Set ( double X, double Y, double w, double h, double a ) {
+ HRESULT _hr = raw_Set(X, Y, w, h, a);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILRect::Draw ( VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILRectPtr ILRect::Adjust ( double dtop, double dbottom, double dleft, double dright ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_Adjust(dtop, dbottom, dleft, dright, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILPointPtr ILRect::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILRect::GetTopLeft ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetTopLeft(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILRect::GetTopRight ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetTopRight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILRect::GetBottomLeft ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetBottomLeft(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILRect::GetBottomRight ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetBottomRight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointsPtr ILRect::GetPoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetPoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline enum LPVPointTestResult ILRect::PointTest ( struct ILPoint * point ) {
+ enum LPVPointTestResult _result;
+ HRESULT _hr = raw_PointTest(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILRectPtr ILRect::Translate ( double offsetX, double offsetY ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILRectPtr ILRect::Transform ( struct ILTransform * tf ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILRotRectRegionPtr ILRect::ToRotRectRegion ( ) {
+ struct ILRotRectRegion * _result = 0;
+ HRESULT _hr = raw_ToRotRectRegion(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRotRectRegionPtr(_result, false);
+}
+
+inline HRESULT ILRect::FromRotRectRegion ( struct ILRotRectRegion * val ) {
+ HRESULT _hr = raw_FromRotRectRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILRectRegionPtr ILRect::ToRectRegion ( ) {
+ struct ILRectRegion * _result = 0;
+ HRESULT _hr = raw_ToRectRegion(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectRegionPtr(_result, false);
+}
+
+inline HRESULT ILRect::FromRectRegion ( struct ILRectRegion * val ) {
+ HRESULT _hr = raw_FromRectRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILRect::GetPerimeter ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPerimeter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILRect::GetArea ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetArea(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILRectPtr ILRect::GetBoundingRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILLinePtr ILRect::GetTop ( ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_GetTop(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILLinePtr ILRect::GetBottom ( ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_GetBottom(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILLinePtr ILRect::GetLeft ( ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_GetLeft(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILLinePtr ILRect::GetRight ( ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = raw_GetRight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILPolygonPtr ILRect::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILRect::ResampleByStep ( double step, double stepThreshold ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_ResampleByStep(step, stepThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+//
+// interface ILPolygon wrapper method implementations
+//
+
+inline VARIANT_BOOL ILPolygon::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILPolygon::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILPolygon::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILPolygon::Item ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILPolygon::Set ( int index, double X, double Y ) {
+ HRESULT _hr = raw_Set(index, X, Y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolygon::Draw ( VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolygon::SetPolygon ( SAFEARRAY * xs, SAFEARRAY * ys, VARIANT_BOOL isClosed ) {
+ HRESULT _hr = raw_SetPolygon(xs, ys, isClosed);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolygon::AddPoints ( struct ILPoints * points ) {
+ HRESULT _hr = raw_AddPoints(points);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILPolygon::RemovePoints ( double lbX, double ubX, double lbY, double ubY ) {
+ HRESULT _hr = raw_RemovePoints(lbX, ubX, lbY, ubY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointsPtr ILPolygon::GetPoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetPoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline VARIANT_BOOL ILPolygon::GetClosed ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_Closed(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILPolygon::PutClosed ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_Closed(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVPointTestResult ILPolygon::PointTest ( struct ILPoint * point ) {
+ enum LPVPointTestResult _result;
+ HRESULT _hr = raw_PointTest(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVIntersectType ILPolygon::IntersectLine ( struct ILLine * line, struct ILPoints * * intersectPoints ) {
+ enum LPVIntersectType _result;
+ HRESULT _hr = raw_IntersectLine(line, intersectPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILCirclePtr ILPolygon::GetInscribedCircle ( ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_GetInscribedCircle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILPointPtr ILPolygon::GetGravityCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetGravityCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline double ILPolygon::DistanceToPoint ( struct ILPoint * point, enum LPVAggregation aggType, struct ILPoint * * rootPoint ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToPoint(point, aggType, rootPoint, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPolygon::DistanceToPolygon ( struct ILPolygon * polygon, enum LPVAggregation aggType, struct ILPoint * * rootPoint1, struct ILPoint * * rootPoint2 ) {
+ double _result = 0;
+ HRESULT _hr = raw_DistanceToPolygon(polygon, aggType, rootPoint1, rootPoint2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILPolygon::Translate ( double offsetX, double offsetY ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygon::Transform ( struct ILTransform * tf ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolyRegionPtr ILPolygon::ToPolyRegion ( ) {
+ struct ILPolyRegion * _result = 0;
+ HRESULT _hr = raw_ToPolyRegion(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolyRegionPtr(_result, false);
+}
+
+inline HRESULT ILPolygon::FromPolyRegion ( struct ILPolyRegion * val ) {
+ HRESULT _hr = raw_FromPolyRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILPolygon::GetPerimeter ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPerimeter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILPolygon::GetArea ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetArea(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILPolygon::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygon::ResampleByStep ( double step, double stepThreshold ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_ResampleByStep(step, stepThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline VARIANT_BOOL ILPolygon::IntersectPolygon ( struct ILPolygon * polygon, struct ILPoints * * intersectPoints ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IntersectPolygon(polygon, intersectPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILEllipse wrapper method implementations
+//
+
+inline double ILEllipse::GetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipse::PutX ( double val ) {
+ HRESULT _hr = put_X(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipse::GetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipse::PutY ( double val ) {
+ HRESULT _hr = put_Y(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipse::GetWidth ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Width(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipse::PutWidth ( double val ) {
+ HRESULT _hr = put_Width(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipse::GetHeight ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Height(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipse::PutHeight ( double val ) {
+ HRESULT _hr = put_Height(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILEllipse::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Angle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILEllipse::PutAngle ( double val ) {
+ HRESULT _hr = put_Angle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILEllipse::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILEllipse::Set ( double X, double Y, double w, double h, double a ) {
+ HRESULT _hr = raw_Set(X, Y, w, h, a);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILEllipse::Draw ( VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointPtr ILEllipse::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILEllipse::GetTop ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetTop(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILEllipse::GetBottom ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetBottom(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILEllipse::GetLeft ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetLeft(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILEllipse::GetRight ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetRight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILRectPtr ILEllipse::GetBoundingRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILRectPtr ILEllipse::GetBoundingRotRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRotRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILPolygonPtr ILEllipse::SamplingByAngle ( double startArcAngle, double endArcAngle, double stepAngle ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_SamplingByAngle(startArcAngle, endArcAngle, stepAngle, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILEllipsePtr ILEllipse::Translate ( double offsetX, double offsetY ) {
+ struct ILEllipse * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILEllipsePtr(_result, false);
+}
+
+inline ILEllipsePtr ILEllipse::Transform ( struct ILTransform * tf ) {
+ struct ILEllipse * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILEllipsePtr(_result, false);
+}
+
+inline ILEllipseRegionPtr ILEllipse::ToEllipseRegion ( ) {
+ struct ILEllipseRegion * _result = 0;
+ HRESULT _hr = raw_ToEllipseRegion(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILEllipseRegionPtr(_result, false);
+}
+
+inline HRESULT ILEllipse::FromEllipseRegion ( struct ILEllipseRegion * val ) {
+ HRESULT _hr = raw_FromEllipseRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILEllipse::GetPerimeter ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPerimeter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILEllipse::GetArea ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetArea(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILEllipse::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+//
+// interface ILCircle wrapper method implementations
+//
+
+inline double ILCircle::GetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircle::PutX ( double val ) {
+ HRESULT _hr = put_X(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCircle::GetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircle::PutY ( double val ) {
+ HRESULT _hr = put_Y(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCircle::GetRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Radius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCircle::PutRadius ( double val ) {
+ HRESULT _hr = put_Radius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCircle::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCircle::Set ( double X, double Y, double r ) {
+ HRESULT _hr = raw_Set(X, Y, r);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCircle::Draw ( VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointPtr ILCircle::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILArcPtr ILCircle::GetArc ( double aStart, double aEnd ) {
+ struct ILArc * _result = 0;
+ HRESULT _hr = raw_GetArc(aStart, aEnd, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILArcPtr(_result, false);
+}
+
+inline enum LPVPointTestResult ILCircle::PointTest ( struct ILPoint * point ) {
+ enum LPVPointTestResult _result;
+ HRESULT _hr = raw_PointTest(point, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILCircle::Concentric ( struct ILCircle * circle ) {
+ double _result = 0;
+ HRESULT _hr = raw_Concentric(circle, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVIntersectType ILCircle::IntersectLine ( struct ILLine * line, struct ILPoints * * intersectPoints ) {
+ enum LPVIntersectType _result;
+ HRESULT _hr = raw_IntersectLine(line, intersectPoints, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILCirclePtr ILCircle::Translate ( double offsetX, double offsetY ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILCirclePtr ILCircle::Transform ( struct ILTransform * tf ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILCircleRegionPtr ILCircle::ToCircleRegion ( ) {
+ struct ILCircleRegion * _result = 0;
+ HRESULT _hr = raw_ToCircleRegion(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCircleRegionPtr(_result, false);
+}
+
+inline ILAnnulusRegionPtr ILCircle::ToAnnulusRegion ( int inExp, int outExp ) {
+ struct ILAnnulusRegion * _result = 0;
+ HRESULT _hr = raw_ToAnnulusRegion(inExp, outExp, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILAnnulusRegionPtr(_result, false);
+}
+
+inline HRESULT ILCircle::FromCircleRegion ( struct ILCircleRegion * val ) {
+ HRESULT _hr = raw_FromCircleRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCircle::FromAnnulusRegion ( struct ILAnnulusRegion * val ) {
+ HRESULT _hr = raw_FromAnnulusRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILCircle::GetPerimeter ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetPerimeter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILCircle::GetArea ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetArea(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILCircle::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+//
+// interface ILArc wrapper method implementations
+//
+
+inline double ILArc::GetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_X(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILArc::PutX ( double val ) {
+ HRESULT _hr = put_X(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILArc::GetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Y(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILArc::PutY ( double val ) {
+ HRESULT _hr = put_Y(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILArc::GetRadius ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Radius(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILArc::PutRadius ( double val ) {
+ HRESULT _hr = put_Radius(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILArc::GetStartAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILArc::PutStartAngle ( double val ) {
+ HRESULT _hr = put_StartAngle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILArc::GetEndAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_EndAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILArc::PutEndAngle ( double val ) {
+ HRESULT _hr = put_EndAngle(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILArc::Valid ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_Valid(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILArc::Set ( double X, double Y, double r, double aStart, double aEnd ) {
+ HRESULT _hr = raw_Set(X, Y, r, aStart, aEnd);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILArc::Draw ( VARIANT_BOOL bFill, void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(bFill, hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointPtr ILArc::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILCirclePtr ILArc::GetCircle ( ) {
+ struct ILCircle * _result = 0;
+ HRESULT _hr = raw_GetCircle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCirclePtr(_result, false);
+}
+
+inline ILPointPtr ILArc::GetStartPoint ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetStartPoint(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILArc::GetEndPoint ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetEndPoint(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILRectPtr ILArc::GetBoundingRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetBoundingRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILArcPtr ILArc::Translate ( double offsetX, double offsetY ) {
+ struct ILArc * _result = 0;
+ HRESULT _hr = raw_Translate(offsetX, offsetY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILArcPtr(_result, false);
+}
+
+inline ILArcPtr ILArc::Transform ( struct ILTransform * tf ) {
+ struct ILArc * _result = 0;
+ HRESULT _hr = raw_Transform(tf, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILArcPtr(_result, false);
+}
+
+inline ILAnnulusSectorRegionPtr ILArc::ToAnnulusSectorRegion ( int inExp, int outExp ) {
+ struct ILAnnulusSectorRegion * _result = 0;
+ HRESULT _hr = raw_ToAnnulusSectorRegion(inExp, outExp, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILAnnulusSectorRegionPtr(_result, false);
+}
+
+inline HRESULT ILArc::FromAnnulusSectorRegion ( struct ILAnnulusSectorRegion * val ) {
+ HRESULT _hr = raw_FromAnnulusSectorRegion(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILArc::GetLength ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetLength(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILArc::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = raw_GetAngle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILArc::Resample ( int num ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Resample(num, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tlh
new file mode 100644
index 0000000..d596804
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tlh
@@ -0,0 +1,378 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (2abbfdff).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeomX.tlh
+//
+// C++ source equivalent of type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("02517f91-b197-4cd5-a1b5-92d1da6ca9ce"))
+/* LIBID */ __LPVGeomXLib;
+enum LPVSortedArrayDrawFlags;
+struct __declspec(uuid("18d6bce0-257a-4c4c-a8a3-c23ff1ffa7d9"))
+/* dual interface */ ILSortedArray;
+struct __declspec(uuid("e521cc81-60e4-4d70-829c-ab54ecd41671"))
+/* dual interface */ ILGeomOp;
+struct __declspec(uuid("20f82bdf-ef37-4e91-897f-6be7e74d5cbe"))
+/* dual interface */ ILSorter;
+struct __declspec(uuid("50db3b8b-dc90-4c91-8900-cef9f74ad644"))
+/* dual interface */ ILPolygonClipper;
+struct /* coclass */ LGeomOp;
+struct /* coclass */ LSorter;
+struct /* coclass */ LSortedArray;
+struct /* coclass */ LPolygonClipper;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILSortedArray, __uuidof(ILSortedArray));
+_COM_SMARTPTR_TYPEDEF(ILGeomOp, __uuidof(ILGeomOp));
+_COM_SMARTPTR_TYPEDEF(ILSorter, __uuidof(ILSorter));
+_COM_SMARTPTR_TYPEDEF(ILPolygonClipper, __uuidof(ILPolygonClipper));
+
+//
+// Type library items
+//
+
+enum LPVSortedArrayDrawFlags
+{
+ LPVSortedArrayDrawPosition = 1,
+ LPVSortedArrayDrawIndex = 2,
+ LPVSortedArrayDrawFiltered = 4,
+ LPVSortedArrayDrawMissing = 8,
+ LPVSortedArrayDrawRowLines = 16,
+ LPVSortedArrayDrawColumnLines = 32,
+ LPVSortedArrayDrawDefault = 3,
+ LPVSortedArrayDrawAll = 255
+};
+
+struct __declspec(uuid("18d6bce0-257a-4c4c-a8a3-c23ff1ffa7d9"))
+ILSortedArray : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetRowCount))
+ int RowCount;
+ __declspec(property(get=GetColumnCount))
+ int ColumnCount;
+ __declspec(property(get=GetHasItem))
+ VARIANT_BOOL HasItem[][];
+ __declspec(property(get=GetItem))
+ ILSortablePtr Item[][];
+ __declspec(property(get=GetPosition))
+ ILPointPtr Position[][];
+ __declspec(property(get=GetRowLine))
+ ILLinePtr RowLine[];
+ __declspec(property(get=GetColumnLine))
+ ILLinePtr ColumnLine[];
+ __declspec(property(get=GetAvgRowSpace))
+ double AvgRowSpace;
+ __declspec(property(get=GetAvgColumnSpace))
+ double AvgColumnSpace;
+ __declspec(property(get=GetFilteredCount))
+ int FilteredCount;
+ __declspec(property(get=GetItemFiltered))
+ ILSortablePtr ItemFiltered[];
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int GetRowCount ( );
+ int GetColumnCount ( );
+ VARIANT_BOOL GetHasItem (
+ int columnIndex,
+ int rowIndex );
+ ILSortablePtr GetItem (
+ int columnIndex,
+ int rowIndex );
+ ILPointPtr GetPosition (
+ int columnIndex,
+ int rowIndex );
+ ILLinePtr GetRowLine (
+ int rowIndex );
+ ILLinePtr GetColumnLine (
+ int columnIndex );
+ double GetAvgRowSpace ( );
+ double GetAvgColumnSpace ( );
+ HRESULT Draw (
+ void * hdc,
+ enum LPVSortedArrayDrawFlags drawFlags,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ int GetFilteredCount ( );
+ ILSortablePtr GetItemFiltered (
+ int index );
+ HRESULT Reset ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_RowCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_ColumnCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_HasItem (
+ /*[in]*/ int columnIndex,
+ /*[in]*/ int rowIndex,
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall get_Item (
+ /*[in]*/ int columnIndex,
+ /*[in]*/ int rowIndex,
+ /*[out,retval]*/ struct ILSortable * * sortable ) = 0;
+ virtual HRESULT __stdcall get_Position (
+ /*[in]*/ int columnIndex,
+ /*[in]*/ int rowIndex,
+ /*[out,retval]*/ struct ILPoint * * posPoint ) = 0;
+ virtual HRESULT __stdcall get_RowLine (
+ /*[in]*/ int rowIndex,
+ /*[out,retval]*/ struct ILLine * * RowLine ) = 0;
+ virtual HRESULT __stdcall get_ColumnLine (
+ /*[in]*/ int columnIndex,
+ /*[out,retval]*/ struct ILLine * * ColumnLine ) = 0;
+ virtual HRESULT __stdcall get_AvgRowSpace (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_AvgColumnSpace (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ enum LPVSortedArrayDrawFlags drawFlags,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall get_FilteredCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_ItemFiltered (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILSortable * * sortable ) = 0;
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+};
+
+struct __declspec(uuid("e521cc81-60e4-4d70-829c-ab54ecd41671"))
+ILGeomOp : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ ILRectPtr InnerRect (
+ struct ILImage * mask );
+ ILRectPtr InnerSquare (
+ struct ILImage * mask );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_InnerRect (
+ /*[in]*/ struct ILImage * mask,
+ /*[out,retval]*/ struct ILRect * * resultRect ) = 0;
+ virtual HRESULT __stdcall raw_InnerSquare (
+ /*[in]*/ struct ILImage * mask,
+ /*[out,retval]*/ struct ILRect * * resultSquare ) = 0;
+};
+
+struct __declspec(uuid("20f82bdf-ef37-4e91-897f-6be7e74d5cbe"))
+ILSorter : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetSource (
+ struct ILSortables * sortables );
+ HRESULT SetSource2 (
+ SAFEARRAY * sortableArray );
+ enum LPVErrorCode SortToArray (
+ enum LPVPositionMode posMode,
+ double columnSpaceAppr,
+ double rowSpaceAppr,
+ double toleranceFactor,
+ struct ILSortedArray * * sortedResult );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetSource (
+ /*[in]*/ struct ILSortables * sortables ) = 0;
+ virtual HRESULT __stdcall raw_SetSource2 (
+ /*[in]*/ SAFEARRAY * sortableArray ) = 0;
+ virtual HRESULT __stdcall raw_SortToArray (
+ /*[in]*/ enum LPVPositionMode posMode,
+ /*[in]*/ double columnSpaceAppr,
+ /*[in]*/ double rowSpaceAppr,
+ /*[in]*/ double toleranceFactor,
+ /*[out]*/ struct ILSortedArray * * sortedResult,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+};
+
+struct __declspec(uuid("50db3b8b-dc90-4c91-8900-cef9f74ad644"))
+ILPolygonClipper : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ ILPolygonPtr Smooth (
+ struct ILPolygon * poly,
+ double nbRange );
+ ILPolygonPtr SmoothIterative (
+ struct ILPolygon * poly,
+ double filterNbRng,
+ double updateNbRng,
+ int maxIterCount,
+ double stopCriteria );
+ ILPolygonPtr Simplify (
+ struct ILPolygon * poly,
+ int maxVertexes,
+ double areaThreshold,
+ double angleThreshold );
+ ILPolygonPtr SimplifyDP (
+ struct ILPolygon * poly,
+ double distThreshold );
+ ILPolygonPtr TrimCollinear (
+ struct ILPolygon * poly );
+ ILPolygonPtr Expand (
+ struct ILPolygon * poly,
+ double delta,
+ double miterLimit );
+ ILPolygonPtr Shrink (
+ struct ILPolygon * poly,
+ double delta,
+ double miterLimit );
+ SAFEARRAY * Union (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ ILPolygonPtr Union1 (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ SAFEARRAY * Subtract (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ ILPolygonPtr Subtract1 (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ SAFEARRAY * Intersect (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ ILPolygonPtr Intersect1 (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+ SAFEARRAY * XOR (
+ struct ILPolygon * poly1,
+ struct ILPolygon * poly2 );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Smooth (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ double nbRange,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_SmoothIterative (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ double filterNbRng,
+ /*[in]*/ double updateNbRng,
+ /*[in]*/ int maxIterCount,
+ /*[in]*/ double stopCriteria,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Simplify (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ int maxVertexes,
+ /*[in]*/ double areaThreshold,
+ /*[in]*/ double angleThreshold,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_SimplifyDP (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ double distThreshold,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_TrimCollinear (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Expand (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ double delta,
+ /*[in]*/ double miterLimit,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Shrink (
+ /*[in]*/ struct ILPolygon * poly,
+ /*[in]*/ double delta,
+ /*[in]*/ double miterLimit,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Union (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ SAFEARRAY * * resultPolys ) = 0;
+ virtual HRESULT __stdcall raw_Union1 (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Subtract (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ SAFEARRAY * * resultPolys ) = 0;
+ virtual HRESULT __stdcall raw_Subtract1 (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_Intersect (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ SAFEARRAY * * resultPolys ) = 0;
+ virtual HRESULT __stdcall raw_Intersect1 (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ struct ILPolygon * * resultPoly ) = 0;
+ virtual HRESULT __stdcall raw_XOR (
+ /*[in]*/ struct ILPolygon * poly1,
+ /*[in]*/ struct ILPolygon * poly2,
+ /*[out,retval]*/ SAFEARRAY * * resultPolys ) = 0;
+};
+
+struct __declspec(uuid("d35c7edc-02af-4f65-8c04-cfc4150ade69"))
+LGeomOp;
+ // [ default ] interface ILGeomOp
+
+struct __declspec(uuid("200e31b1-c00a-4530-b811-4c763235a062"))
+LSorter;
+ // [ default ] interface ILSorter
+ // interface ILSortables
+
+struct __declspec(uuid("d3568c16-e90b-4db4-8449-dd3536757a30"))
+LSortedArray;
+ // [ default ] interface ILSortedArray
+ // interface ILDrawable
+
+struct __declspec(uuid("9816d73e-b81c-435f-ab2d-67d6c7860a64"))
+LPolygonClipper;
+ // [ default ] interface ILPolygonClipper
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeomX.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tli
new file mode 100644
index 0000000..5998dd9
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvGeomX.tli
@@ -0,0 +1,244 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (2abbfdff).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvGeomX.tli
+//
+// Wrapper implementations for type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILSortedArray wrapper method implementations
+//
+
+inline int ILSortedArray::GetRowCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_RowCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILSortedArray::GetColumnCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ColumnCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILSortedArray::GetHasItem ( int columnIndex, int rowIndex ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_HasItem(columnIndex, rowIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILSortablePtr ILSortedArray::GetItem ( int columnIndex, int rowIndex ) {
+ struct ILSortable * _result = 0;
+ HRESULT _hr = get_Item(columnIndex, rowIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILSortablePtr(_result, false);
+}
+
+inline ILPointPtr ILSortedArray::GetPosition ( int columnIndex, int rowIndex ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = get_Position(columnIndex, rowIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILLinePtr ILSortedArray::GetRowLine ( int rowIndex ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = get_RowLine(rowIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline ILLinePtr ILSortedArray::GetColumnLine ( int columnIndex ) {
+ struct ILLine * _result = 0;
+ HRESULT _hr = get_ColumnLine(columnIndex, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILLinePtr(_result, false);
+}
+
+inline double ILSortedArray::GetAvgRowSpace ( ) {
+ double _result = 0;
+ HRESULT _hr = get_AvgRowSpace(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILSortedArray::GetAvgColumnSpace ( ) {
+ double _result = 0;
+ HRESULT _hr = get_AvgColumnSpace(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILSortedArray::Draw ( void * hdc, enum LPVSortedArrayDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, drawFlags, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILSortedArray::GetFilteredCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_FilteredCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILSortablePtr ILSortedArray::GetItemFiltered ( int index ) {
+ struct ILSortable * _result = 0;
+ HRESULT _hr = get_ItemFiltered(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILSortablePtr(_result, false);
+}
+
+inline HRESULT ILSortedArray::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILGeomOp wrapper method implementations
+//
+
+inline ILRectPtr ILGeomOp::InnerRect ( struct ILImage * mask ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_InnerRect(mask, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline ILRectPtr ILGeomOp::InnerSquare ( struct ILImage * mask ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_InnerSquare(mask, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+//
+// interface ILSorter wrapper method implementations
+//
+
+inline HRESULT ILSorter::SetSource ( struct ILSortables * sortables ) {
+ HRESULT _hr = raw_SetSource(sortables);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILSorter::SetSource2 ( SAFEARRAY * sortableArray ) {
+ HRESULT _hr = raw_SetSource2(sortableArray);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILSorter::SortToArray ( enum LPVPositionMode posMode, double columnSpaceAppr, double rowSpaceAppr, double toleranceFactor, struct ILSortedArray * * sortedResult ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_SortToArray(posMode, columnSpaceAppr, rowSpaceAppr, toleranceFactor, sortedResult, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILPolygonClipper wrapper method implementations
+//
+
+inline ILPolygonPtr ILPolygonClipper::Smooth ( struct ILPolygon * poly, double nbRange ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Smooth(poly, nbRange, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::SmoothIterative ( struct ILPolygon * poly, double filterNbRng, double updateNbRng, int maxIterCount, double stopCriteria ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_SmoothIterative(poly, filterNbRng, updateNbRng, maxIterCount, stopCriteria, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::Simplify ( struct ILPolygon * poly, int maxVertexes, double areaThreshold, double angleThreshold ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Simplify(poly, maxVertexes, areaThreshold, angleThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::SimplifyDP ( struct ILPolygon * poly, double distThreshold ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_SimplifyDP(poly, distThreshold, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::TrimCollinear ( struct ILPolygon * poly ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_TrimCollinear(poly, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::Expand ( struct ILPolygon * poly, double delta, double miterLimit ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Expand(poly, delta, miterLimit, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline ILPolygonPtr ILPolygonClipper::Shrink ( struct ILPolygon * poly, double delta, double miterLimit ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Shrink(poly, delta, miterLimit, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline SAFEARRAY * ILPolygonClipper::Union ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_Union(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILPolygonClipper::Union1 ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Union1(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline SAFEARRAY * ILPolygonClipper::Subtract ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_Subtract(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILPolygonClipper::Subtract1 ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Subtract1(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline SAFEARRAY * ILPolygonClipper::Intersect ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_Intersect(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPolygonPtr ILPolygonClipper::Intersect1 ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ struct ILPolygon * _result = 0;
+ HRESULT _hr = raw_Intersect1(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPolygonPtr(_result, false);
+}
+
+inline SAFEARRAY * ILPolygonClipper::XOR ( struct ILPolygon * poly1, struct ILPolygon * poly2 ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_XOR(poly1, poly2, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tlh
new file mode 100644
index 0000000..b65e471
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tlh
@@ -0,0 +1,1087 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (68946daf).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvImgProc.tlh
+//
+// C++ source equivalent of type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("29c8366a-f227-4cc4-bdbb-b32397056cf5"))
+/* LIBID */ __LPVImgProcLib;
+struct __declspec(uuid("8d2d4809-12dc-43f5-a8db-6e019f30aaf6"))
+/* dual interface */ ILImageThreshold;
+struct __declspec(uuid("eae8f218-93d3-46dc-bd33-33094226d93e"))
+/* dual interface */ ILImageFilter;
+struct __declspec(uuid("3c452435-77ac-4c17-98b0-30a89b050ef7"))
+/* dual interface */ ILImageMorph;
+struct __declspec(uuid("6b2fa65f-b23d-426a-a8c6-6605a161eee8"))
+/* dual interface */ ILEdgeFilter;
+struct __declspec(uuid("051e5237-6993-40f2-93e4-9bee5aab498d"))
+/* dual interface */ ILImageArithm;
+struct __declspec(uuid("2ff1a6a0-eefb-422e-a1f6-e0d4d7c7b548"))
+/* dual interface */ ILHistogram;
+struct __declspec(uuid("f16695d2-7be5-4643-beac-04770f17c8a0"))
+/* dual interface */ ILImageStats;
+struct __declspec(uuid("4955c40c-3bd2-40f4-90bb-d89ae0d29493"))
+/* dual interface */ ILHDR;
+struct __declspec(uuid("9a7e60dc-393b-442f-95ba-c8fc96ad4e0f"))
+/* dual interface */ ILImageConvert;
+struct __declspec(uuid("80eb7211-94e1-49ce-8d71-7587c068fc0c"))
+/* dual interface */ ILBGSubtract;
+struct /* coclass */ LImageThreshold;
+struct /* coclass */ LImageFilter;
+struct /* coclass */ LImageMorph;
+struct /* coclass */ LEdgeFilter;
+struct /* coclass */ LImageArithm;
+struct /* coclass */ LHistogram;
+struct /* coclass */ LImageStats;
+struct /* coclass */ LHDR;
+struct /* coclass */ LImageConvert;
+struct /* coclass */ LBGSubtract;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILImageThreshold, __uuidof(ILImageThreshold));
+_COM_SMARTPTR_TYPEDEF(ILImageFilter, __uuidof(ILImageFilter));
+_COM_SMARTPTR_TYPEDEF(ILImageMorph, __uuidof(ILImageMorph));
+_COM_SMARTPTR_TYPEDEF(ILEdgeFilter, __uuidof(ILEdgeFilter));
+_COM_SMARTPTR_TYPEDEF(ILImageArithm, __uuidof(ILImageArithm));
+_COM_SMARTPTR_TYPEDEF(ILHistogram, __uuidof(ILHistogram));
+_COM_SMARTPTR_TYPEDEF(ILImageStats, __uuidof(ILImageStats));
+_COM_SMARTPTR_TYPEDEF(ILHDR, __uuidof(ILHDR));
+_COM_SMARTPTR_TYPEDEF(ILImageConvert, __uuidof(ILImageConvert));
+_COM_SMARTPTR_TYPEDEF(ILBGSubtract, __uuidof(ILBGSubtract));
+
+//
+// Type library items
+//
+
+struct __declspec(uuid("8d2d4809-12dc-43f5-a8db-6e019f30aaf6"))
+ILImageThreshold : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetThresholdType))
+ enum LPVThresholdType ThresholdType;
+ __declspec(property(get=GetThresholdLB))
+ int ThresholdLB;
+ __declspec(property(get=GetThresholdUB))
+ int ThresholdUB;
+ __declspec(property(get=GetThresholdLBBias))
+ int ThresholdLBBias;
+ __declspec(property(get=GetThresholdUBBias))
+ int ThresholdUBBias;
+ __declspec(property(get=GetLocalBlockWidth))
+ int LocalBlockWidth;
+ __declspec(property(get=GetLocalBlockHeight))
+ int LocalBlockHeight;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetThreshold (
+ int lb,
+ int ub );
+ HRESULT SetThresholdAdaptGlobal (
+ int lbBias,
+ int ubBias );
+ HRESULT SetThresholdAdaptLocal (
+ int blockWidth,
+ int blockHeight,
+ int lbBias,
+ int ubBias );
+ HRESULT Binarize (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT ThresholdDistance (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Clip (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Stretch (
+ struct ILImage * img,
+ struct ILImage * result );
+ enum LPVThresholdType GetThresholdType ( );
+ int GetThresholdLB ( );
+ int GetThresholdUB ( );
+ int GetThresholdLBBias ( );
+ int GetThresholdUBBias ( );
+ int GetLocalBlockWidth ( );
+ int GetLocalBlockHeight ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetThreshold (
+ /*[in]*/ int lb,
+ /*[in]*/ int ub ) = 0;
+ virtual HRESULT __stdcall raw_SetThresholdAdaptGlobal (
+ /*[in]*/ int lbBias,
+ /*[in]*/ int ubBias ) = 0;
+ virtual HRESULT __stdcall raw_SetThresholdAdaptLocal (
+ /*[in]*/ int blockWidth,
+ /*[in]*/ int blockHeight,
+ /*[in]*/ int lbBias,
+ /*[in]*/ int ubBias ) = 0;
+ virtual HRESULT __stdcall raw_Binarize (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_ThresholdDistance (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Clip (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Stretch (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_ThresholdType (
+ /*[out,retval]*/ enum LPVThresholdType * val ) = 0;
+ virtual HRESULT __stdcall get_ThresholdLB (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_ThresholdUB (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_ThresholdLBBias (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_ThresholdUBBias (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_LocalBlockWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_LocalBlockHeight (
+ /*[out,retval]*/ int * val ) = 0;
+};
+
+struct __declspec(uuid("eae8f218-93d3-46dc-bd33-33094226d93e"))
+ILImageFilter : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetKernelWidth))
+ int KernelWidth;
+ __declspec(property(get=GetKernelHeight))
+ int KernelHeight;
+ __declspec(property(get=GetKernelSigma))
+ double KernelSigma;
+ __declspec(property(get=GetKernelGain))
+ double KernelGain;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetKernelSize (
+ int kWidth,
+ int kHeight );
+ HRESULT SetKernelSigma (
+ double kSigma,
+ double kGain );
+ HRESULT Equalize (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT HighPass (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Gaussian (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT LocalMedian (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT LocalMedianNorm (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT OpticalDensity (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT MeanFilter (
+ struct ILImage * img,
+ struct ILImage * result );
+ int GetKernelWidth ( );
+ int GetKernelHeight ( );
+ HRESULT Sharpen (
+ struct ILImage * img,
+ struct ILImage * result );
+ double GetKernelSigma ( );
+ double GetKernelGain ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetKernelSize (
+ /*[in]*/ int kWidth,
+ /*[in]*/ int kHeight ) = 0;
+ virtual HRESULT __stdcall raw_SetKernelSigma (
+ /*[in]*/ double kSigma,
+ /*[in]*/ double kGain ) = 0;
+ virtual HRESULT __stdcall raw_Equalize (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_HighPass (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Gaussian (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_LocalMedian (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_LocalMedianNorm (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_OpticalDensity (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_MeanFilter (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_KernelWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_KernelHeight (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Sharpen (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_KernelSigma (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_KernelGain (
+ /*[out,retval]*/ double * val ) = 0;
+};
+
+struct __declspec(uuid("3c452435-77ac-4c17-98b0-30a89b050ef7"))
+ILImageMorph : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetMorphShape))
+ enum LPVMorphShape MorphShape;
+ __declspec(property(get=GetMorphWidth))
+ int MorphWidth;
+ __declspec(property(get=GetMorphHeight))
+ int MorphHeight;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetMorphShape (
+ enum LPVMorphShape shape,
+ int kWidth,
+ int kHeight );
+ HRESULT BottomHat (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT TopHat (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT TopBottomHat (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Close (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Open (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Dilate (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Erode (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT Gradient (
+ struct ILImage * img,
+ struct ILImage * result );
+ enum LPVMorphShape GetMorphShape ( );
+ int GetMorphWidth ( );
+ int GetMorphHeight ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetMorphShape (
+ /*[in]*/ enum LPVMorphShape shape,
+ /*[in]*/ int kWidth,
+ /*[in]*/ int kHeight ) = 0;
+ virtual HRESULT __stdcall raw_BottomHat (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_TopHat (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_TopBottomHat (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Close (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Open (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Dilate (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Erode (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Gradient (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_MorphShape (
+ /*[out,retval]*/ enum LPVMorphShape * shape ) = 0;
+ virtual HRESULT __stdcall get_MorphWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_MorphHeight (
+ /*[out,retval]*/ int * val ) = 0;
+};
+
+struct __declspec(uuid("6b2fa65f-b23d-426a-a8c6-6605a161eee8"))
+ILEdgeFilter : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetKernelType))
+ enum LPVEdgeKernel KernelType;
+ __declspec(property(get=GetKernelWidth))
+ int KernelWidth;
+ __declspec(property(get=GetKernelHeight))
+ int KernelHeight;
+ __declspec(property(get=GetEdgePolarityX))
+ enum LPVPolarity EdgePolarityX;
+ __declspec(property(get=GetEdgePolarityY))
+ enum LPVPolarity EdgePolarityY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetEdgeKernel (
+ enum LPVEdgeKernel kType,
+ int kWidth,
+ int kHeight );
+ HRESULT SetEdgePolarity (
+ enum LPVPolarity xPolarity,
+ enum LPVPolarity yPolarity );
+ HRESULT GradientH (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT GradientV (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT GradientFull (
+ struct ILImage * img,
+ struct ILImage * result );
+ enum LPVEdgeKernel GetKernelType ( );
+ int GetKernelWidth ( );
+ int GetKernelHeight ( );
+ enum LPVPolarity GetEdgePolarityX ( );
+ enum LPVPolarity GetEdgePolarityY ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetEdgeKernel (
+ /*[in]*/ enum LPVEdgeKernel kType,
+ /*[in]*/ int kWidth,
+ /*[in]*/ int kHeight ) = 0;
+ virtual HRESULT __stdcall raw_SetEdgePolarity (
+ /*[in]*/ enum LPVPolarity xPolarity,
+ /*[in]*/ enum LPVPolarity yPolarity ) = 0;
+ virtual HRESULT __stdcall raw_GradientH (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_GradientV (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_GradientFull (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_KernelType (
+ /*[out,retval]*/ enum LPVEdgeKernel * kType ) = 0;
+ virtual HRESULT __stdcall get_KernelWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_KernelHeight (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall get_EdgePolarityX (
+ /*[out,retval]*/ enum LPVPolarity * val ) = 0;
+ virtual HRESULT __stdcall get_EdgePolarityY (
+ /*[out,retval]*/ enum LPVPolarity * val ) = 0;
+};
+
+struct __declspec(uuid("051e5237-6993-40f2-93e4-9bee5aab498d"))
+ILImageArithm : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetResultGain,put=PutResultGain))
+ double ResultGain;
+ __declspec(property(get=GetResultOffset,put=PutResultOffset))
+ double ResultOffset;
+ __declspec(property(get=GetBGColor,put=PutBGColor))
+ struct LColor BGColor;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Invert (
+ struct ILImage * img,
+ struct ILImage * result );
+ HRESULT GainOffset (
+ struct ILImage * img,
+ struct ILImage * result,
+ double gain,
+ double offset );
+ HRESULT Add (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT AddWeighted (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ double alpha,
+ double beta,
+ struct ILImage * result );
+ HRESULT Sub (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Multiply (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Divide (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Diff (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Min (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Max (
+ struct ILImage * img1,
+ struct ILImage * img2,
+ struct ILImage * result );
+ HRESULT Pow (
+ struct ILImage * img,
+ double power,
+ struct ILImage * result );
+ HRESULT Log (
+ struct ILImage * img,
+ double base,
+ struct ILImage * result );
+ HRESULT Flip (
+ struct ILImage * img,
+ enum LPVFlipType flipType,
+ struct ILImage * result );
+ HRESULT Rotate (
+ struct ILImage * img,
+ double angle,
+ enum LPVInterpolationMethod interMethod,
+ struct ILImage * result );
+ HRESULT Resize (
+ struct ILImage * img,
+ double zoomX,
+ double zoomY,
+ enum LPVInterpolationMethod interMethod,
+ struct ILImage * result );
+ HRESULT ResizeTo (
+ struct ILImage * img,
+ int w,
+ int h,
+ enum LPVInterpolationMethod interMethod,
+ struct ILImage * result );
+ HRESULT ScaleRotate (
+ struct ILImage * img,
+ double angle,
+ double zoomX,
+ double zoomY,
+ double pivotImgX,
+ double pivotImgY,
+ double pivotResultX,
+ double pivotResultY,
+ enum LPVInterpolationMethod interMethod,
+ struct ILImage * result );
+ HRESULT Transform (
+ struct ILImage * img,
+ struct ILTransform * tf,
+ enum LPVInterpolationMethod interMethod,
+ struct ILImage * result );
+ HRESULT Blend (
+ struct ILImageList * imgList,
+ enum LPVAggregation aggType,
+ struct ILImage * result );
+ SAFEARRAY * ProjectX (
+ struct ILImage * img,
+ enum LPVAggregation aggType );
+ SAFEARRAY * ProjectY (
+ struct ILImage * img,
+ enum LPVAggregation aggType );
+ double GetResultGain ( );
+ void PutResultGain (
+ double val );
+ double GetResultOffset ( );
+ void PutResultOffset (
+ double val );
+ HRESULT TileX (
+ struct ILImageList * imgList,
+ int columnCount,
+ VARIANT_BOOL compactMode,
+ struct ILImage * result );
+ HRESULT TileY (
+ struct ILImageList * imgList,
+ int rowCount,
+ VARIANT_BOOL compactMode,
+ struct ILImage * result );
+ struct LColor GetBGColor ( );
+ void PutBGColor (
+ struct LColor val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Invert (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_GainOffset (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * result,
+ /*[in]*/ double gain,
+ /*[in]*/ double offset ) = 0;
+ virtual HRESULT __stdcall raw_Add (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_AddWeighted (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[in]*/ double alpha,
+ /*[in]*/ double beta,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Sub (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Multiply (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Divide (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Diff (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Min (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Max (
+ /*[in]*/ struct ILImage * img1,
+ /*[in]*/ struct ILImage * img2,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Pow (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ double power,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Log (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ double base,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Flip (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ enum LPVFlipType flipType,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Rotate (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ double angle,
+ /*[in]*/ enum LPVInterpolationMethod interMethod,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Resize (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ enum LPVInterpolationMethod interMethod,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_ResizeTo (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ enum LPVInterpolationMethod interMethod,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_ScaleRotate (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ double angle,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double pivotImgX,
+ /*[in]*/ double pivotImgY,
+ /*[in]*/ double pivotResultX,
+ /*[in]*/ double pivotResultY,
+ /*[in]*/ enum LPVInterpolationMethod interMethod,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILTransform * tf,
+ /*[in]*/ enum LPVInterpolationMethod interMethod,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_Blend (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_ProjectX (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ SAFEARRAY * * result ) = 0;
+ virtual HRESULT __stdcall raw_ProjectY (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ enum LPVAggregation aggType,
+ /*[out,retval]*/ SAFEARRAY * * result ) = 0;
+ virtual HRESULT __stdcall get_ResultGain (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ResultGain (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ResultOffset (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ResultOffset (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_TileX (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[in]*/ int columnCount,
+ /*[in]*/ VARIANT_BOOL compactMode,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall raw_TileY (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[in]*/ int rowCount,
+ /*[in]*/ VARIANT_BOOL compactMode,
+ /*[out]*/ struct ILImage * result ) = 0;
+ virtual HRESULT __stdcall get_BGColor (
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_BGColor (
+ /*[in]*/ struct LColor val ) = 0;
+};
+
+struct __declspec(uuid("2ff1a6a0-eefb-422e-a1f6-e0d4d7c7b548"))
+ILHistogram : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Reset ( );
+ HRESULT Build (
+ struct ILImage * img,
+ struct ILRegion * region,
+ int binCount,
+ int lowerBound,
+ int upperBound );
+ double Item (
+ int index );
+ HRESULT MinMax (
+ int * minIdx,
+ double * minValue,
+ int * maxIdx,
+ double * maxValue );
+ HRESULT MeanStdDev (
+ double * meanValue,
+ double * stdDevValue );
+ HRESULT Draw (
+ void * hdc,
+ enum LPVChartDrawFlags drawFlags,
+ int xGridStep,
+ int yGridStep );
+ HRESULT BuildFromDataVec (
+ SAFEARRAY * dataVec,
+ int binCount,
+ double lowerBound,
+ double upperBound );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Build (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ int binCount,
+ /*[in]*/ int lowerBound,
+ /*[in]*/ int upperBound ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ double * value ) = 0;
+ virtual HRESULT __stdcall raw_MinMax (
+ /*[out]*/ int * minIdx,
+ /*[out]*/ double * minValue,
+ /*[out]*/ int * maxIdx,
+ /*[out]*/ double * maxValue ) = 0;
+ virtual HRESULT __stdcall raw_MeanStdDev (
+ /*[out]*/ double * meanValue,
+ /*[out]*/ double * stdDevValue ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ enum LPVChartDrawFlags drawFlags,
+ /*[in]*/ int xGridStep,
+ /*[in]*/ int yGridStep ) = 0;
+ virtual HRESULT __stdcall raw_BuildFromDataVec (
+ /*[in]*/ SAFEARRAY * dataVec,
+ /*[in]*/ int binCount,
+ /*[in]*/ double lowerBound,
+ /*[in]*/ double upperBound ) = 0;
+};
+
+struct __declspec(uuid("f16695d2-7be5-4643-beac-04770f17c8a0"))
+ILImageStats : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Min (
+ struct ILImage * img,
+ struct ILRegion * region,
+ int * value,
+ int * posX,
+ int * posY );
+ HRESULT Max (
+ struct ILImage * img,
+ struct ILRegion * region,
+ int * value,
+ int * posX,
+ int * posY );
+ HRESULT MeanStdDev (
+ struct ILImage * img,
+ struct ILRegion * region,
+ double * meanValue,
+ double * stdDevValue );
+ HRESULT CountPixel (
+ struct ILImage * img,
+ struct ILRegion * region,
+ int lb,
+ int ub,
+ int * belowCount,
+ int * betweenCount,
+ int * aboveCount );
+ HRESULT CountPixelColor (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct LColor lb,
+ struct LColor ub,
+ int * betweenCount,
+ int * outsideCount );
+ double Sharpness (
+ struct ILImage * img,
+ struct ILRegion * region );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Min (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ int * value,
+ /*[out]*/ int * posX,
+ /*[out]*/ int * posY ) = 0;
+ virtual HRESULT __stdcall raw_Max (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ int * value,
+ /*[out]*/ int * posX,
+ /*[out]*/ int * posY ) = 0;
+ virtual HRESULT __stdcall raw_MeanStdDev (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ double * meanValue,
+ /*[out]*/ double * stdDevValue ) = 0;
+ virtual HRESULT __stdcall raw_CountPixel (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ int lb,
+ /*[in]*/ int ub,
+ /*[out]*/ int * belowCount,
+ /*[out]*/ int * betweenCount,
+ /*[out]*/ int * aboveCount ) = 0;
+ virtual HRESULT __stdcall raw_CountPixelColor (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ struct LColor lb,
+ /*[in]*/ struct LColor ub,
+ /*[out]*/ int * betweenCount,
+ /*[out]*/ int * outsideCount ) = 0;
+ virtual HRESULT __stdcall raw_Sharpness (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out,retval]*/ double * value ) = 0;
+};
+
+struct __declspec(uuid("4955c40c-3bd2-40f4-90bb-d89ae0d29493"))
+ILHDR : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Reset ( );
+ enum LPVErrorCode BuildCRF (
+ struct ILImageList * imgList,
+ SAFEARRAY * exposureTimes );
+ HRESULT ToneMapping (
+ struct ILImageList * imgList,
+ struct ILImage * result,
+ double gamma,
+ double contrastEnhance,
+ double saturationEnhance );
+ HRESULT ExposureFusion (
+ struct ILImageList * imgList,
+ struct ILImage * result,
+ double contrastWeight,
+ double saturationWeight,
+ double exposureWeight );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_BuildCRF (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[in]*/ SAFEARRAY * exposureTimes,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_ToneMapping (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[out]*/ struct ILImage * result,
+ /*[in]*/ double gamma,
+ /*[in]*/ double contrastEnhance,
+ /*[in]*/ double saturationEnhance ) = 0;
+ virtual HRESULT __stdcall raw_ExposureFusion (
+ /*[in]*/ struct ILImageList * imgList,
+ /*[out]*/ struct ILImage * result,
+ /*[in]*/ double contrastWeight,
+ /*[in]*/ double saturationWeight,
+ /*[in]*/ double exposureWeight ) = 0;
+};
+
+struct __declspec(uuid("9a7e60dc-393b-442f-95ba-c8fc96ad4e0f"))
+ILImageConvert : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT BGRToGray (
+ struct ILImage * bgrImg,
+ struct ILImage * grayImg );
+ int BGRToGrayColor (
+ struct LColor bgrColor );
+ HRESULT GrayToBGR (
+ struct ILImage * grayImg,
+ struct ILImage * bgrImg );
+ struct LColor GrayToBGRColor (
+ int grayColor );
+ HRESULT Convert (
+ enum LPVColorSpace fromColorSpace,
+ enum LPVColorSpace toColorSpace,
+ struct ILImage * srcColorImg,
+ struct ILImage * dstColorImg );
+ struct LColor ConvertColor (
+ enum LPVColorSpace fromColorSpace,
+ enum LPVColorSpace toColorSpace,
+ struct LColor srcColor );
+ HRESULT BGRMix (
+ struct ILImage * bgrImg,
+ double w0,
+ double w1,
+ double w2,
+ struct ILImage * grayImg );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_BGRToGray (
+ /*[in]*/ struct ILImage * bgrImg,
+ /*[out]*/ struct ILImage * grayImg ) = 0;
+ virtual HRESULT __stdcall raw_BGRToGrayColor (
+ /*[in]*/ struct LColor bgrColor,
+ /*[out,retval]*/ int * grayColor ) = 0;
+ virtual HRESULT __stdcall raw_GrayToBGR (
+ /*[in]*/ struct ILImage * grayImg,
+ /*[out]*/ struct ILImage * bgrImg ) = 0;
+ virtual HRESULT __stdcall raw_GrayToBGRColor (
+ /*[in]*/ int grayColor,
+ /*[out,retval]*/ struct LColor * bgrColor ) = 0;
+ virtual HRESULT __stdcall raw_Convert (
+ /*[in]*/ enum LPVColorSpace fromColorSpace,
+ /*[in]*/ enum LPVColorSpace toColorSpace,
+ /*[in]*/ struct ILImage * srcColorImg,
+ /*[out]*/ struct ILImage * dstColorImg ) = 0;
+ virtual HRESULT __stdcall raw_ConvertColor (
+ /*[in]*/ enum LPVColorSpace fromColorSpace,
+ /*[in]*/ enum LPVColorSpace toColorSpace,
+ /*[in]*/ struct LColor srcColor,
+ /*[out,retval]*/ struct LColor * dstColor ) = 0;
+ virtual HRESULT __stdcall raw_BGRMix (
+ /*[in]*/ struct ILImage * bgrImg,
+ /*[in]*/ double w0,
+ /*[in]*/ double w1,
+ /*[in]*/ double w2,
+ /*[out]*/ struct ILImage * grayImg ) = 0;
+};
+
+struct __declspec(uuid("80eb7211-94e1-49ce-8d71-7587c068fc0c"))
+ILBGSubtract : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetHistoryMaxCount,put=PutHistoryMaxCount))
+ int HistoryMaxCount;
+ __declspec(property(get=GetVarianceThreshold,put=PutVarianceThreshold))
+ double VarianceThreshold;
+ __declspec(property(get=GetGenerateThreshold,put=PutGenerateThreshold))
+ double GenerateThreshold;
+ __declspec(property(get=GetLearningRate,put=PutLearningRate))
+ double LearningRate;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Reset ( );
+ int GetHistoryMaxCount ( );
+ void PutHistoryMaxCount (
+ int val );
+ double GetVarianceThreshold ( );
+ void PutVarianceThreshold (
+ double val );
+ double GetGenerateThreshold ( );
+ void PutGenerateThreshold (
+ double val );
+ double GetLearningRate ( );
+ void PutLearningRate (
+ double val );
+ enum LPVErrorCode Apply (
+ struct ILImage * img,
+ struct ILImage * fgMask,
+ VARIANT_BOOL doUpdateBGModel );
+ enum LPVErrorCode UpdateBGModel (
+ struct ILImage * img );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall get_HistoryMaxCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_HistoryMaxCount (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_VarianceThreshold (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_VarianceThreshold (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_GenerateThreshold (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_GenerateThreshold (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_LearningRate (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_LearningRate (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_Apply (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILImage * fgMask,
+ /*[in]*/ VARIANT_BOOL doUpdateBGModel,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_UpdateBGModel (
+ /*[in]*/ struct ILImage * img,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+};
+
+struct __declspec(uuid("e1a2ffe0-aa84-4837-b2f5-b6bbd7078621"))
+LImageThreshold;
+ // [ default ] interface ILImageThreshold
+
+struct __declspec(uuid("b2e6c676-1cc7-4d0a-aca9-3296f308a343"))
+LImageFilter;
+ // [ default ] interface ILImageFilter
+
+struct __declspec(uuid("04a79f01-1b8c-40ca-aef8-1738f776dd74"))
+LImageMorph;
+ // [ default ] interface ILImageMorph
+
+struct __declspec(uuid("7d2fea77-6e13-4b55-933d-44f50fa69583"))
+LEdgeFilter;
+ // [ default ] interface ILEdgeFilter
+
+struct __declspec(uuid("97ddb8e8-2edf-485e-8783-81062ebefbdd"))
+LImageArithm;
+ // [ default ] interface ILImageArithm
+
+struct __declspec(uuid("6942dc51-43ba-44d2-ac99-73d97c7db049"))
+LHistogram;
+ // [ default ] interface ILHistogram
+ // interface ILDrawable
+
+struct __declspec(uuid("e0644288-acdf-4cce-8b1c-3304ca7d00f4"))
+LImageStats;
+ // [ default ] interface ILImageStats
+
+struct __declspec(uuid("1a5ed7c4-a315-4c5f-9adc-837fbd6cdca9"))
+LHDR;
+ // [ default ] interface ILHDR
+
+struct __declspec(uuid("fcdd137e-0c3f-476c-a0f0-e351d4098f75"))
+LImageConvert;
+ // [ default ] interface ILImageConvert
+
+struct __declspec(uuid("77882fa2-31ce-4d12-a3e7-3f559763ce10"))
+LBGSubtract;
+ // [ default ] interface ILBGSubtract
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvImgProc.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tli
new file mode 100644
index 0000000..510bbf8
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvImgProc.tli
@@ -0,0 +1,761 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (68946daf).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvImgProc.tli
+//
+// Wrapper implementations for type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILImageThreshold wrapper method implementations
+//
+
+inline HRESULT ILImageThreshold::SetThreshold ( int lb, int ub ) {
+ HRESULT _hr = raw_SetThreshold(lb, ub);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::SetThresholdAdaptGlobal ( int lbBias, int ubBias ) {
+ HRESULT _hr = raw_SetThresholdAdaptGlobal(lbBias, ubBias);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::SetThresholdAdaptLocal ( int blockWidth, int blockHeight, int lbBias, int ubBias ) {
+ HRESULT _hr = raw_SetThresholdAdaptLocal(blockWidth, blockHeight, lbBias, ubBias);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::Binarize ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Binarize(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::ThresholdDistance ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_ThresholdDistance(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::Clip ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Clip(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageThreshold::Stretch ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Stretch(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVThresholdType ILImageThreshold::GetThresholdType ( ) {
+ enum LPVThresholdType _result;
+ HRESULT _hr = get_ThresholdType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetThresholdLB ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ThresholdLB(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetThresholdUB ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ThresholdUB(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetThresholdLBBias ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ThresholdLBBias(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetThresholdUBBias ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ThresholdUBBias(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetLocalBlockWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_LocalBlockWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageThreshold::GetLocalBlockHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_LocalBlockHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILImageFilter wrapper method implementations
+//
+
+inline HRESULT ILImageFilter::SetKernelSize ( int kWidth, int kHeight ) {
+ HRESULT _hr = raw_SetKernelSize(kWidth, kHeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::SetKernelSigma ( double kSigma, double kGain ) {
+ HRESULT _hr = raw_SetKernelSigma(kSigma, kGain);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::Equalize ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Equalize(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::HighPass ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_HighPass(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::Gaussian ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Gaussian(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::LocalMedian ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_LocalMedian(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::LocalMedianNorm ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_LocalMedianNorm(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::OpticalDensity ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_OpticalDensity(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageFilter::MeanFilter ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_MeanFilter(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILImageFilter::GetKernelWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageFilter::GetKernelHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImageFilter::Sharpen ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Sharpen(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILImageFilter::GetKernelSigma ( ) {
+ double _result = 0;
+ HRESULT _hr = get_KernelSigma(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILImageFilter::GetKernelGain ( ) {
+ double _result = 0;
+ HRESULT _hr = get_KernelGain(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILImageMorph wrapper method implementations
+//
+
+inline HRESULT ILImageMorph::SetMorphShape ( enum LPVMorphShape shape, int kWidth, int kHeight ) {
+ HRESULT _hr = raw_SetMorphShape(shape, kWidth, kHeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::BottomHat ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_BottomHat(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::TopHat ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_TopHat(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::TopBottomHat ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_TopBottomHat(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::Close ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Close(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::Open ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Open(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::Dilate ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Dilate(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::Erode ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Erode(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageMorph::Gradient ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Gradient(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVMorphShape ILImageMorph::GetMorphShape ( ) {
+ enum LPVMorphShape _result;
+ HRESULT _hr = get_MorphShape(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageMorph::GetMorphWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_MorphWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILImageMorph::GetMorphHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_MorphHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILEdgeFilter wrapper method implementations
+//
+
+inline HRESULT ILEdgeFilter::SetEdgeKernel ( enum LPVEdgeKernel kType, int kWidth, int kHeight ) {
+ HRESULT _hr = raw_SetEdgeKernel(kType, kWidth, kHeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILEdgeFilter::SetEdgePolarity ( enum LPVPolarity xPolarity, enum LPVPolarity yPolarity ) {
+ HRESULT _hr = raw_SetEdgePolarity(xPolarity, yPolarity);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILEdgeFilter::GradientH ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_GradientH(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILEdgeFilter::GradientV ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_GradientV(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILEdgeFilter::GradientFull ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_GradientFull(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVEdgeKernel ILEdgeFilter::GetKernelType ( ) {
+ enum LPVEdgeKernel _result;
+ HRESULT _hr = get_KernelType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILEdgeFilter::GetKernelWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILEdgeFilter::GetKernelHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVPolarity ILEdgeFilter::GetEdgePolarityX ( ) {
+ enum LPVPolarity _result;
+ HRESULT _hr = get_EdgePolarityX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVPolarity ILEdgeFilter::GetEdgePolarityY ( ) {
+ enum LPVPolarity _result;
+ HRESULT _hr = get_EdgePolarityY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILImageArithm wrapper method implementations
+//
+
+inline HRESULT ILImageArithm::Invert ( struct ILImage * img, struct ILImage * result ) {
+ HRESULT _hr = raw_Invert(img, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::GainOffset ( struct ILImage * img, struct ILImage * result, double gain, double offset ) {
+ HRESULT _hr = raw_GainOffset(img, result, gain, offset);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Add ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Add(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::AddWeighted ( struct ILImage * img1, struct ILImage * img2, double alpha, double beta, struct ILImage * result ) {
+ HRESULT _hr = raw_AddWeighted(img1, img2, alpha, beta, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Sub ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Sub(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Multiply ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Multiply(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Divide ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Divide(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Diff ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Diff(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Min ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Min(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Max ( struct ILImage * img1, struct ILImage * img2, struct ILImage * result ) {
+ HRESULT _hr = raw_Max(img1, img2, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Pow ( struct ILImage * img, double power, struct ILImage * result ) {
+ HRESULT _hr = raw_Pow(img, power, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Log ( struct ILImage * img, double base, struct ILImage * result ) {
+ HRESULT _hr = raw_Log(img, base, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Flip ( struct ILImage * img, enum LPVFlipType flipType, struct ILImage * result ) {
+ HRESULT _hr = raw_Flip(img, flipType, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Rotate ( struct ILImage * img, double angle, enum LPVInterpolationMethod interMethod, struct ILImage * result ) {
+ HRESULT _hr = raw_Rotate(img, angle, interMethod, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Resize ( struct ILImage * img, double zoomX, double zoomY, enum LPVInterpolationMethod interMethod, struct ILImage * result ) {
+ HRESULT _hr = raw_Resize(img, zoomX, zoomY, interMethod, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::ResizeTo ( struct ILImage * img, int w, int h, enum LPVInterpolationMethod interMethod, struct ILImage * result ) {
+ HRESULT _hr = raw_ResizeTo(img, w, h, interMethod, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::ScaleRotate ( struct ILImage * img, double angle, double zoomX, double zoomY, double pivotImgX, double pivotImgY, double pivotResultX, double pivotResultY, enum LPVInterpolationMethod interMethod, struct ILImage * result ) {
+ HRESULT _hr = raw_ScaleRotate(img, angle, zoomX, zoomY, pivotImgX, pivotImgY, pivotResultX, pivotResultY, interMethod, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Transform ( struct ILImage * img, struct ILTransform * tf, enum LPVInterpolationMethod interMethod, struct ILImage * result ) {
+ HRESULT _hr = raw_Transform(img, tf, interMethod, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::Blend ( struct ILImageList * imgList, enum LPVAggregation aggType, struct ILImage * result ) {
+ HRESULT _hr = raw_Blend(imgList, aggType, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline SAFEARRAY * ILImageArithm::ProjectX ( struct ILImage * img, enum LPVAggregation aggType ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_ProjectX(img, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline SAFEARRAY * ILImageArithm::ProjectY ( struct ILImage * img, enum LPVAggregation aggType ) {
+ SAFEARRAY * _result = 0;
+ HRESULT _hr = raw_ProjectY(img, aggType, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILImageArithm::GetResultGain ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ResultGain(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageArithm::PutResultGain ( double val ) {
+ HRESULT _hr = put_ResultGain(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILImageArithm::GetResultOffset ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ResultOffset(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageArithm::PutResultOffset ( double val ) {
+ HRESULT _hr = put_ResultOffset(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILImageArithm::TileX ( struct ILImageList * imgList, int columnCount, VARIANT_BOOL compactMode, struct ILImage * result ) {
+ HRESULT _hr = raw_TileX(imgList, columnCount, compactMode, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageArithm::TileY ( struct ILImageList * imgList, int rowCount, VARIANT_BOOL compactMode, struct ILImage * result ) {
+ HRESULT _hr = raw_TileY(imgList, rowCount, compactMode, result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline struct LColor ILImageArithm::GetBGColor ( ) {
+ struct LColor _result;
+ HRESULT _hr = get_BGColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILImageArithm::PutBGColor ( struct LColor val ) {
+ HRESULT _hr = put_BGColor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILHistogram wrapper method implementations
+//
+
+inline HRESULT ILHistogram::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILHistogram::Build ( struct ILImage * img, struct ILRegion * region, int binCount, int lowerBound, int upperBound ) {
+ HRESULT _hr = raw_Build(img, region, binCount, lowerBound, upperBound);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILHistogram::Item ( int index ) {
+ double _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILHistogram::MinMax ( int * minIdx, double * minValue, int * maxIdx, double * maxValue ) {
+ HRESULT _hr = raw_MinMax(minIdx, minValue, maxIdx, maxValue);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILHistogram::MeanStdDev ( double * meanValue, double * stdDevValue ) {
+ HRESULT _hr = raw_MeanStdDev(meanValue, stdDevValue);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILHistogram::Draw ( void * hdc, enum LPVChartDrawFlags drawFlags, int xGridStep, int yGridStep ) {
+ HRESULT _hr = raw_Draw(hdc, drawFlags, xGridStep, yGridStep);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILHistogram::BuildFromDataVec ( SAFEARRAY * dataVec, int binCount, double lowerBound, double upperBound ) {
+ HRESULT _hr = raw_BuildFromDataVec(dataVec, binCount, lowerBound, upperBound);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILImageStats wrapper method implementations
+//
+
+inline HRESULT ILImageStats::Min ( struct ILImage * img, struct ILRegion * region, int * value, int * posX, int * posY ) {
+ HRESULT _hr = raw_Min(img, region, value, posX, posY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageStats::Max ( struct ILImage * img, struct ILRegion * region, int * value, int * posX, int * posY ) {
+ HRESULT _hr = raw_Max(img, region, value, posX, posY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageStats::MeanStdDev ( struct ILImage * img, struct ILRegion * region, double * meanValue, double * stdDevValue ) {
+ HRESULT _hr = raw_MeanStdDev(img, region, meanValue, stdDevValue);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageStats::CountPixel ( struct ILImage * img, struct ILRegion * region, int lb, int ub, int * belowCount, int * betweenCount, int * aboveCount ) {
+ HRESULT _hr = raw_CountPixel(img, region, lb, ub, belowCount, betweenCount, aboveCount);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILImageStats::CountPixelColor ( struct ILImage * img, struct ILRegion * region, struct LColor lb, struct LColor ub, int * betweenCount, int * outsideCount ) {
+ HRESULT _hr = raw_CountPixelColor(img, region, lb, ub, betweenCount, outsideCount);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILImageStats::Sharpness ( struct ILImage * img, struct ILRegion * region ) {
+ double _result = 0;
+ HRESULT _hr = raw_Sharpness(img, region, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILHDR wrapper method implementations
+//
+
+inline HRESULT ILHDR::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILHDR::BuildCRF ( struct ILImageList * imgList, SAFEARRAY * exposureTimes ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_BuildCRF(imgList, exposureTimes, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILHDR::ToneMapping ( struct ILImageList * imgList, struct ILImage * result, double gamma, double contrastEnhance, double saturationEnhance ) {
+ HRESULT _hr = raw_ToneMapping(imgList, result, gamma, contrastEnhance, saturationEnhance);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILHDR::ExposureFusion ( struct ILImageList * imgList, struct ILImage * result, double contrastWeight, double saturationWeight, double exposureWeight ) {
+ HRESULT _hr = raw_ExposureFusion(imgList, result, contrastWeight, saturationWeight, exposureWeight);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILImageConvert wrapper method implementations
+//
+
+inline HRESULT ILImageConvert::BGRToGray ( struct ILImage * bgrImg, struct ILImage * grayImg ) {
+ HRESULT _hr = raw_BGRToGray(bgrImg, grayImg);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILImageConvert::BGRToGrayColor ( struct LColor bgrColor ) {
+ int _result = 0;
+ HRESULT _hr = raw_BGRToGrayColor(bgrColor, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImageConvert::GrayToBGR ( struct ILImage * grayImg, struct ILImage * bgrImg ) {
+ HRESULT _hr = raw_GrayToBGR(grayImg, bgrImg);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline struct LColor ILImageConvert::GrayToBGRColor ( int grayColor ) {
+ struct LColor _result;
+ HRESULT _hr = raw_GrayToBGRColor(grayColor, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImageConvert::Convert ( enum LPVColorSpace fromColorSpace, enum LPVColorSpace toColorSpace, struct ILImage * srcColorImg, struct ILImage * dstColorImg ) {
+ HRESULT _hr = raw_Convert(fromColorSpace, toColorSpace, srcColorImg, dstColorImg);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline struct LColor ILImageConvert::ConvertColor ( enum LPVColorSpace fromColorSpace, enum LPVColorSpace toColorSpace, struct LColor srcColor ) {
+ struct LColor _result;
+ HRESULT _hr = raw_ConvertColor(fromColorSpace, toColorSpace, srcColor, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILImageConvert::BGRMix ( struct ILImage * bgrImg, double w0, double w1, double w2, struct ILImage * grayImg ) {
+ HRESULT _hr = raw_BGRMix(bgrImg, w0, w1, w2, grayImg);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILBGSubtract wrapper method implementations
+//
+
+inline HRESULT ILBGSubtract::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILBGSubtract::GetHistoryMaxCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_HistoryMaxCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILBGSubtract::PutHistoryMaxCount ( int val ) {
+ HRESULT _hr = put_HistoryMaxCount(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILBGSubtract::GetVarianceThreshold ( ) {
+ double _result = 0;
+ HRESULT _hr = get_VarianceThreshold(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILBGSubtract::PutVarianceThreshold ( double val ) {
+ HRESULT _hr = put_VarianceThreshold(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILBGSubtract::GetGenerateThreshold ( ) {
+ double _result = 0;
+ HRESULT _hr = get_GenerateThreshold(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILBGSubtract::PutGenerateThreshold ( double val ) {
+ HRESULT _hr = put_GenerateThreshold(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILBGSubtract::GetLearningRate ( ) {
+ double _result = 0;
+ HRESULT _hr = get_LearningRate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILBGSubtract::PutLearningRate ( double val ) {
+ HRESULT _hr = put_LearningRate(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILBGSubtract::Apply ( struct ILImage * img, struct ILImage * fgMask, VARIANT_BOOL doUpdateBGModel ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Apply(img, fgMask, doUpdateBGModel, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILBGSubtract::UpdateBGModel ( struct ILImage * img ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_UpdateBGModel(img, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tlh b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tlh
new file mode 100644
index 0000000..e6c7525
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tlh
@@ -0,0 +1,475 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (0ab8f150).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvPat.tlh
+//
+// C++ source equivalent of type library 799860e5-cec7-4d65-9c62-a93320c0f60a
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("799860e5-cec7-4d65-9c62-a93320c0f60a"))
+/* LIBID */ __LPVPatLib;
+enum LPVPatCenterMode;
+enum LPVPatDrawFlags;
+struct __declspec(uuid("9662131d-8e5e-4d1e-84b2-e7a7efda52ee"))
+/* dual interface */ ILMatchResult;
+struct __declspec(uuid("eae77889-b063-4d78-b429-7935df7d69b3"))
+/* dual interface */ ILMatch;
+struct __declspec(uuid("9425c450-6031-443b-b70b-d32bd8593a62"))
+/* dual interface */ ILMatchResults;
+struct /* coclass */ LMatchResult;
+struct /* coclass */ LMatchResults;
+struct /* coclass */ LMatch;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILMatchResult, __uuidof(ILMatchResult));
+_COM_SMARTPTR_TYPEDEF(ILMatchResults, __uuidof(ILMatchResults));
+_COM_SMARTPTR_TYPEDEF(ILMatch, __uuidof(ILMatch));
+
+//
+// Type library items
+//
+
+enum LPVPatCenterMode
+{
+ LPVPatImageCenter = 0,
+ LPVPatTrainedCenter = 1,
+ LPVPatCustomCenter = 2
+};
+
+enum LPVPatDrawFlags
+{
+ LPVPatDrawBoundingRect = 1,
+ LPVPatDrawCenter = 2,
+ LPVPatDrawFeature = 4,
+ LPVPatDrawIndex = 8,
+ LPVPatDrawDefault = 2,
+ LPVPatDrawAll = 255
+};
+
+struct __declspec(uuid("4dc5c77a-8779-4535-8712-dad884f184a5"))
+LMatchResult;
+ // [ default ] interface ILMatchResult
+ // interface ILDrawable
+ // interface ILSortable
+
+struct __declspec(uuid("2c0fcf2c-24d0-4097-96f9-edd13229b0be"))
+LMatchResults;
+ // [ default ] interface ILMatchResults
+ // interface ILDrawable
+ // interface ILSortables
+
+struct __declspec(uuid("24419286-7ab4-4911-8471-aff2cdc9d693"))
+LMatch;
+ // [ default ] interface ILMatch
+
+struct __declspec(uuid("9662131d-8e5e-4d1e-84b2-e7a7efda52ee"))
+ILMatchResult : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetScore))
+ double Score;
+ __declspec(property(get=GetCenter))
+ ILPointPtr Center;
+ __declspec(property(get=GetAngle))
+ double Angle;
+ __declspec(property(get=GetScale))
+ double Scale;
+ __declspec(property(get=GetScaleX))
+ double ScaleX;
+ __declspec(property(get=GetScaleY))
+ double ScaleY;
+ __declspec(property(get=GetShapeScore))
+ double ShapeScore;
+ __declspec(property(get=GetGrayScore))
+ double GrayScore;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetScore ( );
+ ILPointPtr GetCenter ( );
+ double GetAngle ( );
+ double GetScale ( );
+ HRESULT Draw (
+ void * hdc,
+ enum LPVPatDrawFlags drawFlags,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILRectPtr GetRect ( );
+ HRESULT Set (
+ struct ILMatch * matchObject,
+ double patX,
+ double patY,
+ double patAngle,
+ double patScale,
+ double patScore );
+ double GetScaleX ( );
+ double GetScaleY ( );
+ double GetShapeScore ( );
+ double GetGrayScore ( );
+ ILPointsPtr GetFeature ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Score (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_Center (
+ /*[out,retval]*/ struct ILPoint * * val ) = 0;
+ virtual HRESULT __stdcall get_Angle (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_Scale (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ enum LPVPatDrawFlags drawFlags,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetRect (
+ /*[out,retval]*/ struct ILRect * * val ) = 0;
+ virtual HRESULT __stdcall raw_Set (
+ /*[in]*/ struct ILMatch * matchObject,
+ /*[in]*/ double patX,
+ /*[in]*/ double patY,
+ /*[in]*/ double patAngle,
+ /*[in]*/ double patScale,
+ /*[in]*/ double patScore ) = 0;
+ virtual HRESULT __stdcall get_ScaleX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_ScaleY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_ShapeScore (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_GrayScore (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_GetFeature (
+ /*[out,retval]*/ struct ILPoints * * featurePoints ) = 0;
+};
+
+struct __declspec(uuid("9425c450-6031-443b-b70b-d32bd8593a62"))
+ILMatchResults : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT Reset ( );
+ int Count ( );
+ ILMatchResultPtr Item (
+ int index );
+ HRESULT Draw (
+ void * hdc,
+ int index,
+ enum LPVPatDrawFlags drawFlags,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawAll (
+ void * hdc,
+ enum LPVPatDrawFlags drawFlags,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Reset ( ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILMatchResult * * result ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ int index,
+ /*[in]*/ enum LPVPatDrawFlags drawFlags,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawAll (
+ /*[in]*/ void * hdc,
+ /*[in]*/ enum LPVPatDrawFlags drawFlags,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+};
+
+struct __declspec(uuid("eae77889-b063-4d78-b429-7935df7d69b3"))
+ILMatch : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetAcceptScore,put=PutAcceptScore))
+ int AcceptScore;
+ __declspec(property(get=GetAngleTolerance,put=PutAngleTolerance))
+ int AngleTolerance;
+ __declspec(property(get=GetScaleTolerance,put=PutScaleTolerance))
+ int ScaleTolerance;
+ __declspec(property(get=GetMaxCount,put=PutMaxCount))
+ int MaxCount;
+ __declspec(property(get=GetOverlap,put=PutOverlap))
+ int Overlap;
+ __declspec(property(get=GetIgnorePolarity,put=PutIgnorePolarity))
+ VARIANT_BOOL IgnorePolarity;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetStrictScore,put=PutStrictScore))
+ VARIANT_BOOL StrictScore;
+ __declspec(property(get=GetExcludeBoundary,put=PutExcludeBoundary))
+ VARIANT_BOOL ExcludeBoundary;
+ __declspec(property(get=GetGrayValueWeight,put=PutGrayValueWeight))
+ int GrayValueWeight;
+ __declspec(property(get=GetAngleBias,put=PutAngleBias))
+ int AngleBias;
+ __declspec(property(get=GetScaleBias,put=PutScaleBias))
+ int ScaleBias;
+ __declspec(property(get=GetDetailLevel,put=PutDetailLevel))
+ double DetailLevel;
+ __declspec(property(get=GetIsotropicScale,put=PutIsotropicScale))
+ VARIANT_BOOL IsotropicScale;
+ __declspec(property(get=GetAccuracyLevel,put=PutAccuracyLevel))
+ int AccuracyLevel;
+ __declspec(property(get=GetIgnoreMissing,put=PutIgnoreMissing))
+ VARIANT_BOOL IgnoreMissing;
+ __declspec(property(get=GetMissingTolerance,put=PutMissingTolerance))
+ int MissingTolerance;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVErrorCode Learn (
+ struct ILImage * img,
+ struct ILRegion * region );
+ enum LPVErrorCode LearnWithShape (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct ILRegion * shapeRegion );
+ enum LPVErrorCode LearnWithShapeImage (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct ILImage * shapeImg );
+ VARIANT_BOOL IsLearnt ( );
+ enum LPVErrorCode Match (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct ILMatchResults * * results );
+ int GetAcceptScore ( );
+ void PutAcceptScore (
+ int val );
+ int GetAngleTolerance ( );
+ void PutAngleTolerance (
+ int val );
+ int GetAngleBias ( );
+ void PutAngleBias (
+ int val );
+ int GetScaleTolerance ( );
+ void PutScaleTolerance (
+ int val );
+ int GetScaleBias ( );
+ void PutScaleBias (
+ int val );
+ int GetMaxCount ( );
+ void PutMaxCount (
+ int val );
+ int GetOverlap ( );
+ void PutOverlap (
+ int val );
+ VARIANT_BOOL GetIgnorePolarity ( );
+ void PutIgnorePolarity (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetStrictScore ( );
+ void PutStrictScore (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetExcludeBoundary ( );
+ void PutExcludeBoundary (
+ VARIANT_BOOL val );
+ int GetGrayValueWeight ( );
+ void PutGrayValueWeight (
+ int val );
+ HRESULT SetPatCenter (
+ enum LPVPatCenterMode centerMode,
+ double patX,
+ double patY,
+ double patAngle );
+ HRESULT GetPatCenter (
+ double * patX,
+ double * patY,
+ double * patAngle );
+ enum LPVPatCenterMode GetPatCenterMode ( );
+ HRESULT GetPatImage (
+ struct ILImage * img );
+ HRESULT GetPatMask (
+ struct ILImage * mask );
+ double GetDetailLevel ( );
+ void PutDetailLevel (
+ double val );
+ VARIANT_BOOL GetIsotropicScale ( );
+ void PutIsotropicScale (
+ VARIANT_BOOL val );
+ ILPointsPtr GetPatFeature ( );
+ int GetAccuracyLevel ( );
+ void PutAccuracyLevel (
+ int val );
+ VARIANT_BOOL GetIgnoreMissing ( );
+ void PutIgnoreMissing (
+ VARIANT_BOOL val );
+ int GetMissingTolerance ( );
+ void PutMissingTolerance (
+ int val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Learn (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_LearnWithShape (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ struct ILRegion * shapeRegion,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_LearnWithShapeImage (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[in]*/ struct ILImage * shapeImg,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_IsLearnt (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Match (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ struct ILMatchResults * * results,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_AcceptScore (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_AcceptScore (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_AngleTolerance (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_AngleTolerance (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_AngleBias (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_AngleBias (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_ScaleTolerance (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleTolerance (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_ScaleBias (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleBias (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_MaxCount (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_MaxCount (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_Overlap (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_Overlap (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_IgnorePolarity (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_IgnorePolarity (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_StrictScore (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_StrictScore (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_ExcludeBoundary (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_ExcludeBoundary (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_GrayValueWeight (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_GrayValueWeight (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall raw_SetPatCenter (
+ /*[in]*/ enum LPVPatCenterMode centerMode,
+ /*[in]*/ double patX,
+ /*[in]*/ double patY,
+ /*[in]*/ double patAngle ) = 0;
+ virtual HRESULT __stdcall raw_GetPatCenter (
+ /*[out]*/ double * patX,
+ /*[out]*/ double * patY,
+ /*[out]*/ double * patAngle ) = 0;
+ virtual HRESULT __stdcall raw_GetPatCenterMode (
+ /*[out,retval]*/ enum LPVPatCenterMode * centerMode ) = 0;
+ virtual HRESULT __stdcall raw_GetPatImage (
+ /*[out]*/ struct ILImage * img ) = 0;
+ virtual HRESULT __stdcall raw_GetPatMask (
+ /*[out]*/ struct ILImage * mask ) = 0;
+ virtual HRESULT __stdcall get_DetailLevel (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_DetailLevel (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_IsotropicScale (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_IsotropicScale (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_GetPatFeature (
+ /*[out,retval]*/ struct ILPoints * * featurePoints ) = 0;
+ virtual HRESULT __stdcall get_AccuracyLevel (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_AccuracyLevel (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_IgnoreMissing (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_IgnoreMissing (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_MissingTolerance (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_MissingTolerance (
+ /*[in]*/ int val ) = 0;
+};
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvPat.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tli b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tli
new file mode 100644
index 0000000..5ad1057
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/lpvPat.tli
@@ -0,0 +1,411 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (0ab8f150).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvPat.tli
+//
+// Wrapper implementations for type library 799860e5-cec7-4d65-9c62-a93320c0f60a
+// compiler-generated file created 02/21/24 at 17:05:22 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILMatchResult wrapper method implementations
+//
+
+inline double ILMatchResult::GetScore ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Score(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILMatchResult::GetCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = get_Center(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline double ILMatchResult::GetAngle ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Angle(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILMatchResult::GetScale ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Scale(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILMatchResult::Draw ( void * hdc, enum LPVPatDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, drawFlags, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILRectPtr ILMatchResult::GetRect ( ) {
+ struct ILRect * _result = 0;
+ HRESULT _hr = raw_GetRect(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILRectPtr(_result, false);
+}
+
+inline HRESULT ILMatchResult::Set ( struct ILMatch * matchObject, double patX, double patY, double patAngle, double patScale, double patScore ) {
+ HRESULT _hr = raw_Set(matchObject, patX, patY, patAngle, patScale, patScore);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILMatchResult::GetScaleX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILMatchResult::GetScaleY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILMatchResult::GetShapeScore ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ShapeScore(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline double ILMatchResult::GetGrayScore ( ) {
+ double _result = 0;
+ HRESULT _hr = get_GrayScore(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointsPtr ILMatchResult::GetFeature ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetFeature(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+//
+// interface ILMatchResults wrapper method implementations
+//
+
+inline HRESULT ILMatchResults::Reset ( ) {
+ HRESULT _hr = raw_Reset();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILMatchResults::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILMatchResultPtr ILMatchResults::Item ( int index ) {
+ struct ILMatchResult * _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILMatchResultPtr(_result, false);
+}
+
+inline HRESULT ILMatchResults::Draw ( void * hdc, int index, enum LPVPatDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, index, drawFlags, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILMatchResults::DrawAll ( void * hdc, enum LPVPatDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawAll(hdc, drawFlags, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILMatch wrapper method implementations
+//
+
+inline enum LPVErrorCode ILMatch::Learn ( struct ILImage * img, struct ILRegion * region ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Learn(img, region, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILMatch::LearnWithShape ( struct ILImage * img, struct ILRegion * region, struct ILRegion * shapeRegion ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_LearnWithShape(img, region, shapeRegion, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILMatch::LearnWithShapeImage ( struct ILImage * img, struct ILRegion * region, struct ILImage * shapeImg ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_LearnWithShapeImage(img, region, shapeImg, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILMatch::IsLearnt ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsLearnt(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILMatch::Match ( struct ILImage * img, struct ILRegion * region, struct ILMatchResults * * results ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Match(img, region, results, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILMatch::GetAcceptScore ( ) {
+ int _result = 0;
+ HRESULT _hr = get_AcceptScore(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutAcceptScore ( int val ) {
+ HRESULT _hr = put_AcceptScore(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetAngleTolerance ( ) {
+ int _result = 0;
+ HRESULT _hr = get_AngleTolerance(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutAngleTolerance ( int val ) {
+ HRESULT _hr = put_AngleTolerance(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetAngleBias ( ) {
+ int _result = 0;
+ HRESULT _hr = get_AngleBias(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutAngleBias ( int val ) {
+ HRESULT _hr = put_AngleBias(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetScaleTolerance ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ScaleTolerance(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutScaleTolerance ( int val ) {
+ HRESULT _hr = put_ScaleTolerance(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetScaleBias ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ScaleBias(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutScaleBias ( int val ) {
+ HRESULT _hr = put_ScaleBias(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetMaxCount ( ) {
+ int _result = 0;
+ HRESULT _hr = get_MaxCount(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutMaxCount ( int val ) {
+ HRESULT _hr = put_MaxCount(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetOverlap ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Overlap(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutOverlap ( int val ) {
+ HRESULT _hr = put_Overlap(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetIgnorePolarity ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_IgnorePolarity(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutIgnorePolarity ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_IgnorePolarity(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetStrictScore ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_StrictScore(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutStrictScore ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_StrictScore(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetExcludeBoundary ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_ExcludeBoundary(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutExcludeBoundary ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_ExcludeBoundary(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetGrayValueWeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_GrayValueWeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutGrayValueWeight ( int val ) {
+ HRESULT _hr = put_GrayValueWeight(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILMatch::SetPatCenter ( enum LPVPatCenterMode centerMode, double patX, double patY, double patAngle ) {
+ HRESULT _hr = raw_SetPatCenter(centerMode, patX, patY, patAngle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILMatch::GetPatCenter ( double * patX, double * patY, double * patAngle ) {
+ HRESULT _hr = raw_GetPatCenter(patX, patY, patAngle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVPatCenterMode ILMatch::GetPatCenterMode ( ) {
+ enum LPVPatCenterMode _result;
+ HRESULT _hr = raw_GetPatCenterMode(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILMatch::GetPatImage ( struct ILImage * img ) {
+ HRESULT _hr = raw_GetPatImage(img);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILMatch::GetPatMask ( struct ILImage * mask ) {
+ HRESULT _hr = raw_GetPatMask(mask);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILMatch::GetDetailLevel ( ) {
+ double _result = 0;
+ HRESULT _hr = get_DetailLevel(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutDetailLevel ( double val ) {
+ HRESULT _hr = put_DetailLevel(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetIsotropicScale ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_IsotropicScale(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutIsotropicScale ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_IsotropicScale(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline ILPointsPtr ILMatch::GetPatFeature ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetPatFeature(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline int ILMatch::GetAccuracyLevel ( ) {
+ int _result = 0;
+ HRESULT _hr = get_AccuracyLevel(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutAccuracyLevel ( int val ) {
+ HRESULT _hr = put_AccuracyLevel(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILMatch::GetIgnoreMissing ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_IgnoreMissing(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutIgnoreMissing ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_IgnoreMissing(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILMatch::GetMissingTolerance ( ) {
+ int _result = 0;
+ HRESULT _hr = get_MissingTolerance(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILMatch::PutMissingTolerance ( int val ) {
+ HRESULT _hr = put_MissingTolerance(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/main.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/main.obj
new file mode 100644
index 0000000..0ccce17
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/main.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_ADModule.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_ADModule.obj
new file mode 100644
index 0000000..de3279a
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_ADModule.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_Camera.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_Camera.obj
new file mode 100644
index 0000000..969923a
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_Camera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CameraControl.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CameraControl.obj
new file mode 100644
index 0000000..e2f0d5e
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CameraControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CategoryMatcher.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CategoryMatcher.obj
new file mode 100644
index 0000000..0d4f5bd
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CategoryMatcher.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CodeScanStation.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CodeScanStation.obj
new file mode 100644
index 0000000..c20726f
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_CodeScanStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HeightCalculate.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HeightCalculate.obj
new file mode 100644
index 0000000..f3d6eee
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HeightCalculate.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HikCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HikCamera.obj
new file mode 100644
index 0000000..80719e4
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_HikCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_LXCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_LXCamera.obj
new file mode 100644
index 0000000..f8dd13f
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_LXCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_NetControl.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_NetControl.obj
new file mode 100644
index 0000000..754c7ea
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_NetControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_QNumTemplateBuild.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_QNumTemplateBuild.obj
new file mode 100644
index 0000000..d06a9e0
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_QNumTemplateBuild.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_SmokeBoxIdentification.obj
new file mode 100644
index 0000000..bf7e88f
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/moc_lpSerialStation.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_lpSerialStation.obj
new file mode 100644
index 0000000..df698fe
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/moc_lpSerialStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/qtvars_x64_Debug.props b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/qtvars_x64_Debug.props
new file mode 100644
index 0000000..724da5b
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/qtvars_x64_Debug.props
@@ -0,0 +1,60 @@
+
+
+_WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB
+C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc
+
+MultiThreadedDebugDLL
+-Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding
+D:\Qt\5.9.4\msvc2017_64\lib\qtmaind.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtrasd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quickd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Guid.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSocketsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qmld.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Networkd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPortd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Cored.lib
+"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
+
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/Docs/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64/include
+D:/Qt/5.9.4/msvc2017_64/lib
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/tests
+D:/Qt/5.9.4/msvc2017_64/plugins
+D:/Qt/5.9.4/msvc2017_64/imports
+D:/Qt/5.9.4/msvc2017_64/qml
+D:/Qt/5.9.4/msvc2017_64/translations
+
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/lib
+win32-msvc
+win32-msvc
+3.1
+5.9.4
+$(Qt_INCLUDEPATH_);.\GeneratedFiles\Debug;.\GeneratedFiles
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
+ bin
+ bin
+
+
+ DEFINES=/Project/ItemDefinitionGroup/ClCompile/PreprocessorDefinitions;INCLUDEPATH=/Project/ItemDefinitionGroup/ClCompile/AdditionalIncludeDirectories;STDCPP=/Project/ItemDefinitionGroup/ClCompile/LanguageStandard;RUNTIME=/Project/ItemDefinitionGroup/ClCompile/RuntimeLibrary;CL_OPTIONS=/Project/ItemDefinitionGroup/ClCompile/AdditionalOptions;LIBS=/Project/ItemDefinitionGroup/Link/AdditionalDependencies;LINK_OPTIONS=/Project/ItemDefinitionGroup/Link/AdditionalOptions
+
+ debug
+ 5.9.4
+ 5
+ 9
+ 4
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/.qmake.stash b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/.qmake.stash
new file mode 100644
index 0000000..9918984
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/.qmake.stash
@@ -0,0 +1,28 @@
+QMAKE_CXX.INCDIRS = \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\include" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\atlmfc\\include" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\VS\\include" \
+ "D:\\Windows Kits\\10\\Include\\10.0.17763.0\\ucrt" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\VS\\UnitTest\\include" \
+ "D:\\Windows Kits\\10\\Include\\10.0.17763.0\\um" \
+ "D:\\Windows Kits\\10\\Include\\10.0.17763.0\\shared" \
+ "D:\\Windows Kits\\10\\Include\\10.0.17763.0\\winrt" \
+ "D:\\Windows Kits\\10\\Include\\10.0.17763.0\\cppwinrt" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\Include\\um" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\Include\\um"
+QMAKE_CXX.LIBDIRS = \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\lib\\x64" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\atlmfc\\lib\\x64" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\VS\\lib\\x64" \
+ "D:\\Windows Kits\\10\\lib\\10.0.17763.0\\ucrt\\x64" \
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\VS\\UnitTest\\lib" \
+ "D:\\Windows Kits\\10\\lib\\10.0.17763.0\\um\\x64" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\lib\\um\\x64" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\Lib\\um\\x64"
+QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
+QMAKE_CXX.QMAKE_MSC_VER = 1916
+QMAKE_CXX.QMAKE_MSC_FULL_VER = 191627050
+QMAKE_CXX.COMPILER_MACROS = \
+ QT_COMPILER_STDCXX \
+ QMAKE_MSC_VER \
+ QMAKE_MSC_FULL_VER
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/main.qml b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/main.qml
new file mode 100644
index 0000000..9d2eeb2
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/main.qml
@@ -0,0 +1,2 @@
+import QtQuick
+DummyQmlObject { }
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/moc_predefs.h.cbt b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/moc_predefs.h.cbt
new file mode 100644
index 0000000..693383c
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/moc_predefs.h.cbt
@@ -0,0 +1 @@
+This is a dummy file needed to create ./moc_predefs.h
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/props.txt b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/props.txt
new file mode 100644
index 0000000..51266f9
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/props.txt
@@ -0,0 +1,25 @@
+QT_SYSROOT:
+QT_INSTALL_PREFIX:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_ARCHDATA:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_DATA:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_DOCS:D:/Qt/Docs/Qt-5.9.4
+QT_INSTALL_HEADERS:D:/Qt/5.9.4/msvc2017_64/include
+QT_INSTALL_LIBS:D:/Qt/5.9.4/msvc2017_64/lib
+QT_INSTALL_LIBEXECS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_INSTALL_BINS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_INSTALL_TESTS:D:/Qt/5.9.4/msvc2017_64/tests
+QT_INSTALL_PLUGINS:D:/Qt/5.9.4/msvc2017_64/plugins
+QT_INSTALL_IMPORTS:D:/Qt/5.9.4/msvc2017_64/imports
+QT_INSTALL_QML:D:/Qt/5.9.4/msvc2017_64/qml
+QT_INSTALL_TRANSLATIONS:D:/Qt/5.9.4/msvc2017_64/translations
+QT_INSTALL_CONFIGURATION:
+QT_INSTALL_EXAMPLES:D:/Qt/Examples/Qt-5.9.4
+QT_INSTALL_DEMOS:D:/Qt/Examples/Qt-5.9.4
+QT_HOST_PREFIX:D:/Qt/5.9.4/msvc2017_64
+QT_HOST_DATA:D:/Qt/5.9.4/msvc2017_64
+QT_HOST_BINS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_HOST_LIBS:D:/Qt/5.9.4/msvc2017_64/lib
+QMAKE_SPEC:win32-msvc
+QMAKE_XSPEC:win32-msvc
+QMAKE_VERSION:3.1
+QT_VERSION:5.9.4
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qml.qrc b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qml.qrc
new file mode 100644
index 0000000..5f6483a
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qml.qrc
@@ -0,0 +1,5 @@
+
+
+ main.qml
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.log b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.log
new file mode 100644
index 0000000..493597b
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.log
@@ -0,0 +1,3 @@
+Info: creating stash file C:\Users\??\AppData\Local\Temp\1ukxolji.uhk\.qmake.stash
+ϵͳÕÒ²»µ½Ö¸¶¨µÄ·¾¶¡£
+ϵͳÕÒ²»µ½Ö¸¶¨µÄ·¾¶¡£
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.pro b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.pro
new file mode 100644
index 0000000..07c40d0
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.pro
@@ -0,0 +1,6 @@
+CONFIG += no_fixpath
+QT += core network gui widgets serialport websockets winextras quickwidgets
+
+
+
+ RESOURCES += qml.qrc
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj
new file mode 100644
index 0000000..cdb26f1
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj
@@ -0,0 +1,93 @@
+
+
+
+
+ Debug
+ x64
+
+
+
+
+ qtvars
+ Qt4VSv1.0
+
+
+
+ v141
+ .\
+ false
+ NotSet
+ Application
+ qtvars
+
+
+
+
+
+
+
+
+ .\
+ qtvars
+ true
+
+
+
+ C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc;%(AdditionalIncludeDirectories)
+ -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding %(AdditionalOptions)
+ .\
+ false
+ ProgramDatabase
+ Sync
+ .\
+ Disabled
+ _WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;%(PreprocessorDefinitions)
+ false
+ MultiThreadedDebugDLL
+ true
+ true
+ TurnOffAllWarnings
+
+
+ D:\Qt\5.9.4\msvc2017_64\lib\qtmaind.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtrasd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quickd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Guid.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSocketsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qmld.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Networkd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPortd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Cored.lib;%(AdditionalDependencies)
+ D:\Qt\5.9.4\msvc2017_64\lib;C:\utils\my_sql\my_sql\lib;C:\utils\postgresql\pgsql\lib;%(AdditionalLibraryDirectories)
+ "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)
+ true
+ true
+ true
+ $(OutDir)\qtvars.exe
+ true
+ Windows
+ true
+
+
+ Unsigned
+ None
+ 0
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;_DEBUG;%(PreprocessorDefinitions)
+
+
+
+
+ Document
+ D:\Qt\5.9.4\msvc2017_64\mkspecs\features\data\dummy.cpp;%(AdditionalInputs)
+ cl -BxD:\Qt\5.9.4\msvc2017_64\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -W0 -E D:\Qt\5.9.4\msvc2017_64\mkspecs\features\data\dummy.cpp 2>NUL >moc_predefs.h
+ Generate moc_predefs.h
+ moc_predefs.h;%(Outputs)
+
+
+
+
+
+ Document
+ qml.qrc;D:\Qt\5.9.4\msvc2017_64\bin\rcc.exe;%(AdditionalInputs)
+ D:\Qt\5.9.4\msvc2017_64\bin\rcc.exe -name qml qml.qrc -o qrc_qml.cpp
+ RCC qml.qrc
+ qrc_qml.cpp;%(Outputs)
+
+
+
+
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj.filters b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj.filters
new file mode 100644
index 0000000..60c28f2
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars.vcxproj.filters
@@ -0,0 +1,27 @@
+
+
+
+
+ {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
+ cpp;c;cxx;moc;h;def;odl;idl;res;
+
+
+ {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}
+ qrc;*
+ false
+
+
+
+
+ Generated Files
+
+
+ Generated Files
+
+
+
+
+ Resource Files
+
+
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars_x64_Debug.props b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars_x64_Debug.props
new file mode 100644
index 0000000..724da5b
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qmake/temp/qtvars_x64_Debug.props
@@ -0,0 +1,60 @@
+
+
+_WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB
+C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\1ukxolji.uhk;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc
+
+MultiThreadedDebugDLL
+-Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding
+D:\Qt\5.9.4\msvc2017_64\lib\qtmaind.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgetsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtrasd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quickd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Guid.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSocketsd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qmld.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Networkd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPortd.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Cored.lib
+"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
+
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/Docs/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64/include
+D:/Qt/5.9.4/msvc2017_64/lib
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/tests
+D:/Qt/5.9.4/msvc2017_64/plugins
+D:/Qt/5.9.4/msvc2017_64/imports
+D:/Qt/5.9.4/msvc2017_64/qml
+D:/Qt/5.9.4/msvc2017_64/translations
+
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/lib
+win32-msvc
+win32-msvc
+3.1
+5.9.4
+$(Qt_INCLUDEPATH_);.\GeneratedFiles\Debug;.\GeneratedFiles
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
+ bin
+ bin
+
+
+ DEFINES=/Project/ItemDefinitionGroup/ClCompile/PreprocessorDefinitions;INCLUDEPATH=/Project/ItemDefinitionGroup/ClCompile/AdditionalIncludeDirectories;STDCPP=/Project/ItemDefinitionGroup/ClCompile/LanguageStandard;RUNTIME=/Project/ItemDefinitionGroup/ClCompile/RuntimeLibrary;CL_OPTIONS=/Project/ItemDefinitionGroup/ClCompile/AdditionalOptions;LIBS=/Project/ItemDefinitionGroup/Link/AdditionalDependencies;LINK_OPTIONS=/Project/ItemDefinitionGroup/Link/AdditionalOptions
+
+ debug
+ 5.9.4
+ 5
+ 9
+ 4
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qrc_SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Debug/qrc_SmokeBoxIdentification.obj
new file mode 100644
index 0000000..2789bfc
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/qrc_SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qt.natvis b/tpvs17/SmokeBoxIdentification/x64/Debug/qt.natvis
new file mode 100644
index 0000000..7d18567
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/qt.natvis
@@ -0,0 +1,814 @@
+
+
+
+
+
+
+ {{{data1,Xb}-{data2,Xb}-{data3,Xb}-{(data4[0]),nvoXb}{(data4[1]),nvoXb}-{(data4[2]),nvoXb}{(data4[3]),nvoXb}{(data4[4]),nvoXb}{(data4[5]),nvoXb}{(data4[6]),nvoXb}{(data4[7]),nvoXb}}}
+
+
+
+
+ {{ x = {xp}, y = {yp} }}
+
+ - xp
+ - yp
+
+
+
+
+ {{ x = {x1}, y = {y1}, width = {x2 - x1 + 1}, height = {y2 - y1 + 1} }}
+
+ - x1
+ - y1
+ - x2 - x1 + 1
+ - y2 - y1 + 1
+
+
+
+
+ {{ x = {xp}, y = {yp}, width = {w}, height = {h} }}
+
+ - xp
+ - yp
+ - w
+ - h
+
+
+
+
+
+ {{ width = {wd}, height = {ht} }}
+
+ - wd
+ - ht
+
+
+
+
+
+ {{ start point = {pt1}, end point = {pt2} }}
+
+
+ {pt1}
+
+ pt1
+
+
+
+ {pt2}
+
+ pt2
+
+
+
+
+
+
+
+ {{ size = {d->size} }}
+
+ - d->ref.atomic._q_value
+
+ d->size
+ (QPoint*)((reinterpret_cast<char*>(d)) + d->offset)
+
+
+
+
+
+ {{ size = {d->size} }}
+
+ -
+ d->size > 0
+ && ((((QPointF*)((reinterpret_cast<char*>(d)) + d->offset)[0]).xp
+ == (((QPointF*)((reinterpret_cast<char*>(d)) + d->offset)[d->size - 1]).xp)
+ && ((((QPointF*)((reinterpret_cast<char*>(d)) + d->offset)[0]).yp
+ == (((QPointF*)((reinterpret_cast<char*>(d)) + d->offset)[d->size - 1]).yp)
+
+ - d->ref.atomic._q_value
+
+ d->size
+ (QPointF*)((reinterpret_cast<char*>(d)) + d->offset)
+
+
+
+
+
+ {{ x = {xp}, y = {yp} }}
+
+ - xp
+ - yp
+
+
+
+
+ {{ x = {xp}, y = {yp}, z = {zp} }}
+
+ - xp
+ - yp
+ - zp
+
+
+
+
+ {{ x = {xp}, y = {yp}, z = {zp}, w = {wp} }}
+
+ - xp
+ - yp
+ - zp
+ - wp
+
+
+
+
+
+ {{ m11 = {_m11}, m12 = {_m12}, m21 = {_m21}, m22 = {_m22}, ... }}
+
+
+ - _m11
+ - _m12
+ - _m21
+ - _m22
+ - _dx
+ - _dy
+
+
+
+
+
+ {{ m11 = {m[0][0]}, m12 = {m[1][0]}, m13 = {m[2][0]}, m14 = {m[3][0]}, ... }}
+
+
+ - m[0][0]
+ - m[1][0]
+ - m[2][0]
+ - m[3][0]
+ - m[0][1]
+ - m[1][1]
+ - m[2][1]
+ - m[3][1]
+ - m[0][2]
+ - m[1][2]
+ - m[2][2]
+ - m[3][2]
+ - m[0][3]
+ - m[1][3]
+ - m[2][3]
+ - m[3][3]
+
+
+
+
+
+ {{ horizontal = {static_cast<Policy>(bits.horPolicy)}, vertical = {static_cast<Policy>(bits.verPolicy)}, type = {ControlType(1 << bits.ctype)} }}
+
+
+
+ QSizePolicy::Policy::{static_cast<Policy>(bits.verPolicy)}
+
+
+ QSizePolicy::Policy::{static_cast<Policy>(bits.horPolicy)}
+
+
+ QSizePolicy::ControlType::{ControlType(1 << bits.ctype)}
+
+
+
+ Qt::Vertical (2)
+
+
+ Qt::Horizontal (1)
+
+
+ - static_cast<int>(bits.verStretch)
+ - static_cast<int>(bits.horStretch)
+ - bits.hfw == 1
+ - bits.wfh == 1
+
+
+
+
+ {ucs,c}
+ ucs,c
+
+ - ucs > 0xff ? '\0' : char(ucs),c
+ - ucs,c
+
+
+
+
+ {((reinterpret_cast<unsigned short*>(d)) + d->offset / 2),sub}
+ ((reinterpret_cast<unsigned short*>(d)) + d->offset / 2),sub
+
+ - d->size
+ - d->ref.atomic._q_value
+
+ d->size
+ ((reinterpret_cast<unsigned short*>(d)) + d->offset / 2),c
+
+
+
+
+
+
+ {m_string,[m_size]} u""
+ {offset() + m_position,[m_size]}
+
+ - m_position
+ - m_size
+
+ m_size
+ offset()+m_position
+
+
+
+
+
+ {m_data,[m_size]}
+ m_data,[m_size]
+
+ - m_size
+
+ m_size
+ m_data
+
+
+
+
+
+ {((reinterpret_cast<char*>(d)) + d->offset),sb}
+ ((reinterpret_cast<char*>(d)) + d->offset),sb
+
+ - d->size
+ - d->ref.atomic._q_value
+
+ d->size
+ ((reinterpret_cast<char*>(d)) + d->offset),c
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {scheme()}://{host()}{path()}
+ {path()}
+
+ - scheme()
+ - username()
+ - password()
+ - host()
+ - path()
+ - query()
+ - fragment()
+
+
+
+
+ {{ size = {(d.d->size << 3) - *((reinterpret_cast<char*>(d.d)) + d.d->offset)} }}
+
+ - d.d->ref.atomic._q_value
+
+ (d.d->size << 3) - *((reinterpret_cast<char*>(d.d)) + d.d->offset)
+
+ (*(reinterpret_cast<const unsigned char*>((reinterpret_cast<char*>(d.d)) + d.d->offset) + 1
+ + ($i >> 3)) & (1 << ($i & 7))) != 0
+
+
+
+
+
+
+
+ {{ size = {s} }}
+
+ - a
+
+ s
+ ptr
+
+
+
+
+
+ {{ julian day = {jd} }}
+
+
+
+
+ {{ millisecond = {mds} }}
+ {{ milliseconds = {mds} }}
+
+ - mds / 3600000, d
+ - mds / 3600000, d
+ - (mds % 3600000) / 60000, d
+ - (mds % 3600000) / 60000, d
+ - (mds / 1000) % 60, d
+ - (mds / 1000) % 60, d
+ - mds % 1000, d
+ - mds % 1000, d
+
+
+
+
+ {d.pattern}
+
+
+
+
+ - ref._q_value
+
+
+
+
+ strong reference to shared pointer of type {"$T1"}
+
+ - value == 0
+ - d->weakref._q_value
+ - d->strongref._q_value
+
+
+
+
+ pointer to implicit shared object of type {"$T1"}
+
+ d
+
+
+
+
+ pointer to explicit shared object of type {"$T1"}
+
+ d
+
+
+
+
+ guarded pointer to subclass of QObject of type {"$T1"}
+
+ - wp.d == 0 || wp.d->strongref._q_value == 0 || wp.value == 0
+
+
+
+
+ weak reference to shared pointer of type {"$T1"}
+
+ - d == 0 || d->strongref._q_value == 0 || value == 0
+ - d->weakref._q_value
+ - d->strongref._q_value
+
+
+
+
+ scoped pointer to a dynamically allocated object of type {"$T1"}
+
+ - !d
+
+
+
+
+ scoped pointer to dynamically allocated array of objects of type {"$T1"}
+
+ - !d
+
+
+
+
+ ({first}, {second})
+
+ - first
+ - second
+
+
+
+
+
+ {{ size = {d->size} }}
+
+ - d->ref.atomic._q_value
+
+ d->size
+ ($T1*)((reinterpret_cast<char*>(d)) + d->offset)
+
+
+
+
+
+
+ {{ size = {d->end - d->begin} }}
+
+ - d->ref.atomic._q_value
+
+ d->end - d->begin
+ *reinterpret_cast<$T1*>((sizeof($T1) > sizeof(void*))
+ ? reinterpret_cast<Node*>(d->array + d->begin + $i)->v
+ : reinterpret_cast<$T1*>(d->array + d->begin + $i))
+
+
+
+
+
+
+ {{ size = {d->end - d->begin} }}
+
+ - d->ref.atomic._q_value
+
+ d->end - d->begin
+
+ *reinterpret_cast<QString*>((sizeof(QString) > sizeof(void*))
+ ? reinterpret_cast<Node*>(d->array + d->begin + $i)->v
+ : reinterpret_cast<QString*>(d->array + d->begin + $i))
+
+
+
+
+
+
+ {{ size = {d->end - d->begin} }}
+
+ - d->ref.atomic._q_value
+
+ d->end - d->begin
+
+ *reinterpret_cast<QVariant*>((sizeof(QVariant) > sizeof(void*))
+ ? reinterpret_cast<Node*>(d->array + d->begin + $i)->v
+ : reinterpret_cast<QVariant*>(d->array + d->begin + $i))
+
+
+
+
+
+
+ {{ size = {d->size} }}
+
+ - d->ref.atomic._q_value
+
+ d->size
+ d->n
+ n
+ (*(QLinkedListNode<$T1>*)this).t
+
+
+
+
+
+ ({key}, {value})
+
+ - key
+ - value
+
+
+
+
+
+ {{ size = {d->size} }}
+
+ - d->ref.atomic._q_value
+
+ d->size
+ d->header.left
+ left
+ right
+ *((QMapNode<$T1,$T2>*)this)
+
+
+
+
+
+ (empty)
+ ({key}, {value})
+
+ - key
+ - value
+ - next
+
+
+
+
+
+ {{ size = {d->size} }}
+
+
+ d->numBuckets
+ reinterpret_cast<Node **>(d->buckets)
+
+
+
+
+
+
+ d->size
+
+
+ node = *(bucket++)
+ --n
+
+
+ keyValuePair = reinterpret_cast<Node *>(node)
+ - keyValuePair->value
+ node = node->next
+
+
+
+
+
+
+
+ (empty)
+ ({key})
+
+ - key
+
+
+
+
+ {{ size = {q_hash.d->size} }}
+
+ q_hash
+
+
+
+
+ ({*keyPtr}, {*t})
+
+ - *keyPtr
+ - *t
+
+
+
+
+ {{ size = {hash.d->size} }}
+
+ - mx
+ - total
+ - hash.d->ref.atomic._q_value
+
+ hash.d->size
+ f
+ n
+ *((Node*)this)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row count = {(*d_ptr.d).rows()}, column count = {(*d_ptr.d).columns()} }}
+
+ - d_ptr.d,!
+ - (*d_ptr.d).rows()
+ - (*d_ptr.d).columns()
+
+
+
+
+
+
+ Invalid
+ {d.data.b}
+ {d.data.i}
+ {d.data.u}
+ {d.data.ll}
+ {d.data.ull}
+ {d.data.d}
+ {d.data.c}
+
+ {*((QMap<QString,QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QList<QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QString*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QStringList*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QByteArray*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QBitArray*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QDate*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QTime*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+ DateTime
+ Url
+ Locale
+
+ {*((QRect*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QRectF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QSize*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QSizeF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QLine*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QLineF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QPoint*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+
+ {*((QPointF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+ RegExp
+ RegularExpression
+
+ {*((QHash<QString,QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))}
+
+ EasingCurve
+ Uuid
+ ModelIndex
+ LastCoreType
+ Font
+ Pixmap
+ Brush
+ Color
+ Palette
+ Image
+ Polygon
+ Region
+ Bitmap
+ Cursor
+ KeySequence
+ Pen
+ TextLength
+ TextFormat
+ Matrix
+ Transform
+ Matrix4x4
+ Vector2D
+ Vector3D
+ Vector4D
+ Quaternion
+ PolygonF
+ Icon
+ LastGuiType
+ SizePolicy
+ UserType
+ LastType
+
+
+
+
+
+ d.data.c
+
+
+ *((QString*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+
+ *((QByteArray*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+
+
+
+
+
+
+ *((QMap<QString,QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QList<QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QString*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QStringList*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QByteArray*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QBitArray*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QDate*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QTime*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QRect*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QRectF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QSize*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QSizeF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QLine*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QLineF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QPoint*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QPointF*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+ *((QHash<QString,QVariant>*)(d.is_shared ? d.data.shared->ptr
+ : reinterpret_cast<const void *>(&d.data.ptr)))
+
+
+
+
+
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/qt_work.log b/tpvs17/SmokeBoxIdentification/x64/Debug/qt_work.log
new file mode 100644
index 0000000..4956803
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/qt_work.log differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/smokeBoxd.Build.CppClean.log b/tpvs17/SmokeBoxIdentification/x64/Debug/smokeBoxd.Build.CppClean.log
new file mode 100644
index 0000000..5c7b584
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Debug/smokeBoxd.Build.CppClean.log
@@ -0,0 +1,84 @@
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\vc141.pdb
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokeboxidentification.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\qnumtemplatebuild.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\netcontrol.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\main.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lxcamera.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpserialstation.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\hikcamera.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\heightcalculate.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\log.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\codescanstation.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\categorymatcher.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\cameracontrol.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\admodule.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_hikcamera.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_lpserialstation.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_netcontrol.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_smokeboxidentification.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_qnumtemplatebuild.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_lxcamera.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_heightcalculate.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_codescanstation.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_categorymatcher.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_cameracontrol.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_camera.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\moc_admodule.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\qrc_smokeboxidentification.obj
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_admodule.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_camera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_cameracontrol.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_categorymatcher.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_codescanstation.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_heightcalculate.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_lxcamera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_qnumtemplatebuild.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_smokeboxidentification.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_netcontrol.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_lpserialstation.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\debug\moc_hikcamera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\qrc_smokeboxidentification.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\ui_qnumtemplatebuild.h
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\ui_smokeboxidentification.h
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\qrc_smokeboxidentification.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_admodule.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_camera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_cameracontrol.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_categorymatcher.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_codescanstation.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_heightcalculate.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_lxcamera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_qnumtemplatebuild.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_smokeboxidentification.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_netcontrol.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_lpserialstation.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\generatedfiles\debug\moc_hikcamera.cpp
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\ui_qnumtemplatebuild.h
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\.\generatedfiles\ui_smokeboxidentification.h
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvcalib.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvcore.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvdisplay.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvgeom.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvgeomx.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvimgproc.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvpat.tli
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvcalib.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvcore.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvdisplay.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvgeom.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvgeomx.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvimgproc.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\lpvpat.tlh
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\cl.command.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\cl.read.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\cl.write.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\link.command.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\link.read.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\link.write.1.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\moc.read.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\moc.write.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\rcc.read.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\rcc.write.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\smokeboxidentification.write.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\uic.read.1u.tlog
+d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\debug\smokebox.b12702ad.tlog\uic.write.1u.tlog
diff --git a/tpvs17/SmokeBoxIdentification/x64/Debug/vc141.pdb b/tpvs17/SmokeBoxIdentification/x64/Debug/vc141.pdb
new file mode 100644
index 0000000..bae30d6
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Debug/vc141.pdb differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/ADModule.obj b/tpvs17/SmokeBoxIdentification/x64/Release/ADModule.obj
index 2108603..61b0120 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/ADModule.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/ADModule.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/CameraControl.obj b/tpvs17/SmokeBoxIdentification/x64/Release/CameraControl.obj
index 3af715d..4292df1 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/CameraControl.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/CameraControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/CategoryMatcher.obj b/tpvs17/SmokeBoxIdentification/x64/Release/CategoryMatcher.obj
index 7039b2e..6b42b16 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/CategoryMatcher.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/CategoryMatcher.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/CodeScanStation.obj b/tpvs17/SmokeBoxIdentification/x64/Release/CodeScanStation.obj
index 27c51fd..8f414f5 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/CodeScanStation.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/CodeScanStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/HeightCalculate.obj b/tpvs17/SmokeBoxIdentification/x64/Release/HeightCalculate.obj
new file mode 100644
index 0000000..a0f5775
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Release/HeightCalculate.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/HikCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Release/HikCamera.obj
index 2f8b057..8b9f2d9 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/HikCamera.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/HikCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/LXCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Release/LXCamera.obj
new file mode 100644
index 0000000..dcf9ca8
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Release/LXCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/NetControl.obj b/tpvs17/SmokeBoxIdentification/x64/Release/NetControl.obj
index 8d848aa..f4e8496 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/NetControl.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/NetControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/QNumTemplateBuild.obj b/tpvs17/SmokeBoxIdentification/x64/Release/QNumTemplateBuild.obj
index 7980f1e..682eff2 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/QNumTemplateBuild.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/QNumTemplateBuild.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.command.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.command.1.tlog
index bc20306..687b752 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.command.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.command.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.read.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.read.1.tlog
index d19aa8b..7c86cab 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.read.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.read.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.write.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.write.1.tlog
index 4abba46..32bf907 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.write.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/CL.write.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/Cl.items.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/Cl.items.tlog
new file mode 100644
index 0000000..5eb82ab
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/Cl.items.tlog
@@ -0,0 +1,22 @@
+D:\git\hzleaper\smokebox\src\ADModule.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\ADModule.obj
+D:\git\hzleaper\smokebox\src\CameraControl.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\CameraControl.obj
+D:\git\hzleaper\smokebox\src\CategoryMatcher.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\CategoryMatcher.obj
+D:\git\hzleaper\smokebox\src\CodeScanStation.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\CodeScanStation.obj
+D:\git\hzleaper\smokebox\src\common\log.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\log.obj
+D:\git\hzleaper\smokebox\src\HikCamera.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\HikCamera.obj
+D:\git\hzleaper\smokebox\src\lpSerialStation.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\lpSerialStation.obj
+D:\git\hzleaper\smokebox\src\main.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\main.obj
+D:\git\hzleaper\smokebox\src\NetControl.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\NetControl.obj
+D:\git\hzleaper\smokebox\src\QNumTemplateBuild.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\QNumTemplateBuild.obj
+D:\git\hzleaper\smokebox\src\SmokeBoxIdentification.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\SmokeBoxIdentification.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\qrc_SmokeBoxIdentification.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\qrc_SmokeBoxIdentification.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_ADModule.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_ADModule.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_Camera.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_Camera.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_CameraControl.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_CameraControl.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_CategoryMatcher.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_CategoryMatcher.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_CodeScanStation.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_CodeScanStation.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_QNumTemplateBuild.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_QNumTemplateBuild.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_SmokeBoxIdentification.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_SmokeBoxIdentification.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_NetControl.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_NetControl.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_lpSerialStation.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_lpSerialStation.obj
+D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\GeneratedFiles\Release\moc_HikCamera.cpp;D:\git\hzleaper\smokebox\tpvs17\SmokeBoxIdentification\x64\Release\moc_HikCamera.obj
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate
index 3cc01b2..2f92ca6 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.lastbuildstate
@@ -1,2 +1,2 @@
-#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
-Release|x64|D:\Code\Logistics\smokeboxidentification\tpvs17\|
+#TargetFrameworkVersion=:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Release|x64|D:\git\hzleaper\smokebox\tpvs17\|
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog
index efa4f27..4f9b301 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/SmokeBoxIdentification.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.command.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.command.1.tlog
index b71078c..ecfe40b 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.command.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.command.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.read.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.read.1.tlog
index 2cb2a20..7f94e0c 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.read.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.read.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.write.1.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.write.1.tlog
index a84f7b3..95c56e8 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.write.1.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/link.write.1.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.read.1u.tlog
index 67bebc4..66cccb1 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.read.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.write.1u.tlog
index c886018..aea460e 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.write.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/moc.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog
index 49c0067..027909f 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog
index e008cd0..a44944f 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/rcc.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.read.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.read.1u.tlog
index 9296390..db2affa 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.read.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.read.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.write.1u.tlog b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.write.1u.tlog
index 9597645..ccb1092 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.write.1u.tlog and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBox.B12702AD.tlog/uic.write.1u.tlog differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.log b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.log
index a8d19e2..894871a 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.log
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.log
@@ -1,6 +1,6 @@
 ADModule.cpp
-d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
CameraControl.cpp
CategoryMatcher.cpp
CodeScanStation.cpp
@@ -8,31 +8,31 @@ d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.
HikCamera.cpp
lpSerialStation.cpp
main.cpp
-d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
NetControl.cpp
QNumTemplateBuild.cpp
-d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\common\commondefine.h(25): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
SmokeBoxIdentification.cpp
-d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
æ£åœ¨ç”Ÿæˆä»£ç ...
-d:\code\logistics\smokeboxidentification\src\smokeboxidentification.cpp(655): warning C4715: “::operator()â€: 䏿˜¯æ‰€æœ‰çš„æŽ§ä»¶è·¯å¾„都返回值
+d:\git\hzleaper\smokebox\src\smokeboxidentification.cpp(655): warning C4715: “::operator()â€: 䏿˜¯æ‰€æœ‰çš„æŽ§ä»¶è·¯å¾„都返回值
qrc_SmokeBoxIdentification.cpp
moc_ADModule.cpp
-d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
moc_Camera.cpp
moc_CameraControl.cpp
moc_CategoryMatcher.cpp
moc_CodeScanStation.cpp
moc_QNumTemplateBuild.cpp
-d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\common\commondefine.h(25): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
moc_SmokeBoxIdentification.cpp
-d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
- d:\code\logistics\smokeboxidentification\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.h(17): warning C4005: “TYPE_TEMPLATE_PATHâ€: å®é‡å®šä¹‰
+ d:\git\hzleaper\smokebox\src\common\commondefine.h(25): note: å‚è§â€œTYPE_TEMPLATE_PATHâ€çš„å‰ä¸€ä¸ªå®šä¹‰
moc_NetControl.cpp
moc_lpSerialStation.cpp
moc_HikCamera.cpp
@@ -41,4 +41,4 @@ d:\code\logistics\smokeboxidentification\src\numstatisticalgo\datapreprocessing.
æ£åœ¨ç”Ÿæˆä»£ç
e:\code\smokeboxidentification\src\numstatisticalgo\datapreprocessing.cpp(947): warning C4715: “::operator()â€: 䏿˜¯æ‰€æœ‰çš„æŽ§ä»¶è·¯å¾„都返回值
已完æˆä»£ç 的生æˆ
- SmokeBoxIdentification.vcxproj -> D:\Code\Logistics\smokeboxidentification\tpvs17\..\runner17\Release\smokeBox.exe
+ SmokeBoxIdentification.vcxproj -> D:\git\hzleaper\smokebox\tpvs17\..\runner17\Release\smokeBox.exe
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.obj
index ef4e98d..1e0248a 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/log.obj b/tpvs17/SmokeBoxIdentification/x64/Release/log.obj
index 1bc3cbe..e8eda36 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/log.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/log.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpSerialStation.obj b/tpvs17/SmokeBoxIdentification/x64/Release/lpSerialStation.obj
index 82ffeed..7c7d5fc 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/lpSerialStation.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/lpSerialStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tlh
new file mode 100644
index 0000000..7143f43
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tlh
@@ -0,0 +1,1103 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (6a538ac1).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCalib.tlh
+//
+// C++ source equivalent of type library faa32948-bf4e-4482-9216-70412f34bb66
+// compiler-generated file created 02/21/24 at 11:50:39 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("faa32948-bf4e-4482-9216-70412f34bb66"))
+/* LIBID */ __LPVCalibLib;
+enum LPVFixImageMode;
+enum LPVDistortionModel;
+enum LPVCalibBoardType;
+enum LPVCalibModel;
+struct __declspec(uuid("7ec2dc7f-abf3-428f-ac9e-46ef7f73d150"))
+/* dual interface */ ILCalib;
+struct __declspec(uuid("7bcf71ba-f0da-4525-8e36-699662d5ad62"))
+/* dual interface */ ILCalibPointPairs;
+struct __declspec(uuid("123c56da-0e02-4149-89e7-50201429643b"))
+/* dual interface */ ILCalibNPoints;
+struct __declspec(uuid("07fcc5a5-0ed9-4347-a74f-562256704225"))
+/* dual interface */ ILCalibPinHole;
+struct __declspec(uuid("ca9b5f85-b867-4f08-a464-7b33e88de4d0"))
+/* dual interface */ ILCalibFFD;
+struct __declspec(uuid("91998f82-0bb9-40f4-a9e7-83c09c13c50c"))
+/* dual interface */ ILCalibCustom;
+struct __declspec(uuid("0301dbd7-7b19-4477-af7b-960bc1605750"))
+/* dual interface */ ILCalibBoard;
+struct __declspec(uuid("e84620c2-bc84-4ffe-b234-85dc5285ded8"))
+/* dual interface */ ILCalibRotation;
+struct __declspec(uuid("d53587b5-0d36-47ce-874b-381ea3b37c50"))
+/* dual interface */ ILCameraArray;
+struct __declspec(uuid("db03ed32-8f8c-47ef-b6b5-bb6a0e7d62d6"))
+/* dual interface */ ILFlatField;
+struct /* coclass */ LCalibNPoints;
+struct /* coclass */ LCalibPinHole;
+struct /* coclass */ LCalibFFD;
+struct /* coclass */ LCalibCustom;
+struct /* coclass */ LCalibBoard;
+struct /* coclass */ LCalibPointPairs;
+struct /* coclass */ LCalibRotation;
+struct /* coclass */ LCameraArray;
+struct /* coclass */ LFlatField;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILCalibPointPairs, __uuidof(ILCalibPointPairs));
+_COM_SMARTPTR_TYPEDEF(ILCalib, __uuidof(ILCalib));
+_COM_SMARTPTR_TYPEDEF(ILCalibNPoints, __uuidof(ILCalibNPoints));
+_COM_SMARTPTR_TYPEDEF(ILCalibPinHole, __uuidof(ILCalibPinHole));
+_COM_SMARTPTR_TYPEDEF(ILCalibFFD, __uuidof(ILCalibFFD));
+_COM_SMARTPTR_TYPEDEF(ILCalibCustom, __uuidof(ILCalibCustom));
+_COM_SMARTPTR_TYPEDEF(ILCalibBoard, __uuidof(ILCalibBoard));
+_COM_SMARTPTR_TYPEDEF(ILCalibRotation, __uuidof(ILCalibRotation));
+_COM_SMARTPTR_TYPEDEF(ILCameraArray, __uuidof(ILCameraArray));
+_COM_SMARTPTR_TYPEDEF(ILFlatField, __uuidof(ILFlatField));
+
+//
+// Type library items
+//
+
+enum LPVFixImageMode
+{
+ LPVFixImageNone = 0,
+ LPVFixImageUndistort = 1,
+ LPVFixImageUndistortAndUntilt = 2
+};
+
+enum LPVDistortionModel
+{
+ LPVDistortionRadial = 0,
+ LPVDistortionRationalRadial = 1,
+ LPVDistortionThinPrism = 2,
+ LPVDistortionTangential = 4,
+ LPVDistortionAll = 7
+};
+
+enum LPVCalibBoardType
+{
+ LPVChessBoard = 0,
+ LPVCircleGrid = 1,
+ LPVDistCharucoBoard = 2,
+ LPVEMCircleGrid = 4
+};
+
+enum LPVCalibModel
+{
+ LPVCalibPinHole = 1,
+ LPVCalibNPoints = 2,
+ LPVCalibCustom = 3,
+ LPVCalibFFD = 4
+};
+
+struct __declspec(uuid("7bcf71ba-f0da-4525-8e36-699662d5ad62"))
+ILCalibPointPairs : ILObject
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ int Count ( );
+ ILPointPtr GetImagePoint (
+ int index );
+ ILPointPtr GetWorldPoint (
+ int index );
+ HRESULT AddPointPair (
+ double imagePointX,
+ double imagePointY,
+ double worldPointX,
+ double worldPointY );
+ HRESULT Draw (
+ void * hdc,
+ int index,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ HRESULT DrawAll (
+ void * hdc,
+ double zoomX,
+ double zoomY,
+ double panX,
+ double panY );
+ ILPointsPtr GetImagePoints ( );
+ ILPointsPtr GetWorldPoints ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_GetImagePoint (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * imagePoint ) = 0;
+ virtual HRESULT __stdcall raw_GetWorldPoint (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILPoint * * worldPoint ) = 0;
+ virtual HRESULT __stdcall raw_AddPointPair (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ int index,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_DrawAll (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double zoomX,
+ /*[in]*/ double zoomY,
+ /*[in]*/ double panX,
+ /*[in]*/ double panY ) = 0;
+ virtual HRESULT __stdcall raw_GetImagePoints (
+ /*[out,retval]*/ struct ILPoints * * imagePoints ) = 0;
+ virtual HRESULT __stdcall raw_GetWorldPoints (
+ /*[out,retval]*/ struct ILPoints * * worldPoints ) = 0;
+};
+
+struct __declspec(uuid("7ec2dc7f-abf3-428f-ac9e-46ef7f73d150"))
+ILCalib : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCalibError))
+ double CalibError;
+ __declspec(property(get=GetFixImageMode,put=PutFixImageMode))
+ enum LPVFixImageMode FixImageMode;
+ __declspec(property(get=GetFixImageScale,put=PutFixImageScale))
+ double FixImageScale;
+ __declspec(property(get=GetFixImageOffsetX,put=PutFixImageOffsetX))
+ double FixImageOffsetX;
+ __declspec(property(get=GetFixImageOffsetY,put=PutFixImageOffsetY))
+ double FixImageOffsetY;
+ __declspec(property(get=GetModel))
+ enum LPVCalibModel Model;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetInterpolationMethod,put=PutInterpolationMethod))
+ enum LPVInterpolationMethod InterpolationMethod;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT ImageToWorld (
+ double imagePointX,
+ double imagePointY,
+ double * worldPointX,
+ double * worldPointY );
+ HRESULT WorldToImage (
+ double worldPointX,
+ double worldPointY,
+ double * imagePointX,
+ double * imagePointY );
+ double GetCalibError ( );
+ enum LPVFixImageMode GetFixImageMode ( );
+ void PutFixImageMode (
+ enum LPVFixImageMode val );
+ double GetFixImageScale ( );
+ void PutFixImageScale (
+ double val );
+ double GetFixImageOffsetX ( );
+ void PutFixImageOffsetX (
+ double val );
+ double GetFixImageOffsetY ( );
+ void PutFixImageOffsetY (
+ double val );
+ enum LPVErrorCode FixImage (
+ struct ILImage * image,
+ struct ILImage * fixedImage );
+ HRESULT SetPostTransform (
+ double offsetX,
+ double offsetY,
+ double deltaAngle );
+ HRESULT SetPostTransformMatrix (
+ int cols,
+ int rows,
+ SAFEARRAY * data );
+ enum LPVErrorCode AddPoint (
+ double imagePointX,
+ double imagePointY,
+ double worldPointX,
+ double worldPointY );
+ enum LPVErrorCode AddPoints (
+ struct ILCalibPointPairs * pointPairs );
+ HRESULT SetImageSize (
+ int w,
+ int h );
+ HRESULT SetPostTransformMatrix23 (
+ struct LMatrix23 * data );
+ HRESULT SetPostTransformMatrix33 (
+ struct LMatrix33 * data );
+ enum LPVErrorCode GenPostTransformMatrix (
+ struct ILCalibPointPairs * pointPairs );
+ enum LPVCalibModel GetModel ( );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ enum LPVInterpolationMethod GetInterpolationMethod ( );
+ void PutInterpolationMethod (
+ enum LPVInterpolationMethod val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_ImageToWorld (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[out]*/ double * worldPointX,
+ /*[out]*/ double * worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_WorldToImage (
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out]*/ double * imagePointX,
+ /*[out]*/ double * imagePointY ) = 0;
+ virtual HRESULT __stdcall get_CalibError (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall get_FixImageMode (
+ /*[out,retval]*/ enum LPVFixImageMode * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageMode (
+ /*[in]*/ enum LPVFixImageMode val ) = 0;
+ virtual HRESULT __stdcall get_FixImageScale (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageScale (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_FixImageOffsetX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageOffsetX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_FixImageOffsetY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_FixImageOffsetY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_FixImage (
+ /*[in]*/ struct ILImage * image,
+ /*[out]*/ struct ILImage * fixedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransform (
+ /*[in]*/ double offsetX,
+ /*[in]*/ double offsetY,
+ /*[in]*/ double deltaAngle ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix (
+ /*[in]*/ int cols,
+ /*[in]*/ int rows,
+ /*[in]*/ SAFEARRAY * data ) = 0;
+ virtual HRESULT __stdcall raw_AddPoint (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_AddPoints (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_SetImageSize (
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix23 (
+ /*[in]*/ struct LMatrix23 * data ) = 0;
+ virtual HRESULT __stdcall raw_SetPostTransformMatrix33 (
+ /*[in]*/ struct LMatrix33 * data ) = 0;
+ virtual HRESULT __stdcall raw_GenPostTransformMatrix (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_Model (
+ /*[out,retval]*/ enum LPVCalibModel * val ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InterpolationMethod (
+ /*[out,retval]*/ enum LPVInterpolationMethod * val ) = 0;
+ virtual HRESULT __stdcall put_InterpolationMethod (
+ /*[in]*/ enum LPVInterpolationMethod val ) = 0;
+};
+
+struct __declspec(uuid("123c56da-0e02-4149-89e7-50201429643b"))
+ILCalibNPoints : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetTransformType,put=PutTransformType))
+ enum LPVTransformType TransformType;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVTransformType GetTransformType ( );
+ void PutTransformType (
+ enum LPVTransformType val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_TransformType (
+ /*[out,retval]*/ enum LPVTransformType * val ) = 0;
+ virtual HRESULT __stdcall put_TransformType (
+ /*[in]*/ enum LPVTransformType val ) = 0;
+};
+
+struct __declspec(uuid("07fcc5a5-0ed9-4347-a74f-562256704225"))
+ILCalibPinHole : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetDistortionModel,put=PutDistortionModel))
+ enum LPVDistortionModel DistortionModel;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVDistortionModel GetDistortionModel ( );
+ void PutDistortionModel (
+ enum LPVDistortionModel val );
+ HRESULT SetCameraProps (
+ double cellSize,
+ double focusLength,
+ double viewDistance );
+ enum LPVErrorCode AddMVPoints (
+ struct ILCalibPointPairs * pointPairs );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_DistortionModel (
+ /*[out,retval]*/ enum LPVDistortionModel * val ) = 0;
+ virtual HRESULT __stdcall put_DistortionModel (
+ /*[in]*/ enum LPVDistortionModel val ) = 0;
+ virtual HRESULT __stdcall raw_SetCameraProps (
+ /*[in]*/ double cellSize,
+ /*[in]*/ double focusLength,
+ /*[in]*/ double viewDistance ) = 0;
+ virtual HRESULT __stdcall raw_AddMVPoints (
+ /*[in]*/ struct ILCalibPointPairs * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+};
+
+struct __declspec(uuid("ca9b5f85-b867-4f08-a464-7b33e88de4d0"))
+ILCalibFFD : ILCalib
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ HRESULT SetFFDGrid (
+ int cols,
+ int rows );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_SetFFDGrid (
+ /*[in]*/ int cols,
+ /*[in]*/ int rows ) = 0;
+};
+
+struct __declspec(uuid("91998f82-0bb9-40f4-a9e7-83c09c13c50c"))
+ILCalibCustom : ILCalib
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetScaleX,put=PutScaleX))
+ double ScaleX;
+ __declspec(property(get=GetScaleY,put=PutScaleY))
+ double ScaleY;
+ __declspec(property(get=GetTheta,put=PutTheta))
+ double Theta;
+ __declspec(property(get=GetAxisDirX,put=PutAxisDirX))
+ enum LPVDirection AxisDirX;
+ __declspec(property(get=GetAxisDirY,put=PutAxisDirY))
+ enum LPVDirection AxisDirY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ double GetScaleX ( );
+ void PutScaleX (
+ double val );
+ double GetScaleY ( );
+ void PutScaleY (
+ double val );
+ double GetTheta ( );
+ void PutTheta (
+ double val );
+ enum LPVDirection GetAxisDirX ( );
+ void PutAxisDirX (
+ enum LPVDirection val );
+ enum LPVDirection GetAxisDirY ( );
+ void PutAxisDirY (
+ enum LPVDirection val );
+ HRESULT MoveOriginTo (
+ double x,
+ double y );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_ScaleX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ScaleY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ScaleY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_Theta (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Theta (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_AxisDirX (
+ /*[out,retval]*/ enum LPVDirection * val ) = 0;
+ virtual HRESULT __stdcall put_AxisDirX (
+ /*[in]*/ enum LPVDirection val ) = 0;
+ virtual HRESULT __stdcall get_AxisDirY (
+ /*[out,retval]*/ enum LPVDirection * val ) = 0;
+ virtual HRESULT __stdcall put_AxisDirY (
+ /*[in]*/ enum LPVDirection val ) = 0;
+ virtual HRESULT __stdcall raw_MoveOriginTo (
+ /*[in]*/ double x,
+ /*[in]*/ double y ) = 0;
+};
+
+struct __declspec(uuid("0301dbd7-7b19-4477-af7b-960bc1605750"))
+ILCalibBoard : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetCalibBoardType,put=PutCalibBoardType))
+ enum LPVCalibBoardType CalibBoardType;
+ __declspec(property(get=GetGridWidth,put=PutGridWidth))
+ int GridWidth;
+ __declspec(property(get=GetGridHeight,put=PutGridHeight))
+ int GridHeight;
+ __declspec(property(get=GetSquareSize,put=PutSquareSize))
+ double SquareSize;
+ __declspec(property(get=GetMarkerSize,put=PutMarkerSize))
+ double MarkerSize;
+ __declspec(property(get=GetBoardThickness,put=PutBoardThickness))
+ double BoardThickness;
+ __declspec(property(get=GetAutoRemoveBad,put=PutAutoRemoveBad))
+ VARIANT_BOOL AutoRemoveBad;
+ __declspec(property(get=GetUseFittingMethod,put=PutUseFittingMethod))
+ VARIANT_BOOL UseFittingMethod;
+ __declspec(property(get=GetGuessPartialBlock,put=PutGuessPartialBlock))
+ VARIANT_BOOL GuessPartialBlock;
+ __declspec(property(get=GetInvertBlock,put=PutInvertBlock))
+ VARIANT_BOOL InvertBlock;
+ __declspec(property(get=GetStartX,put=PutStartX))
+ double StartX;
+ __declspec(property(get=GetStartY,put=PutStartY))
+ double StartY;
+ __declspec(property(get=GetStartFromCetner,put=PutStartFromCetner))
+ VARIANT_BOOL StartFromCetner;
+ __declspec(property(get=GetSwapXY,put=PutSwapXY))
+ VARIANT_BOOL SwapXY;
+ __declspec(property(get=GetStepX,put=PutStepX))
+ double StepX;
+ __declspec(property(get=GetStepY,put=PutStepY))
+ double StepY;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ enum LPVCalibBoardType GetCalibBoardType ( );
+ void PutCalibBoardType (
+ enum LPVCalibBoardType val );
+ int GetGridWidth ( );
+ void PutGridWidth (
+ int val );
+ int GetGridHeight ( );
+ void PutGridHeight (
+ int val );
+ double GetSquareSize ( );
+ void PutSquareSize (
+ double val );
+ double GetMarkerSize ( );
+ void PutMarkerSize (
+ double val );
+ double GetBoardThickness ( );
+ void PutBoardThickness (
+ double val );
+ VARIANT_BOOL GetAutoRemoveBad ( );
+ void PutAutoRemoveBad (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetUseFittingMethod ( );
+ void PutUseFittingMethod (
+ VARIANT_BOOL val );
+ enum LPVErrorCode Detect (
+ struct ILImage * img,
+ struct ILCalibPointPairs * * pointPairs );
+ enum LPVErrorCode DetectInRegion (
+ struct ILImage * img,
+ struct ILRegion * region,
+ struct ILCalibPointPairs * * pointPairs );
+ VARIANT_BOOL GetGuessPartialBlock ( );
+ void PutGuessPartialBlock (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetInvertBlock ( );
+ void PutInvertBlock (
+ VARIANT_BOOL val );
+ double GetStartX ( );
+ void PutStartX (
+ double val );
+ double GetStartY ( );
+ void PutStartY (
+ double val );
+ enum LPVErrorCode GeneratePointPairs (
+ struct ILPoints * imgPoints,
+ struct ILCalibPointPairs * * pointPairs );
+ VARIANT_BOOL GetStartFromCetner ( );
+ void PutStartFromCetner (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetSwapXY ( );
+ void PutSwapXY (
+ VARIANT_BOOL val );
+ double GetStepX ( );
+ void PutStepX (
+ double val );
+ double GetStepY ( );
+ void PutStepY (
+ double val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_CalibBoardType (
+ /*[out,retval]*/ enum LPVCalibBoardType * val ) = 0;
+ virtual HRESULT __stdcall put_CalibBoardType (
+ /*[in]*/ enum LPVCalibBoardType val ) = 0;
+ virtual HRESULT __stdcall get_GridWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_GridWidth (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_GridHeight (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_GridHeight (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_SquareSize (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_SquareSize (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_MarkerSize (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_MarkerSize (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_BoardThickness (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_BoardThickness (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_AutoRemoveBad (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_AutoRemoveBad (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_UseFittingMethod (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseFittingMethod (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_Detect (
+ /*[in]*/ struct ILImage * img,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_DetectInRegion (
+ /*[in]*/ struct ILImage * img,
+ /*[in]*/ struct ILRegion * region,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_GuessPartialBlock (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_GuessPartialBlock (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InvertBlock (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_InvertBlock (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_StartX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StartY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StartY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_GeneratePointPairs (
+ /*[in]*/ struct ILPoints * imgPoints,
+ /*[out]*/ struct ILCalibPointPairs * * pointPairs,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_StartFromCetner (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_StartFromCetner (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_SwapXY (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_SwapXY (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_StepX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StepX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_StepY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_StepY (
+ /*[in]*/ double val ) = 0;
+};
+
+struct __declspec(uuid("e84620c2-bc84-4ffe-b234-85dc5285ded8"))
+ILCalibRotation : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetTranslationOnRotation,put=PutTranslationOnRotation))
+ VARIANT_BOOL TranslationOnRotation;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT AddRotPoint (
+ double pntX,
+ double pntY,
+ double angle );
+ HRESULT AddRotPointPair (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double angle );
+ HRESULT SetAim (
+ double aimPointX1,
+ double aimPointY1,
+ double aimPointX2,
+ double aimPointY2 );
+ HRESULT Align (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double * dx,
+ double * dy,
+ double * da );
+ HRESULT AlignTo (
+ double pntX1,
+ double pntY1,
+ double pntX2,
+ double pntY2,
+ double aimPointX1,
+ double aimPointY1,
+ double aimPointX2,
+ double aimPointY2,
+ double * dx,
+ double * dy,
+ double * da );
+ VARIANT_BOOL GetTranslationOnRotation ( );
+ void PutTranslationOnRotation (
+ VARIANT_BOOL val );
+ ILPointPtr GetRotCenter ( );
+ HRESULT Transform (
+ double pntX,
+ double pntY,
+ double dx,
+ double dy,
+ double da,
+ double * newX,
+ double * newY );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_AddRotPoint (
+ /*[in]*/ double pntX,
+ /*[in]*/ double pntY,
+ /*[in]*/ double angle ) = 0;
+ virtual HRESULT __stdcall raw_AddRotPointPair (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[in]*/ double angle ) = 0;
+ virtual HRESULT __stdcall raw_SetAim (
+ /*[in]*/ double aimPointX1,
+ /*[in]*/ double aimPointY1,
+ /*[in]*/ double aimPointX2,
+ /*[in]*/ double aimPointY2 ) = 0;
+ virtual HRESULT __stdcall raw_Align (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[out]*/ double * dx,
+ /*[out]*/ double * dy,
+ /*[out]*/ double * da ) = 0;
+ virtual HRESULT __stdcall raw_AlignTo (
+ /*[in]*/ double pntX1,
+ /*[in]*/ double pntY1,
+ /*[in]*/ double pntX2,
+ /*[in]*/ double pntY2,
+ /*[in]*/ double aimPointX1,
+ /*[in]*/ double aimPointY1,
+ /*[in]*/ double aimPointX2,
+ /*[in]*/ double aimPointY2,
+ /*[out]*/ double * dx,
+ /*[out]*/ double * dy,
+ /*[out]*/ double * da ) = 0;
+ virtual HRESULT __stdcall get_TranslationOnRotation (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_TranslationOnRotation (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_GetRotCenter (
+ /*[out,retval]*/ struct ILPoint * * center ) = 0;
+ virtual HRESULT __stdcall raw_Transform (
+ /*[in]*/ double pntX,
+ /*[in]*/ double pntY,
+ /*[in]*/ double dx,
+ /*[in]*/ double dy,
+ /*[in]*/ double da,
+ /*[out]*/ double * newX,
+ /*[out]*/ double * newY ) = 0;
+};
+
+struct __declspec(uuid("d53587b5-0d36-47ce-874b-381ea3b37c50"))
+ILCameraArray : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetEnableBlend,put=PutEnableBlend))
+ VARIANT_BOOL EnableBlend;
+ __declspec(property(get=GetCalibError))
+ double CalibError;
+ __declspec(property(get=GetUseCache,put=PutUseCache))
+ VARIANT_BOOL UseCache;
+ __declspec(property(get=GetInterpolationMethod,put=PutInterpolationMethod))
+ enum LPVInterpolationMethod InterpolationMethod;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL GetEnableBlend ( );
+ void PutEnableBlend (
+ VARIANT_BOOL val );
+ HRESULT Init (
+ enum LPVCalibModel calibModel,
+ int hCount,
+ int vCount );
+ HRESULT InitByCopy (
+ struct ILCalib * calib,
+ int hCount,
+ int vCount,
+ VARIANT_BOOL copyCalib,
+ double hStep,
+ double vStep );
+ HRESULT InitByCopyN (
+ SAFEARRAY * calibs,
+ int rows,
+ int hCount,
+ int vCount,
+ VARIANT_BOOL copyCalib,
+ double hStep,
+ double vStep );
+ int Count ( );
+ ILCalibPtr Item (
+ int index );
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVErrorCode Calibrate ( );
+ HRESULT ImageToWorld (
+ double imagePointX,
+ double imagePointY,
+ double * worldPointX,
+ double * worldPointY );
+ HRESULT WorldToImage (
+ double worldPointX,
+ double worldPointY,
+ double * imagePointX,
+ double * imagePointY );
+ double GetCalibError ( );
+ enum LPVErrorCode StitchImage (
+ struct ILImageList * images,
+ struct ILImage * stitchedImage );
+ VARIANT_BOOL GetUseCache ( );
+ void PutUseCache (
+ VARIANT_BOOL val );
+ enum LPVInterpolationMethod GetInterpolationMethod ( );
+ void PutInterpolationMethod (
+ enum LPVInterpolationMethod val );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_EnableBlend (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_EnableBlend (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall raw_Init (
+ /*[in]*/ enum LPVCalibModel calibModel,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount ) = 0;
+ virtual HRESULT __stdcall raw_InitByCopy (
+ /*[in]*/ struct ILCalib * calib,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount,
+ /*[in]*/ VARIANT_BOOL copyCalib,
+ /*[in]*/ double hStep,
+ /*[in]*/ double vStep ) = 0;
+ virtual HRESULT __stdcall raw_InitByCopyN (
+ /*[in]*/ SAFEARRAY * calibs,
+ /*[in]*/ int rows,
+ /*[in]*/ int hCount,
+ /*[in]*/ int vCount,
+ /*[in]*/ VARIANT_BOOL copyCalib,
+ /*[in]*/ double hStep,
+ /*[in]*/ double vStep ) = 0;
+ virtual HRESULT __stdcall raw_Count (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall raw_Item (
+ /*[in]*/ int index,
+ /*[out,retval]*/ struct ILCalib * * calib ) = 0;
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall raw_Calibrate (
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_ImageToWorld (
+ /*[in]*/ double imagePointX,
+ /*[in]*/ double imagePointY,
+ /*[out]*/ double * worldPointX,
+ /*[out]*/ double * worldPointY ) = 0;
+ virtual HRESULT __stdcall raw_WorldToImage (
+ /*[in]*/ double worldPointX,
+ /*[in]*/ double worldPointY,
+ /*[out]*/ double * imagePointX,
+ /*[out]*/ double * imagePointY ) = 0;
+ virtual HRESULT __stdcall get_CalibError (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall raw_StitchImage (
+ /*[in]*/ struct ILImageList * images,
+ /*[out]*/ struct ILImage * stitchedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall get_UseCache (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_UseCache (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_InterpolationMethod (
+ /*[out,retval]*/ enum LPVInterpolationMethod * val ) = 0;
+ virtual HRESULT __stdcall put_InterpolationMethod (
+ /*[in]*/ enum LPVInterpolationMethod val ) = 0;
+};
+
+struct __declspec(uuid("db03ed32-8f8c-47ef-b6b5-bb6a0e7d62d6"))
+ILFlatField : ILObject
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetColorMode,put=PutColorMode))
+ enum LPVImageFormat ColorMode;
+ __declspec(property(get=GetFromGray,put=PutFromGray))
+ int FromGray;
+ __declspec(property(get=GetToGray,put=PutToGray))
+ int ToGray;
+ __declspec(property(get=GetFromColor,put=PutFromColor))
+ struct LColor FromColor;
+ __declspec(property(get=GetToColor,put=PutToColor))
+ struct LColor ToColor;
+ __declspec(property(get=GetTolerance,put=PutTolerance))
+ int Tolerance;
+ __declspec(property(get=GetKernelWidth,put=PutKernelWidth))
+ int KernelWidth;
+ __declspec(property(get=GetUpdateRate,put=PutUpdateRate))
+ double UpdateRate;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ VARIANT_BOOL IsCalibrated ( );
+ enum LPVImageFormat GetColorMode ( );
+ void PutColorMode (
+ enum LPVImageFormat val );
+ int GetFromGray ( );
+ void PutFromGray (
+ int val );
+ int GetToGray ( );
+ void PutToGray (
+ int val );
+ struct LColor GetFromColor ( );
+ void PutFromColor (
+ struct LColor val );
+ struct LColor GetToColor ( );
+ void PutToColor (
+ struct LColor val );
+ int GetTolerance ( );
+ void PutTolerance (
+ int val );
+ int GetKernelWidth ( );
+ void PutKernelWidth (
+ int val );
+ double GetUpdateRate ( );
+ void PutUpdateRate (
+ double val );
+ enum LPVErrorCode SetDarkFrame (
+ struct ILImage * image );
+ enum LPVErrorCode Train (
+ struct ILImage * image,
+ struct ILRegion * region );
+ enum LPVErrorCode FixImage (
+ struct ILImage * image,
+ struct ILImage * fixedImage );
+ HRESULT GetFlatField (
+ struct ILImage * previewImage );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall raw_IsCalibrated (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall get_ColorMode (
+ /*[out,retval]*/ enum LPVImageFormat * val ) = 0;
+ virtual HRESULT __stdcall put_ColorMode (
+ /*[in]*/ enum LPVImageFormat val ) = 0;
+ virtual HRESULT __stdcall get_FromGray (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_FromGray (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_ToGray (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_ToGray (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_FromColor (
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_FromColor (
+ /*[in]*/ struct LColor val ) = 0;
+ virtual HRESULT __stdcall get_ToColor (
+ /*[out,retval]*/ struct LColor * val ) = 0;
+ virtual HRESULT __stdcall put_ToColor (
+ /*[in]*/ struct LColor val ) = 0;
+ virtual HRESULT __stdcall get_Tolerance (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_Tolerance (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_KernelWidth (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_KernelWidth (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_UpdateRate (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_UpdateRate (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall raw_SetDarkFrame (
+ /*[in]*/ struct ILImage * image,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_Train (
+ /*[in]*/ struct ILImage * image,
+ /*[in]*/ struct ILRegion * region,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_FixImage (
+ /*[in]*/ struct ILImage * image,
+ /*[out]*/ struct ILImage * fixedImage,
+ /*[out,retval]*/ enum LPVErrorCode * error ) = 0;
+ virtual HRESULT __stdcall raw_GetFlatField (
+ /*[out]*/ struct ILImage * previewImage ) = 0;
+};
+
+struct __declspec(uuid("3ae96217-669c-40ea-9e3d-6c1d21235d9e"))
+LCalibNPoints;
+ // [ default ] interface ILCalibNPoints
+
+struct __declspec(uuid("3aeb3fed-4469-4c2d-acc4-b287d6d52327"))
+LCalibPinHole;
+ // [ default ] interface ILCalibPinHole
+
+struct __declspec(uuid("c3c2be54-c24e-4cca-86a0-f6ee5c24221a"))
+LCalibFFD;
+ // [ default ] interface ILCalibFFD
+
+struct __declspec(uuid("fda3eff1-0282-4f37-a048-d3eb64d8c228"))
+LCalibCustom;
+ // [ default ] interface ILCalibCustom
+
+struct __declspec(uuid("99a5fb19-790e-4f08-aeb8-9216ac036b78"))
+LCalibBoard;
+ // [ default ] interface ILCalibBoard
+
+struct __declspec(uuid("7d980a53-f1bb-45fa-b33d-5a76581a8ed5"))
+LCalibPointPairs;
+ // [ default ] interface ILCalibPointPairs
+ // interface ILDrawable
+
+struct __declspec(uuid("79b9bf40-288e-47dd-860c-e98a4be692c1"))
+LCalibRotation;
+ // [ default ] interface ILCalibRotation
+
+struct __declspec(uuid("21898120-3c29-44ba-8573-40a7e55a2f82"))
+LCameraArray;
+ // [ default ] interface ILCameraArray
+
+struct __declspec(uuid("75b13e3e-25be-4e3c-8820-d2606b9ab865"))
+LFlatField;
+ // [ default ] interface ILFlatField
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCalib.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tli
new file mode 100644
index 0000000..dec2f33
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCalib.tli
@@ -0,0 +1,900 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (6a538ac1).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCalib.tli
+//
+// Wrapper implementations for type library faa32948-bf4e-4482-9216-70412f34bb66
+// compiler-generated file created 02/21/24 at 11:50:39 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILCalibPointPairs wrapper method implementations
+//
+
+inline int ILCalibPointPairs::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILPointPtr ILCalibPointPairs::GetImagePoint ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetImagePoint(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline ILPointPtr ILCalibPointPairs::GetWorldPoint ( int index ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetWorldPoint(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILCalibPointPairs::AddPointPair ( double imagePointX, double imagePointY, double worldPointX, double worldPointY ) {
+ HRESULT _hr = raw_AddPointPair(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibPointPairs::Draw ( void * hdc, int index, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_Draw(hdc, index, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibPointPairs::DrawAll ( void * hdc, double zoomX, double zoomY, double panX, double panY ) {
+ HRESULT _hr = raw_DrawAll(hdc, zoomX, zoomY, panX, panY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline ILPointsPtr ILCalibPointPairs::GetImagePoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetImagePoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+inline ILPointsPtr ILCalibPointPairs::GetWorldPoints ( ) {
+ struct ILPoints * _result = 0;
+ HRESULT _hr = raw_GetWorldPoints(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointsPtr(_result, false);
+}
+
+//
+// interface ILCalib wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCalib::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalib::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::ImageToWorld ( double imagePointX, double imagePointY, double * worldPointX, double * worldPointY ) {
+ HRESULT _hr = raw_ImageToWorld(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::WorldToImage ( double worldPointX, double worldPointY, double * imagePointX, double * imagePointY ) {
+ HRESULT _hr = raw_WorldToImage(worldPointX, worldPointY, imagePointX, imagePointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILCalib::GetCalibError ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CalibError(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVFixImageMode ILCalib::GetFixImageMode ( ) {
+ enum LPVFixImageMode _result;
+ HRESULT _hr = get_FixImageMode(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageMode ( enum LPVFixImageMode val ) {
+ HRESULT _hr = put_FixImageMode(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageScale ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageScale(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageScale ( double val ) {
+ HRESULT _hr = put_FixImageScale(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageOffsetX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageOffsetX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageOffsetX ( double val ) {
+ HRESULT _hr = put_FixImageOffsetX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalib::GetFixImageOffsetY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_FixImageOffsetY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutFixImageOffsetY ( double val ) {
+ HRESULT _hr = put_FixImageOffsetY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalib::FixImage ( struct ILImage * image, struct ILImage * fixedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_FixImage(image, fixedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::SetPostTransform ( double offsetX, double offsetY, double deltaAngle ) {
+ HRESULT _hr = raw_SetPostTransform(offsetX, offsetY, deltaAngle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix ( int cols, int rows, SAFEARRAY * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix(cols, rows, data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalib::AddPoint ( double imagePointX, double imagePointY, double worldPointX, double worldPointY ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddPoint(imagePointX, imagePointY, worldPointX, worldPointY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalib::AddPoints ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddPoints(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalib::SetImageSize ( int w, int h ) {
+ HRESULT _hr = raw_SetImageSize(w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix23 ( struct LMatrix23 * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix23(data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalib::SetPostTransformMatrix33 ( struct LMatrix33 * data ) {
+ HRESULT _hr = raw_SetPostTransformMatrix33(data);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalib::GenPostTransformMatrix ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_GenPostTransformMatrix(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVCalibModel ILCalib::GetModel ( ) {
+ enum LPVCalibModel _result;
+ HRESULT _hr = get_Model(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalib::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVInterpolationMethod ILCalib::GetInterpolationMethod ( ) {
+ enum LPVInterpolationMethod _result;
+ HRESULT _hr = get_InterpolationMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalib::PutInterpolationMethod ( enum LPVInterpolationMethod val ) {
+ HRESULT _hr = put_InterpolationMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibNPoints wrapper method implementations
+//
+
+inline enum LPVTransformType ILCalibNPoints::GetTransformType ( ) {
+ enum LPVTransformType _result;
+ HRESULT _hr = get_TransformType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibNPoints::PutTransformType ( enum LPVTransformType val ) {
+ HRESULT _hr = put_TransformType(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibPinHole wrapper method implementations
+//
+
+inline enum LPVDistortionModel ILCalibPinHole::GetDistortionModel ( ) {
+ enum LPVDistortionModel _result;
+ HRESULT _hr = get_DistortionModel(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibPinHole::PutDistortionModel ( enum LPVDistortionModel val ) {
+ HRESULT _hr = put_DistortionModel(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCalibPinHole::SetCameraProps ( double cellSize, double focusLength, double viewDistance ) {
+ HRESULT _hr = raw_SetCameraProps(cellSize, focusLength, viewDistance);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline enum LPVErrorCode ILCalibPinHole::AddMVPoints ( struct ILCalibPointPairs * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_AddMVPoints(pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILCalibFFD wrapper method implementations
+//
+
+inline HRESULT ILCalibFFD::SetFFDGrid ( int cols, int rows ) {
+ HRESULT _hr = raw_SetFFDGrid(cols, rows);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCalibCustom wrapper method implementations
+//
+
+inline double ILCalibCustom::GetScaleX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutScaleX ( double val ) {
+ HRESULT _hr = put_ScaleX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibCustom::GetScaleY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ScaleY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutScaleY ( double val ) {
+ HRESULT _hr = put_ScaleY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibCustom::GetTheta ( ) {
+ double _result = 0;
+ HRESULT _hr = get_Theta(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutTheta ( double val ) {
+ HRESULT _hr = put_Theta(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDirection ILCalibCustom::GetAxisDirX ( ) {
+ enum LPVDirection _result;
+ HRESULT _hr = get_AxisDirX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutAxisDirX ( enum LPVDirection val ) {
+ HRESULT _hr = put_AxisDirX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDirection ILCalibCustom::GetAxisDirY ( ) {
+ enum LPVDirection _result;
+ HRESULT _hr = get_AxisDirY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibCustom::PutAxisDirY ( enum LPVDirection val ) {
+ HRESULT _hr = put_AxisDirY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCalibCustom::MoveOriginTo ( double x, double y ) {
+ HRESULT _hr = raw_MoveOriginTo(x, y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCalibBoard wrapper method implementations
+//
+
+inline enum LPVCalibBoardType ILCalibBoard::GetCalibBoardType ( ) {
+ enum LPVCalibBoardType _result;
+ HRESULT _hr = get_CalibBoardType(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutCalibBoardType ( enum LPVCalibBoardType val ) {
+ HRESULT _hr = put_CalibBoardType(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILCalibBoard::GetGridWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_GridWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGridWidth ( int val ) {
+ HRESULT _hr = put_GridWidth(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILCalibBoard::GetGridHeight ( ) {
+ int _result = 0;
+ HRESULT _hr = get_GridHeight(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGridHeight ( int val ) {
+ HRESULT _hr = put_GridHeight(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetSquareSize ( ) {
+ double _result = 0;
+ HRESULT _hr = get_SquareSize(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutSquareSize ( double val ) {
+ HRESULT _hr = put_SquareSize(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetMarkerSize ( ) {
+ double _result = 0;
+ HRESULT _hr = get_MarkerSize(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutMarkerSize ( double val ) {
+ HRESULT _hr = put_MarkerSize(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetBoardThickness ( ) {
+ double _result = 0;
+ HRESULT _hr = get_BoardThickness(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutBoardThickness ( double val ) {
+ HRESULT _hr = put_BoardThickness(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetAutoRemoveBad ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_AutoRemoveBad(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutAutoRemoveBad ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_AutoRemoveBad(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetUseFittingMethod ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseFittingMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutUseFittingMethod ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseFittingMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalibBoard::Detect ( struct ILImage * img, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Detect(img, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalibBoard::DetectInRegion ( struct ILImage * img, struct ILRegion * region, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_DetectInRegion(img, region, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetGuessPartialBlock ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_GuessPartialBlock(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutGuessPartialBlock ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_GuessPartialBlock(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetInvertBlock ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_InvertBlock(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutInvertBlock ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_InvertBlock(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStartX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartX ( double val ) {
+ HRESULT _hr = put_StartX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStartY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StartY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartY ( double val ) {
+ HRESULT _hr = put_StartY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILCalibBoard::GeneratePointPairs ( struct ILPoints * imgPoints, struct ILCalibPointPairs * * pointPairs ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_GeneratePointPairs(imgPoints, pointPairs, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetStartFromCetner ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_StartFromCetner(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStartFromCetner ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_StartFromCetner(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILCalibBoard::GetSwapXY ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_SwapXY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutSwapXY ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_SwapXY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStepX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StepX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStepX ( double val ) {
+ HRESULT _hr = put_StepX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILCalibBoard::GetStepY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_StepY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibBoard::PutStepY ( double val ) {
+ HRESULT _hr = put_StepY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILCalibRotation wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCalibRotation::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCalibRotation::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCalibRotation::AddRotPoint ( double pntX, double pntY, double angle ) {
+ HRESULT _hr = raw_AddRotPoint(pntX, pntY, angle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::AddRotPointPair ( double pntX1, double pntY1, double pntX2, double pntY2, double angle ) {
+ HRESULT _hr = raw_AddRotPointPair(pntX1, pntY1, pntX2, pntY2, angle);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::SetAim ( double aimPointX1, double aimPointY1, double aimPointX2, double aimPointY2 ) {
+ HRESULT _hr = raw_SetAim(aimPointX1, aimPointY1, aimPointX2, aimPointY2);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::Align ( double pntX1, double pntY1, double pntX2, double pntY2, double * dx, double * dy, double * da ) {
+ HRESULT _hr = raw_Align(pntX1, pntY1, pntX2, pntY2, dx, dy, da);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCalibRotation::AlignTo ( double pntX1, double pntY1, double pntX2, double pntY2, double aimPointX1, double aimPointY1, double aimPointX2, double aimPointY2, double * dx, double * dy, double * da ) {
+ HRESULT _hr = raw_AlignTo(pntX1, pntY1, pntX2, pntY2, aimPointX1, aimPointY1, aimPointX2, aimPointY2, dx, dy, da);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline VARIANT_BOOL ILCalibRotation::GetTranslationOnRotation ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_TranslationOnRotation(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCalibRotation::PutTranslationOnRotation ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_TranslationOnRotation(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline ILPointPtr ILCalibRotation::GetRotCenter ( ) {
+ struct ILPoint * _result = 0;
+ HRESULT _hr = raw_GetRotCenter(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILPointPtr(_result, false);
+}
+
+inline HRESULT ILCalibRotation::Transform ( double pntX, double pntY, double dx, double dy, double da, double * newX, double * newY ) {
+ HRESULT _hr = raw_Transform(pntX, pntY, dx, dy, da, newX, newY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILCameraArray wrapper method implementations
+//
+
+inline VARIANT_BOOL ILCameraArray::GetEnableBlend ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_EnableBlend(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutEnableBlend ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_EnableBlend(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILCameraArray::Init ( enum LPVCalibModel calibModel, int hCount, int vCount ) {
+ HRESULT _hr = raw_Init(calibModel, hCount, vCount);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::InitByCopy ( struct ILCalib * calib, int hCount, int vCount, VARIANT_BOOL copyCalib, double hStep, double vStep ) {
+ HRESULT _hr = raw_InitByCopy(calib, hCount, vCount, copyCalib, hStep, vStep);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::InitByCopyN ( SAFEARRAY * calibs, int rows, int hCount, int vCount, VARIANT_BOOL copyCalib, double hStep, double vStep ) {
+ HRESULT _hr = raw_InitByCopyN(calibs, rows, hCount, vCount, copyCalib, hStep, vStep);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILCameraArray::Count ( ) {
+ int _result = 0;
+ HRESULT _hr = raw_Count(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline ILCalibPtr ILCameraArray::Item ( int index ) {
+ struct ILCalib * _result = 0;
+ HRESULT _hr = raw_Item(index, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return ILCalibPtr(_result, false);
+}
+
+inline VARIANT_BOOL ILCameraArray::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCameraArray::Calibrate ( ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Calibrate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILCameraArray::ImageToWorld ( double imagePointX, double imagePointY, double * worldPointX, double * worldPointY ) {
+ HRESULT _hr = raw_ImageToWorld(imagePointX, imagePointY, worldPointX, worldPointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILCameraArray::WorldToImage ( double worldPointX, double worldPointY, double * imagePointX, double * imagePointY ) {
+ HRESULT _hr = raw_WorldToImage(worldPointX, worldPointY, imagePointX, imagePointY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline double ILCameraArray::GetCalibError ( ) {
+ double _result = 0;
+ HRESULT _hr = get_CalibError(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILCameraArray::StitchImage ( struct ILImageList * images, struct ILImage * stitchedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_StitchImage(images, stitchedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline VARIANT_BOOL ILCameraArray::GetUseCache ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_UseCache(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutUseCache ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_UseCache(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVInterpolationMethod ILCameraArray::GetInterpolationMethod ( ) {
+ enum LPVInterpolationMethod _result;
+ HRESULT _hr = get_InterpolationMethod(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILCameraArray::PutInterpolationMethod ( enum LPVInterpolationMethod val ) {
+ HRESULT _hr = put_InterpolationMethod(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+//
+// interface ILFlatField wrapper method implementations
+//
+
+inline VARIANT_BOOL ILFlatField::IsCalibrated ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = raw_IsCalibrated(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVImageFormat ILFlatField::GetColorMode ( ) {
+ enum LPVImageFormat _result;
+ HRESULT _hr = get_ColorMode(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutColorMode ( enum LPVImageFormat val ) {
+ HRESULT _hr = put_ColorMode(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetFromGray ( ) {
+ int _result = 0;
+ HRESULT _hr = get_FromGray(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutFromGray ( int val ) {
+ HRESULT _hr = put_FromGray(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetToGray ( ) {
+ int _result = 0;
+ HRESULT _hr = get_ToGray(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutToGray ( int val ) {
+ HRESULT _hr = put_ToGray(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline struct LColor ILFlatField::GetFromColor ( ) {
+ struct LColor _result;
+ HRESULT _hr = get_FromColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutFromColor ( struct LColor val ) {
+ HRESULT _hr = put_FromColor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline struct LColor ILFlatField::GetToColor ( ) {
+ struct LColor _result;
+ HRESULT _hr = get_ToColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutToColor ( struct LColor val ) {
+ HRESULT _hr = put_ToColor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetTolerance ( ) {
+ int _result = 0;
+ HRESULT _hr = get_Tolerance(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutTolerance ( int val ) {
+ HRESULT _hr = put_Tolerance(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILFlatField::GetKernelWidth ( ) {
+ int _result = 0;
+ HRESULT _hr = get_KernelWidth(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutKernelWidth ( int val ) {
+ HRESULT _hr = put_KernelWidth(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILFlatField::GetUpdateRate ( ) {
+ double _result = 0;
+ HRESULT _hr = get_UpdateRate(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILFlatField::PutUpdateRate ( double val ) {
+ HRESULT _hr = put_UpdateRate(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVErrorCode ILFlatField::SetDarkFrame ( struct ILImage * image ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_SetDarkFrame(image, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILFlatField::Train ( struct ILImage * image, struct ILRegion * region ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_Train(image, region, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline enum LPVErrorCode ILFlatField::FixImage ( struct ILImage * image, struct ILImage * fixedImage ) {
+ enum LPVErrorCode _result;
+ HRESULT _hr = raw_FixImage(image, fixedImage, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILFlatField::GetFlatField ( struct ILImage * previewImage ) {
+ HRESULT _hr = raw_GetFlatField(previewImage);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tlh
index 78094dc..531e6d2 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tlh
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tlh
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (4b0afb50).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (ae112048).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvCore.tlh
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCore.tlh
//
-// C++ source equivalent of Win32 type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// C++ source equivalent of type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
@@ -1924,6 +1924,6 @@ ILImageList : IDispatch
// Wrapper method implementations
//
-#include "d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvCore.tli"
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCore.tli"
#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tli
index 03c42c3..fc57850 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tli
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvCore.tli
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (4b0afb50).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (ae112048).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvCore.tli
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvCore.tli
//
-// Wrapper implementations for Win32 type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// Wrapper implementations for type library c34b3e9e-6dea-4aa9-b500-0266f90dc15f
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tlh
new file mode 100644
index 0000000..5e7b8ac
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tlh
@@ -0,0 +1,603 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (31335b85).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvDisplay.tlh
+//
+// C++ source equivalent of type library 5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6
+// compiler-generated file created 02/21/24 at 11:50:39 - DO NOT EDIT!
+
+//
+// Cross-referenced type libraries:
+//
+//
+
+#pragma once
+#pragma pack(push, 8)
+
+#include
+
+//
+// Forward references and typedefs
+//
+
+struct __declspec(uuid("5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6"))
+/* LIBID */ __LPVDisplayLib;
+enum LPVDisplayFlags;
+enum LPVScrollBarPolicy;
+enum LPVZoomAnchor;
+enum LPVAlignment;
+enum LPVDisplayEventIDs;
+enum LPVMouseButton;
+enum LPVKeyboardModifiers;
+struct __declspec(uuid("113de32f-e05e-460d-82e6-6ef7d6458ec9"))
+/* dual interface */ ILDisplayCommon;
+struct __declspec(uuid("f2ec8876-80ed-4b14-b505-8bb2f99afcd6"))
+/* dual interface */ ILDisplay;
+struct __declspec(uuid("e2223b4a-9ab9-4b0c-9784-65a409304575"))
+/* dual interface */ ILText;
+struct __declspec(uuid("2af01e49-5db5-495a-817b-3f6a590534bd"))
+/* dispinterface */ ILDisplayEvents;
+struct /* coclass */ LDisplay;
+struct /* coclass */ LText;
+
+//
+// Smart pointer typedef declarations
+//
+
+_COM_SMARTPTR_TYPEDEF(ILDisplayCommon, __uuidof(ILDisplayCommon));
+_COM_SMARTPTR_TYPEDEF(ILDisplay, __uuidof(ILDisplay));
+_COM_SMARTPTR_TYPEDEF(ILText, __uuidof(ILText));
+_COM_SMARTPTR_TYPEDEF(ILDisplayEvents, __uuidof(ILDisplayEvents));
+
+//
+// Type library items
+//
+
+enum LPVDisplayFlags
+{
+ LPVDisplayMovable = 1,
+ LPVDisplayZoomable = 2,
+ LPVDisplayUseContextMenu = 4,
+ LPVDisplayInteractRegion = 8,
+ LPVDisplayShowPixelUnderMouse = 16,
+ LPVDisplayDefault = 15,
+ LPVDisplayAll = 255
+};
+
+enum LPVScrollBarPolicy
+{
+ LPVScrollBarAsNeeded = 0,
+ LPVScrollBarAlwaysOff = 1,
+ LPVScrollBarAlwaysOn = 2
+};
+
+enum LPVZoomAnchor
+{
+ LPVAnchorViewTopLeft = 0,
+ LPVAnchorViewCenter = 1,
+ LPVAnchorUnderMouse = 2
+};
+
+enum LPVAlignment
+{
+ LPVAlignDefault = 0,
+ LPVAlignLeft = 1,
+ LPVAlignRight = 2,
+ LPVAlignHCenter = 4,
+ LPVAlignTop = 16,
+ LPVAlignBottom = 32,
+ LPVAlignVCenter = 64,
+ LPVAlignCenter = 68
+};
+
+enum LPVDisplayEventIDs
+{
+ LPVDisplayEventRefreshed = 33025,
+ LPVDisplayEventMouseDown = 33026,
+ LPVDisplayEventMouseUp = 33027,
+ LPVDisplayEventMouseDoubleClick = 33028,
+ LPVDisplayEventMouseMove = 33029,
+ LPVDisplayEventMouseWheel = 33030,
+ LPVDisplayEventKeyDown = 33031,
+ LPVDisplayEventKeyUp = 33032,
+ LPVDisplayEventRegionDragging = 33056,
+ LPVDisplayEventRegionDragFinished = 33057,
+ LPVDisplayEventRegionRemoving = 33058,
+ LPVDisplayEventRegionRemovingAll = 33059
+};
+
+enum LPVMouseButton
+{
+ LPVMouseButtonNone = 0,
+ LPVMouseButtonLeft = 1,
+ LPVMouseButtonRight = 2,
+ LPVMouseButtonMid = 4,
+ LPVMouseButtonX1 = 8,
+ LPVMouseButtonX2 = 16
+};
+
+enum LPVKeyboardModifiers
+{
+ LPVKeyboardModifiersNone = 0,
+ LPVKeyboardModifiersCtrl = 1,
+ LPVKeyboardModifiersShift = 2,
+ LPVKeyboardModifiersAlt = 4
+};
+
+struct __declspec(uuid("113de32f-e05e-460d-82e6-6ef7d6458ec9"))
+ILDisplayCommon : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetDisplayFlags,put=PutDisplayFlags))
+ enum LPVDisplayFlags DisplayFlags;
+ __declspec(property(get=GetHScrollBarPolicy,put=PutHScrollBarPolicy))
+ enum LPVScrollBarPolicy HScrollBarPolicy;
+ __declspec(property(get=GetVScrollBarPolicy,put=PutVScrollBarPolicy))
+ enum LPVScrollBarPolicy VScrollBarPolicy;
+ __declspec(property(get=GetZoomAnchor,put=PutZoomAnchor))
+ enum LPVZoomAnchor ZoomAnchor;
+ __declspec(property(get=GetZoomX,put=PutZoomX))
+ double ZoomX;
+ __declspec(property(get=GetZoomY,put=PutZoomY))
+ double ZoomY;
+ __declspec(property(put=PutZoom))
+ double Zoom;
+ __declspec(property(get=GetPanX,put=PutPanX))
+ double PanX;
+ __declspec(property(get=GetPanY,put=PutPanY))
+ double PanY;
+ __declspec(property(get=GetBackColor,put=PutBackColor))
+ OLE_COLOR BackColor;
+ __declspec(property(get=GetAlignment,put=PutAlignment))
+ enum LPVAlignment Alignment;
+ __declspec(property(get=GetDrawingEnabled,put=PutDrawingEnabled))
+ VARIANT_BOOL DrawingEnabled;
+ __declspec(property(get=GetAutoRefreshEnabled,put=PutAutoRefreshEnabled))
+ VARIANT_BOOL AutoRefreshEnabled;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ void PutBackColor (
+ OLE_COLOR pclr );
+ OLE_COLOR GetBackColor ( );
+ void PutDisplayFlags (
+ enum LPVDisplayFlags val );
+ enum LPVDisplayFlags GetDisplayFlags ( );
+ void PutHScrollBarPolicy (
+ enum LPVScrollBarPolicy val );
+ enum LPVScrollBarPolicy GetHScrollBarPolicy ( );
+ void PutVScrollBarPolicy (
+ enum LPVScrollBarPolicy val );
+ enum LPVScrollBarPolicy GetVScrollBarPolicy ( );
+ void PutZoomAnchor (
+ enum LPVZoomAnchor val );
+ enum LPVZoomAnchor GetZoomAnchor ( );
+ void PutZoomX (
+ double val );
+ double GetZoomX ( );
+ void PutZoomY (
+ double val );
+ double GetZoomY ( );
+ void PutZoom (
+ double _arg1 );
+ void PutPanX (
+ double val );
+ double GetPanX ( );
+ void PutPanY (
+ double val );
+ double GetPanY ( );
+ void PutAlignment (
+ enum LPVAlignment val );
+ enum LPVAlignment GetAlignment ( );
+ HRESULT SetSize (
+ int w,
+ int h );
+ HRESULT FitInView (
+ int tlx,
+ int tly,
+ int w,
+ int h,
+ enum LPVAlignment alignFlags );
+ HRESULT FitToWindow (
+ enum LPVAlignment alignFlags );
+ HRESULT Refresh ( );
+ HRESULT RefreshImmediate ( );
+ int SaveWindowToFile (
+ _bstr_t filename );
+ int SaveSceneToFile (
+ _bstr_t filename,
+ double ZoomX,
+ double ZoomY );
+ HRESULT SetDisplayFlag (
+ enum LPVDisplayFlags flag,
+ VARIANT_BOOL enable );
+ int AddReferenceLineH (
+ double position,
+ double relativePosition,
+ VARIANT_BOOL attached,
+ OLE_COLOR clr );
+ int AddReferenceLineV (
+ double position,
+ double relativePosition,
+ VARIANT_BOOL attached,
+ OLE_COLOR clr );
+ HRESULT RemoveReferenceLine (
+ int refLineId );
+ HRESULT RemoveAllReferenceLine ( );
+ HRESULT ShowDialog (
+ _bstr_t dialogName,
+ int x,
+ int y,
+ int w,
+ int h );
+ HRESULT ShowDialogAsync (
+ _bstr_t dialogName,
+ int x,
+ int y,
+ int w,
+ int h,
+ int refreshInterval );
+ void PutDrawingEnabled (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetDrawingEnabled ( );
+ void PutAutoRefreshEnabled (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetAutoRefreshEnabled ( );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall put_BackColor (
+ /*[in]*/ OLE_COLOR pclr ) = 0;
+ virtual HRESULT __stdcall get_BackColor (
+ /*[out,retval]*/ OLE_COLOR * pclr ) = 0;
+ virtual HRESULT __stdcall put_DisplayFlags (
+ /*[in]*/ enum LPVDisplayFlags val ) = 0;
+ virtual HRESULT __stdcall get_DisplayFlags (
+ /*[out,retval]*/ enum LPVDisplayFlags * val ) = 0;
+ virtual HRESULT __stdcall put_HScrollBarPolicy (
+ /*[in]*/ enum LPVScrollBarPolicy val ) = 0;
+ virtual HRESULT __stdcall get_HScrollBarPolicy (
+ /*[out,retval]*/ enum LPVScrollBarPolicy * val ) = 0;
+ virtual HRESULT __stdcall put_VScrollBarPolicy (
+ /*[in]*/ enum LPVScrollBarPolicy val ) = 0;
+ virtual HRESULT __stdcall get_VScrollBarPolicy (
+ /*[out,retval]*/ enum LPVScrollBarPolicy * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomAnchor (
+ /*[in]*/ enum LPVZoomAnchor val ) = 0;
+ virtual HRESULT __stdcall get_ZoomAnchor (
+ /*[out,retval]*/ enum LPVZoomAnchor * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ZoomX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_ZoomY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_ZoomY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Zoom (
+ /*[in]*/ double _arg1 ) = 0;
+ virtual HRESULT __stdcall put_PanX (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_PanX (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_PanY (
+ /*[in]*/ double val ) = 0;
+ virtual HRESULT __stdcall get_PanY (
+ /*[out,retval]*/ double * val ) = 0;
+ virtual HRESULT __stdcall put_Alignment (
+ /*[in]*/ enum LPVAlignment val ) = 0;
+ virtual HRESULT __stdcall get_Alignment (
+ /*[out,retval]*/ enum LPVAlignment * val ) = 0;
+ virtual HRESULT __stdcall raw_SetSize (
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_FitInView (
+ /*[in]*/ int tlx,
+ /*[in]*/ int tly,
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_FitToWindow (
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_Refresh ( ) = 0;
+ virtual HRESULT __stdcall raw_RefreshImmediate ( ) = 0;
+ virtual HRESULT __stdcall raw_SaveWindowToFile (
+ /*[in]*/ BSTR filename,
+ /*[out,retval]*/ int * error ) = 0;
+ virtual HRESULT __stdcall raw_SaveSceneToFile (
+ /*[in]*/ BSTR filename,
+ /*[in]*/ double ZoomX,
+ /*[in]*/ double ZoomY,
+ /*[out,retval]*/ int * error ) = 0;
+ virtual HRESULT __stdcall raw_SetDisplayFlag (
+ /*[in]*/ enum LPVDisplayFlags flag,
+ /*[in]*/ VARIANT_BOOL enable ) = 0;
+ virtual HRESULT __stdcall raw_AddReferenceLineH (
+ /*[in]*/ double position,
+ /*[in]*/ double relativePosition,
+ /*[in]*/ VARIANT_BOOL attached,
+ /*[in]*/ OLE_COLOR clr,
+ /*[out,retval]*/ int * refLineId ) = 0;
+ virtual HRESULT __stdcall raw_AddReferenceLineV (
+ /*[in]*/ double position,
+ /*[in]*/ double relativePosition,
+ /*[in]*/ VARIANT_BOOL attached,
+ /*[in]*/ OLE_COLOR clr,
+ /*[out,retval]*/ int * refLineId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveReferenceLine (
+ /*[in]*/ int refLineId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllReferenceLine ( ) = 0;
+ virtual HRESULT __stdcall raw_ShowDialog (
+ /*[in]*/ BSTR dialogName,
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ int w,
+ /*[in]*/ int h ) = 0;
+ virtual HRESULT __stdcall raw_ShowDialogAsync (
+ /*[in]*/ BSTR dialogName,
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[in]*/ int w,
+ /*[in]*/ int h,
+ /*[in]*/ int refreshInterval ) = 0;
+ virtual HRESULT __stdcall put_DrawingEnabled (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_DrawingEnabled (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall put_AutoRefreshEnabled (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_AutoRefreshEnabled (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+};
+
+struct __declspec(uuid("f2ec8876-80ed-4b14-b505-8bb2f99afcd6"))
+ILDisplay : ILDisplayCommon
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetKeepAspectRatio,put=PutKeepAspectRatio))
+ VARIANT_BOOL KeepAspectRatio;
+ __declspec(property(get=GetPixelUnderMouse))
+ int PixelUnderMouse;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ void PutKeepAspectRatio (
+ VARIANT_BOOL val );
+ VARIANT_BOOL GetKeepAspectRatio ( );
+ int GetPixelUnderMouse ( );
+ HRESULT SetImage (
+ IDispatch * image );
+ HRESULT RemoveImage ( );
+ IDispatchPtr GetImage ( );
+ int AddRegion (
+ IDispatch * region,
+ VARIANT_BOOL interactable );
+ HRESULT RemoveRegion (
+ IDispatch * region );
+ HRESULT RemoveRegionByID (
+ int regionId );
+ HRESULT RemoveAllRegions ( );
+ IDispatchPtr GetRegionByID (
+ int regionId );
+ int AddObject (
+ IDispatch * drawable,
+ int drawFlags );
+ HRESULT RemoveObject (
+ IDispatch * drawable );
+ HRESULT RemoveObjectByID (
+ int objectId );
+ HRESULT RemoveAllObjects ( );
+ IDispatchPtr GetObjectByID (
+ int objectId );
+ HRESULT FitInViewObject (
+ IDispatch * object,
+ enum LPVAlignment alignFlags );
+ HRESULT ClientToImage (
+ int x,
+ int y,
+ double * imageX,
+ double * imageY );
+ HRESULT ImageToClient (
+ double imageX,
+ double imageY,
+ int * x,
+ int * y );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall put_KeepAspectRatio (
+ /*[in]*/ VARIANT_BOOL val ) = 0;
+ virtual HRESULT __stdcall get_KeepAspectRatio (
+ /*[out,retval]*/ VARIANT_BOOL * val ) = 0;
+ virtual HRESULT __stdcall get_PixelUnderMouse (
+ /*[out,retval]*/ int * valw ) = 0;
+ virtual HRESULT __stdcall raw_SetImage (
+ /*[in]*/ IDispatch * image ) = 0;
+ virtual HRESULT __stdcall raw_RemoveImage ( ) = 0;
+ virtual HRESULT __stdcall raw_GetImage (
+ /*[out,retval]*/ IDispatch * * image ) = 0;
+ virtual HRESULT __stdcall raw_AddRegion (
+ /*[in]*/ IDispatch * region,
+ /*[in]*/ VARIANT_BOOL interactable,
+ /*[out,retval]*/ int * regionId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveRegion (
+ /*[in]*/ IDispatch * region ) = 0;
+ virtual HRESULT __stdcall raw_RemoveRegionByID (
+ /*[in]*/ int regionId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllRegions ( ) = 0;
+ virtual HRESULT __stdcall raw_GetRegionByID (
+ /*[in]*/ int regionId,
+ /*[out,retval]*/ IDispatch * * region ) = 0;
+ virtual HRESULT __stdcall raw_AddObject (
+ /*[in]*/ IDispatch * drawable,
+ /*[in]*/ int drawFlags,
+ /*[out,retval]*/ int * objectId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveObject (
+ /*[in]*/ IDispatch * drawable ) = 0;
+ virtual HRESULT __stdcall raw_RemoveObjectByID (
+ /*[in]*/ int objectId ) = 0;
+ virtual HRESULT __stdcall raw_RemoveAllObjects ( ) = 0;
+ virtual HRESULT __stdcall raw_GetObjectByID (
+ /*[in]*/ int objectId,
+ /*[out,retval]*/ IDispatch * * drawable ) = 0;
+ virtual HRESULT __stdcall raw_FitInViewObject (
+ /*[in]*/ IDispatch * object,
+ /*[in]*/ enum LPVAlignment alignFlags ) = 0;
+ virtual HRESULT __stdcall raw_ClientToImage (
+ /*[in]*/ int x,
+ /*[in]*/ int y,
+ /*[out]*/ double * imageX,
+ /*[out]*/ double * imageY ) = 0;
+ virtual HRESULT __stdcall raw_ImageToClient (
+ /*[in]*/ double imageX,
+ /*[in]*/ double imageY,
+ /*[out]*/ int * x,
+ /*[out]*/ int * y ) = 0;
+};
+
+struct __declspec(uuid("e2223b4a-9ab9-4b0c-9784-65a409304575"))
+ILText : IDispatch
+{
+ //
+ // Property data
+ //
+
+ __declspec(property(get=GetText,put=PutText))
+ _bstr_t Text;
+ __declspec(property(get=GetPosX,put=PutPosX))
+ int PosX;
+ __declspec(property(get=GetPosY,put=PutPosY))
+ int PosY;
+ __declspec(property(get=GetAlignment,put=PutAlignment))
+ enum LPVAlignment Alignment;
+
+ //
+ // Wrapper methods for error-handling
+ //
+
+ _bstr_t GetText ( );
+ void PutText (
+ _bstr_t val );
+ int GetPosX ( );
+ void PutPosX (
+ int val );
+ int GetPosY ( );
+ void PutPosY (
+ int val );
+ enum LPVAlignment GetAlignment ( );
+ void PutAlignment (
+ enum LPVAlignment val );
+ HRESULT Draw (
+ void * hdc,
+ double ZoomX,
+ double ZoomY,
+ double PanX,
+ double PanY );
+
+ //
+ // Raw methods provided by interface
+ //
+
+ virtual HRESULT __stdcall get_Text (
+ /*[out,retval]*/ BSTR * val ) = 0;
+ virtual HRESULT __stdcall put_Text (
+ /*[in]*/ BSTR val ) = 0;
+ virtual HRESULT __stdcall get_PosX (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_PosX (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_PosY (
+ /*[out,retval]*/ int * val ) = 0;
+ virtual HRESULT __stdcall put_PosY (
+ /*[in]*/ int val ) = 0;
+ virtual HRESULT __stdcall get_Alignment (
+ /*[out,retval]*/ enum LPVAlignment * val ) = 0;
+ virtual HRESULT __stdcall put_Alignment (
+ /*[in]*/ enum LPVAlignment val ) = 0;
+ virtual HRESULT __stdcall raw_Draw (
+ /*[in]*/ void * hdc,
+ /*[in]*/ double ZoomX,
+ /*[in]*/ double ZoomY,
+ /*[in]*/ double PanX,
+ /*[in]*/ double PanY ) = 0;
+};
+
+struct __declspec(uuid("2af01e49-5db5-495a-817b-3f6a590534bd"))
+ILDisplayEvents : IDispatch
+{
+ //
+ // Wrapper methods for error-handling
+ //
+
+ // Methods:
+ HRESULT Refreshed ( );
+ HRESULT MouseDown (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseUp (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseDoubleClick (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseMove (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y );
+ HRESULT MouseWheel (
+ enum LPVMouseButton buttons,
+ enum LPVKeyboardModifiers modifiers,
+ int x,
+ int y,
+ int delta );
+ HRESULT KeyDown (
+ int keyCode,
+ enum LPVKeyboardModifiers modifiers );
+ HRESULT KeyUp (
+ int keyCode,
+ enum LPVKeyboardModifiers modifiers );
+ HRESULT RegionDragging (
+ int regionId );
+ HRESULT RegionDragFinished (
+ int regionId );
+ HRESULT RegionRemoving (
+ int regionId );
+ HRESULT RegionRemovingAll ( );
+};
+
+struct __declspec(uuid("82c07241-7283-4957-9ee4-200d9903d13d"))
+LDisplay;
+ // [ default ] interface ILDisplay
+ // [ default, source ] dispinterface ILDisplayEvents
+
+struct __declspec(uuid("4ba55cd6-cf5a-4d89-9f1b-f7c4fc95738b"))
+LText;
+ // [ default ] interface ILText
+
+//
+// Wrapper method implementations
+//
+
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvDisplay.tli"
+
+#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tli
new file mode 100644
index 0000000..fe16b16
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvDisplay.tli
@@ -0,0 +1,517 @@
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (31335b85).
+//
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvDisplay.tli
+//
+// Wrapper implementations for type library 5b289f4f-ebc9-4a41-bd94-07f4a4e4e5f6
+// compiler-generated file created 02/21/24 at 11:50:39 - DO NOT EDIT!
+
+#pragma once
+
+//
+// interface ILDisplayCommon wrapper method implementations
+//
+
+inline void ILDisplayCommon::PutBackColor ( OLE_COLOR pclr ) {
+ HRESULT _hr = put_BackColor(pclr);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline OLE_COLOR ILDisplayCommon::GetBackColor ( ) {
+ OLE_COLOR _result;
+ HRESULT _hr = get_BackColor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutDisplayFlags ( enum LPVDisplayFlags val ) {
+ HRESULT _hr = put_DisplayFlags(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVDisplayFlags ILDisplayCommon::GetDisplayFlags ( ) {
+ enum LPVDisplayFlags _result;
+ HRESULT _hr = get_DisplayFlags(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutHScrollBarPolicy ( enum LPVScrollBarPolicy val ) {
+ HRESULT _hr = put_HScrollBarPolicy(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVScrollBarPolicy ILDisplayCommon::GetHScrollBarPolicy ( ) {
+ enum LPVScrollBarPolicy _result;
+ HRESULT _hr = get_HScrollBarPolicy(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutVScrollBarPolicy ( enum LPVScrollBarPolicy val ) {
+ HRESULT _hr = put_VScrollBarPolicy(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVScrollBarPolicy ILDisplayCommon::GetVScrollBarPolicy ( ) {
+ enum LPVScrollBarPolicy _result;
+ HRESULT _hr = get_VScrollBarPolicy(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomAnchor ( enum LPVZoomAnchor val ) {
+ HRESULT _hr = put_ZoomAnchor(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVZoomAnchor ILDisplayCommon::GetZoomAnchor ( ) {
+ enum LPVZoomAnchor _result;
+ HRESULT _hr = get_ZoomAnchor(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomX ( double val ) {
+ HRESULT _hr = put_ZoomX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetZoomX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ZoomX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoomY ( double val ) {
+ HRESULT _hr = put_ZoomY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetZoomY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_ZoomY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutZoom ( double _arg1 ) {
+ HRESULT _hr = put_Zoom(_arg1);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline void ILDisplayCommon::PutPanX ( double val ) {
+ HRESULT _hr = put_PanX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetPanX ( ) {
+ double _result = 0;
+ HRESULT _hr = get_PanX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutPanY ( double val ) {
+ HRESULT _hr = put_PanY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline double ILDisplayCommon::GetPanY ( ) {
+ double _result = 0;
+ HRESULT _hr = get_PanY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutAlignment ( enum LPVAlignment val ) {
+ HRESULT _hr = put_Alignment(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVAlignment ILDisplayCommon::GetAlignment ( ) {
+ enum LPVAlignment _result;
+ HRESULT _hr = get_Alignment(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::SetSize ( int w, int h ) {
+ HRESULT _hr = raw_SetSize(w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::FitInView ( int tlx, int tly, int w, int h, enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitInView(tlx, tly, w, h, alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::FitToWindow ( enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitToWindow(alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::Refresh ( ) {
+ HRESULT _hr = raw_Refresh();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::RefreshImmediate ( ) {
+ HRESULT _hr = raw_RefreshImmediate();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILDisplayCommon::SaveWindowToFile ( _bstr_t filename ) {
+ int _result = 0;
+ HRESULT _hr = raw_SaveWindowToFile(filename, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplayCommon::SaveSceneToFile ( _bstr_t filename, double ZoomX, double ZoomY ) {
+ int _result = 0;
+ HRESULT _hr = raw_SaveSceneToFile(filename, ZoomX, ZoomY, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::SetDisplayFlag ( enum LPVDisplayFlags flag, VARIANT_BOOL enable ) {
+ HRESULT _hr = raw_SetDisplayFlag(flag, enable);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline int ILDisplayCommon::AddReferenceLineH ( double position, double relativePosition, VARIANT_BOOL attached, OLE_COLOR clr ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddReferenceLineH(position, relativePosition, attached, clr, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplayCommon::AddReferenceLineV ( double position, double relativePosition, VARIANT_BOOL attached, OLE_COLOR clr ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddReferenceLineV(position, relativePosition, attached, clr, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplayCommon::RemoveReferenceLine ( int refLineId ) {
+ HRESULT _hr = raw_RemoveReferenceLine(refLineId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::RemoveAllReferenceLine ( ) {
+ HRESULT _hr = raw_RemoveAllReferenceLine();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::ShowDialog ( _bstr_t dialogName, int x, int y, int w, int h ) {
+ HRESULT _hr = raw_ShowDialog(dialogName, x, y, w, h);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplayCommon::ShowDialogAsync ( _bstr_t dialogName, int x, int y, int w, int h, int refreshInterval ) {
+ HRESULT _hr = raw_ShowDialogAsync(dialogName, x, y, w, h, refreshInterval);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline void ILDisplayCommon::PutDrawingEnabled ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_DrawingEnabled(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplayCommon::GetDrawingEnabled ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_DrawingEnabled(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILDisplayCommon::PutAutoRefreshEnabled ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_AutoRefreshEnabled(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplayCommon::GetAutoRefreshEnabled ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_AutoRefreshEnabled(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+//
+// interface ILDisplay wrapper method implementations
+//
+
+inline void ILDisplay::PutKeepAspectRatio ( VARIANT_BOOL val ) {
+ HRESULT _hr = put_KeepAspectRatio(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline VARIANT_BOOL ILDisplay::GetKeepAspectRatio ( ) {
+ VARIANT_BOOL _result = 0;
+ HRESULT _hr = get_KeepAspectRatio(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline int ILDisplay::GetPixelUnderMouse ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PixelUnderMouse(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::SetImage ( IDispatch * image ) {
+ HRESULT _hr = raw_SetImage(image);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveImage ( ) {
+ HRESULT _hr = raw_RemoveImage();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetImage ( ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetImage(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline int ILDisplay::AddRegion ( IDispatch * region, VARIANT_BOOL interactable ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddRegion(region, interactable, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::RemoveRegion ( IDispatch * region ) {
+ HRESULT _hr = raw_RemoveRegion(region);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveRegionByID ( int regionId ) {
+ HRESULT _hr = raw_RemoveRegionByID(regionId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveAllRegions ( ) {
+ HRESULT _hr = raw_RemoveAllRegions();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetRegionByID ( int regionId ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetRegionByID(regionId, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline int ILDisplay::AddObject ( IDispatch * drawable, int drawFlags ) {
+ int _result = 0;
+ HRESULT _hr = raw_AddObject(drawable, drawFlags, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline HRESULT ILDisplay::RemoveObject ( IDispatch * drawable ) {
+ HRESULT _hr = raw_RemoveObject(drawable);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveObjectByID ( int objectId ) {
+ HRESULT _hr = raw_RemoveObjectByID(objectId);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::RemoveAllObjects ( ) {
+ HRESULT _hr = raw_RemoveAllObjects();
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline IDispatchPtr ILDisplay::GetObjectByID ( int objectId ) {
+ IDispatch * _result = 0;
+ HRESULT _hr = raw_GetObjectByID(objectId, &_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return IDispatchPtr(_result, false);
+}
+
+inline HRESULT ILDisplay::FitInViewObject ( IDispatch * object, enum LPVAlignment alignFlags ) {
+ HRESULT _hr = raw_FitInViewObject(object, alignFlags);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::ClientToImage ( int x, int y, double * imageX, double * imageY ) {
+ HRESULT _hr = raw_ClientToImage(x, y, imageX, imageY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+inline HRESULT ILDisplay::ImageToClient ( double imageX, double imageY, int * x, int * y ) {
+ HRESULT _hr = raw_ImageToClient(imageX, imageY, x, y);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// interface ILText wrapper method implementations
+//
+
+inline _bstr_t ILText::GetText ( ) {
+ BSTR _result = 0;
+ HRESULT _hr = get_Text(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _bstr_t(_result, false);
+}
+
+inline void ILText::PutText ( _bstr_t val ) {
+ HRESULT _hr = put_Text(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILText::GetPosX ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PosX(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutPosX ( int val ) {
+ HRESULT _hr = put_PosX(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline int ILText::GetPosY ( ) {
+ int _result = 0;
+ HRESULT _hr = get_PosY(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutPosY ( int val ) {
+ HRESULT _hr = put_PosY(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline enum LPVAlignment ILText::GetAlignment ( ) {
+ enum LPVAlignment _result;
+ HRESULT _hr = get_Alignment(&_result);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _result;
+}
+
+inline void ILText::PutAlignment ( enum LPVAlignment val ) {
+ HRESULT _hr = put_Alignment(val);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+}
+
+inline HRESULT ILText::Draw ( void * hdc, double ZoomX, double ZoomY, double PanX, double PanY ) {
+ HRESULT _hr = raw_Draw(hdc, ZoomX, ZoomY, PanX, PanY);
+ if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
+ return _hr;
+}
+
+//
+// dispinterface ILDisplayEvents wrapper method implementations
+//
+
+inline HRESULT ILDisplayEvents::Refreshed ( ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8101, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseDown ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8102, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseUp ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8103, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseDoubleClick ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8104, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseMove ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8105, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003", buttons, modifiers, x, y);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::MouseWheel ( enum LPVMouseButton buttons, enum LPVKeyboardModifiers modifiers, int x, int y, int delta ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8106, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003\x0003\x0003\x0003", buttons, modifiers, x, y, delta);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::KeyDown ( int keyCode, enum LPVKeyboardModifiers modifiers ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8107, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003", keyCode, modifiers);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::KeyUp ( int keyCode, enum LPVKeyboardModifiers modifiers ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8108, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003\x0003", keyCode, modifiers);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionDragging ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8120, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionDragFinished ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8121, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionRemoving ( int regionId ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8122, DISPATCH_METHOD, VT_ERROR, (void*)&_result,
+ L"\x0003", regionId);
+ return _result;
+}
+
+inline HRESULT ILDisplayEvents::RegionRemovingAll ( ) {
+ HRESULT _result = 0;
+ _com_dispatch_method(this, 0x8123, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
+ return _result;
+}
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tlh
index 978868e..841ee97 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tlh
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tlh
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (8aeba44d).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (c21ddf40).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeom.tlh
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeom.tlh
//
-// C++ source equivalent of Win32 type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// C++ source equivalent of type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
//
// Cross-referenced type libraries:
@@ -1491,6 +1491,6 @@ ILArc : IDispatch
// Wrapper method implementations
//
-#include "d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeom.tli"
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeom.tli"
#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tli
index aa48894..9e05c3c 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tli
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeom.tli
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (8aeba44d).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (c21ddf40).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeom.tli
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeom.tli
//
-// Wrapper implementations for Win32 type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// Wrapper implementations for type library 8955aafb-4602-4d6a-a888-69d1437c4d2b
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tlh
index 66d3489..c2a28ed 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tlh
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tlh
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (739a92f1).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (96ebe6e1).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tlh
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tlh
//
-// C++ source equivalent of Win32 type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// C++ source equivalent of type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
//
// Cross-referenced type libraries:
@@ -373,6 +373,6 @@ LPolygonClipper;
// Wrapper method implementations
//
-#include "d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tli"
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tli"
#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tli
index 20d29fe..672e081 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tli
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvGeomX.tli
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (739a92f1).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (96ebe6e1).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tli
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvGeomX.tli
//
-// Wrapper implementations for Win32 type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// Wrapper implementations for type library 02517f91-b197-4cd5-a1b5-92d1da6ca9ce
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tlh
index 0ca280c..bfd0924 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tlh
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tlh
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (656e3eff).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (55c2a25e).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tlh
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tlh
//
-// C++ source equivalent of Win32 type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// C++ source equivalent of type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
//
// Cross-referenced type libraries:
@@ -1082,6 +1082,6 @@ LBGSubtract;
// Wrapper method implementations
//
-#include "d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tli"
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tli"
#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tli
index a46ab62..3be6642 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tli
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvImgProc.tli
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (656e3eff).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (55c2a25e).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tli
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvImgProc.tli
//
-// Wrapper implementations for Win32 type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// Wrapper implementations for type library 29c8366a-f227-4cc4-bdbb-b32397056cf5
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tlh b/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tlh
index 646aa30..cf8d16f 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tlh
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tlh
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (6e2a7e5e).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (2ea70699).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvPat.tlh
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvPat.tlh
//
-// C++ source equivalent of Win32 type library 799860e5-cec7-4d65-9c62-a93320c0f60a
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// C++ source equivalent of type library 799860e5-cec7-4d65-9c62-a93320c0f60a
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
//
// Cross-referenced type libraries:
@@ -470,6 +470,6 @@ ILMatch : ILObject
// Wrapper method implementations
//
-#include "d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvPat.tli"
+#include "d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvPat.tli"
#pragma pack(pop)
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tli b/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tli
index 1a7f87c..f6a908e 100644
--- a/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tli
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/lpvPat.tli
@@ -1,9 +1,9 @@
-// Created by Microsoft (R) C/C++ Compiler Version 14.16.27051.0 (6e2a7e5e).
+// Created by Microsoft (R) C/C++ Compiler Version 14.16.27050.0 (2ea70699).
//
-// d:\code\logistics\smokeboxidentification\tpvs17\smokeboxidentification\x64\release\lpvPat.tli
+// d:\git\hzleaper\smokebox\tpvs17\smokeboxidentification\x64\release\lpvPat.tli
//
-// Wrapper implementations for Win32 type library 799860e5-cec7-4d65-9c62-a93320c0f60a
-// compiler-generated file created 12/28/23 at 14:09:51 - DO NOT EDIT!
+// Wrapper implementations for type library 799860e5-cec7-4d65-9c62-a93320c0f60a
+// compiler-generated file created 03/01/24 at 14:31:19 - DO NOT EDIT!
#pragma once
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/main.obj b/tpvs17/SmokeBoxIdentification/x64/Release/main.obj
index 2b7adab..dd139bc 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/main.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/main.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_ADModule.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_ADModule.obj
index fdfefd8..36b6efe 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_ADModule.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_ADModule.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_Camera.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_Camera.obj
index 323a426..a10f507 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_Camera.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_Camera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CameraControl.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CameraControl.obj
index e253263..4a6f90d 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CameraControl.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CameraControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CategoryMatcher.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CategoryMatcher.obj
index 6f8b511..92f8425 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CategoryMatcher.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CategoryMatcher.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CodeScanStation.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CodeScanStation.obj
index 56187c7..fb2506c 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_CodeScanStation.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_CodeScanStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_HeightCalculate.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_HeightCalculate.obj
new file mode 100644
index 0000000..b73c1f5
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_HeightCalculate.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_HikCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_HikCamera.obj
index 995226e..999a5e1 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_HikCamera.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_HikCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_LXCamera.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_LXCamera.obj
new file mode 100644
index 0000000..04e9b1a
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_LXCamera.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_NetControl.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_NetControl.obj
index 2640406..aadb1b1 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_NetControl.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_NetControl.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_QNumTemplateBuild.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_QNumTemplateBuild.obj
index a5ab110..1974c9d 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_QNumTemplateBuild.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_QNumTemplateBuild.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_SmokeBoxIdentification.obj
index c02b195..4346f4f 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_SmokeBoxIdentification.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/moc_lpSerialStation.obj b/tpvs17/SmokeBoxIdentification/x64/Release/moc_lpSerialStation.obj
index ebb1b9d..96a1128 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/moc_lpSerialStation.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/moc_lpSerialStation.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/qtvars_x64_Release.props b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/qtvars_x64_Release.props
new file mode 100644
index 0000000..70be929
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/qtvars_x64_Release.props
@@ -0,0 +1,60 @@
+
+
+_WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;NDEBUG
+C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc
+
+MultiThreadedDLL
+-Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding
+D:\Qt\5.9.4\msvc2017_64\lib\qtmain.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtras.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quick.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Gui.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSockets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qml.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Network.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPort.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Core.lib
+"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
+
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/Docs/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64/include
+D:/Qt/5.9.4/msvc2017_64/lib
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/tests
+D:/Qt/5.9.4/msvc2017_64/plugins
+D:/Qt/5.9.4/msvc2017_64/imports
+D:/Qt/5.9.4/msvc2017_64/qml
+D:/Qt/5.9.4/msvc2017_64/translations
+
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/lib
+win32-msvc
+win32-msvc
+3.1
+5.9.4
+$(Qt_INCLUDEPATH_);.\GeneratedFiles\Release;.\GeneratedFiles
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
+ bin
+ bin
+
+
+ DEFINES=/Project/ItemDefinitionGroup/ClCompile/PreprocessorDefinitions;INCLUDEPATH=/Project/ItemDefinitionGroup/ClCompile/AdditionalIncludeDirectories;STDCPP=/Project/ItemDefinitionGroup/ClCompile/LanguageStandard;RUNTIME=/Project/ItemDefinitionGroup/ClCompile/RuntimeLibrary;CL_OPTIONS=/Project/ItemDefinitionGroup/ClCompile/AdditionalOptions;LIBS=/Project/ItemDefinitionGroup/Link/AdditionalDependencies;LINK_OPTIONS=/Project/ItemDefinitionGroup/Link/AdditionalOptions
+
+ release
+ 5.9.4
+ 5
+ 9
+ 4
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/.qmake.stash b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/.qmake.stash
new file mode 100644
index 0000000..a552838
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/.qmake.stash
@@ -0,0 +1,7 @@
+QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
+QMAKE_CXX.QMAKE_MSC_VER = 1916
+QMAKE_CXX.QMAKE_MSC_FULL_VER = 191627050
+QMAKE_CXX.COMPILER_MACROS = \
+ QT_COMPILER_STDCXX \
+ QMAKE_MSC_VER \
+ QMAKE_MSC_FULL_VER
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/B12702AD-ABFB-343A-A199-8E24837244A3.SmokeBoxIdentification.designtime.idx b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/B12702AD-ABFB-343A-A199-8E24837244A3.SmokeBoxIdentification.designtime.idx
new file mode 100644
index 0000000..9298f0c
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/B12702AD-ABFB-343A-A199-8E24837244A3.SmokeBoxIdentification.designtime.idx
@@ -0,0 +1 @@
+C:\Users\昊天\AppData\Local\Temp\qyym1kls.lyk.designtime.props
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/main.qml b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/main.qml
new file mode 100644
index 0000000..9d2eeb2
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/main.qml
@@ -0,0 +1,2 @@
+import QtQuick
+DummyQmlObject { }
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/moc_predefs.h.cbt b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/moc_predefs.h.cbt
new file mode 100644
index 0000000..693383c
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/moc_predefs.h.cbt
@@ -0,0 +1 @@
+This is a dummy file needed to create ./moc_predefs.h
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/props.txt b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/props.txt
new file mode 100644
index 0000000..51266f9
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/props.txt
@@ -0,0 +1,25 @@
+QT_SYSROOT:
+QT_INSTALL_PREFIX:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_ARCHDATA:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_DATA:D:/Qt/5.9.4/msvc2017_64
+QT_INSTALL_DOCS:D:/Qt/Docs/Qt-5.9.4
+QT_INSTALL_HEADERS:D:/Qt/5.9.4/msvc2017_64/include
+QT_INSTALL_LIBS:D:/Qt/5.9.4/msvc2017_64/lib
+QT_INSTALL_LIBEXECS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_INSTALL_BINS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_INSTALL_TESTS:D:/Qt/5.9.4/msvc2017_64/tests
+QT_INSTALL_PLUGINS:D:/Qt/5.9.4/msvc2017_64/plugins
+QT_INSTALL_IMPORTS:D:/Qt/5.9.4/msvc2017_64/imports
+QT_INSTALL_QML:D:/Qt/5.9.4/msvc2017_64/qml
+QT_INSTALL_TRANSLATIONS:D:/Qt/5.9.4/msvc2017_64/translations
+QT_INSTALL_CONFIGURATION:
+QT_INSTALL_EXAMPLES:D:/Qt/Examples/Qt-5.9.4
+QT_INSTALL_DEMOS:D:/Qt/Examples/Qt-5.9.4
+QT_HOST_PREFIX:D:/Qt/5.9.4/msvc2017_64
+QT_HOST_DATA:D:/Qt/5.9.4/msvc2017_64
+QT_HOST_BINS:D:/Qt/5.9.4/msvc2017_64/bin
+QT_HOST_LIBS:D:/Qt/5.9.4/msvc2017_64/lib
+QMAKE_SPEC:win32-msvc
+QMAKE_XSPEC:win32-msvc
+QMAKE_VERSION:3.1
+QT_VERSION:5.9.4
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qml.qrc b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qml.qrc
new file mode 100644
index 0000000..5f6483a
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qml.qrc
@@ -0,0 +1,5 @@
+
+
+ main.qml
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.log b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.log
new file mode 100644
index 0000000..e261e53
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.log
@@ -0,0 +1,3 @@
+Info: creating stash file C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv\.qmake.stash
+ϵͳÕÒ²»µ½Ö¸¶¨µÄ·¾¶¡£
+ϵͳÕÒ²»µ½Ö¸¶¨µÄ·¾¶¡£
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.pro b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.pro
new file mode 100644
index 0000000..07c40d0
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.pro
@@ -0,0 +1,6 @@
+CONFIG += no_fixpath
+QT += core network gui widgets serialport websockets winextras quickwidgets
+
+
+
+ RESOURCES += qml.qrc
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj
new file mode 100644
index 0000000..451c46a
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj
@@ -0,0 +1,96 @@
+
+
+
+
+ Release
+ x64
+
+
+
+
+ qtvars
+ Qt4VSv1.0
+
+
+
+ v141
+ .\
+ false
+ NotSet
+ Application
+ qtvars
+
+
+
+
+
+
+
+
+ .\
+ qtvars
+ true
+ false
+
+
+
+ C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc;%(AdditionalIncludeDirectories)
+ -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding %(AdditionalOptions)
+ .\
+ false
+ None
+ Sync
+ .\
+ MaxSpeed
+ _WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions)
+ false
+
+ MultiThreadedDLL
+ true
+ true
+ TurnOffAllWarnings
+
+
+ D:\Qt\5.9.4\msvc2017_64\lib\qtmain.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtras.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quick.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Gui.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSockets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qml.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Network.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPort.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Core.lib;%(AdditionalDependencies)
+ D:\Qt\5.9.4\msvc2017_64\lib;C:\utils\my_sql\my_sql\lib;C:\utils\postgresql\pgsql\lib;%(AdditionalLibraryDirectories)
+ "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)
+ true
+ false
+ true
+ false
+ $(OutDir)\qtvars.exe
+ true
+ Windows
+ true
+
+
+ Unsigned
+ None
+ 0
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;%(PreprocessorDefinitions)
+
+
+
+
+ Document
+ D:\Qt\5.9.4\msvc2017_64\mkspecs\features\data\dummy.cpp;%(AdditionalInputs)
+ cl -BxD:\Qt\5.9.4\msvc2017_64\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -O2 -MD -W0 -E D:\Qt\5.9.4\msvc2017_64\mkspecs\features\data\dummy.cpp 2>NUL >moc_predefs.h
+ Generate moc_predefs.h
+ moc_predefs.h;%(Outputs)
+
+
+
+
+
+ Document
+ qml.qrc;D:\Qt\5.9.4\msvc2017_64\bin\rcc.exe;%(AdditionalInputs)
+ D:\Qt\5.9.4\msvc2017_64\bin\rcc.exe -name qml qml.qrc -o qrc_qml.cpp
+ RCC qml.qrc
+ qrc_qml.cpp;%(Outputs)
+
+
+
+
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj.filters b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj.filters
new file mode 100644
index 0000000..60c28f2
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars.vcxproj.filters
@@ -0,0 +1,27 @@
+
+
+
+
+ {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
+ cpp;c;cxx;moc;h;def;odl;idl;res;
+
+
+ {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}
+ qrc;*
+ false
+
+
+
+
+ Generated Files
+
+
+ Generated Files
+
+
+
+
+ Resource Files
+
+
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars_x64_Release.props b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars_x64_Release.props
new file mode 100644
index 0000000..70be929
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/qmake/temp/qtvars_x64_Release.props
@@ -0,0 +1,60 @@
+
+
+_WINDOWS;UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;QT_QUICKWIDGETS_LIB;QT_WIDGETS_LIB;QT_WINEXTRAS_LIB;QT_QUICK_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_SERIALPORT_LIB;QT_CORE_LIB;NDEBUG
+C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\include;D:\Qt\5.9.4\msvc2017_64\include\QtQuickWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWidgets;D:\Qt\5.9.4\msvc2017_64\include\QtWinExtras;D:\Qt\5.9.4\msvc2017_64\include\QtQuick;D:\Qt\5.9.4\msvc2017_64\include\QtGui;D:\Qt\5.9.4\msvc2017_64\include\QtANGLE;D:\Qt\5.9.4\msvc2017_64\include\QtWebSockets;D:\Qt\5.9.4\msvc2017_64\include\QtQml;D:\Qt\5.9.4\msvc2017_64\include\QtNetwork;D:\Qt\5.9.4\msvc2017_64\include\QtSerialPort;D:\Qt\5.9.4\msvc2017_64\include\QtCore;C:\Users\??\AppData\Local\Temp\2gvcjxqj.2mv;D:\Qt\5.9.4\msvc2017_64\mkspecs\win32-msvc
+
+MultiThreadedDLL
+-Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding
+D:\Qt\5.9.4\msvc2017_64\lib\qtmain.lib;shell32.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5QuickWidgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Widgets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WinExtras.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Quick.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Gui.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5WebSockets.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Qml.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Network.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5SerialPort.lib;D:\Qt\5.9.4\msvc2017_64\lib\Qt5Core.lib
+"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
+
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/Docs/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64/include
+D:/Qt/5.9.4/msvc2017_64/lib
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/tests
+D:/Qt/5.9.4/msvc2017_64/plugins
+D:/Qt/5.9.4/msvc2017_64/imports
+D:/Qt/5.9.4/msvc2017_64/qml
+D:/Qt/5.9.4/msvc2017_64/translations
+
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/Examples/Qt-5.9.4
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64
+D:/Qt/5.9.4/msvc2017_64/bin
+D:/Qt/5.9.4/msvc2017_64/lib
+win32-msvc
+win32-msvc
+3.1
+5.9.4
+$(Qt_INCLUDEPATH_);.\GeneratedFiles\Release;.\GeneratedFiles
+ 5.9.4_msvc2017_64
+ core;network;gui;widgets;serialport;websockets;winextras;quickwidgets
+ bin
+ bin
+
+
+ DEFINES=/Project/ItemDefinitionGroup/ClCompile/PreprocessorDefinitions;INCLUDEPATH=/Project/ItemDefinitionGroup/ClCompile/AdditionalIncludeDirectories;STDCPP=/Project/ItemDefinitionGroup/ClCompile/LanguageStandard;RUNTIME=/Project/ItemDefinitionGroup/ClCompile/RuntimeLibrary;CL_OPTIONS=/Project/ItemDefinitionGroup/ClCompile/AdditionalOptions;LIBS=/Project/ItemDefinitionGroup/Link/AdditionalDependencies;LINK_OPTIONS=/Project/ItemDefinitionGroup/Link/AdditionalOptions
+
+ release
+ 5.9.4
+ 5
+ 9
+ 4
+
+
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qrc_SmokeBoxIdentification.obj b/tpvs17/SmokeBoxIdentification/x64/Release/qrc_SmokeBoxIdentification.obj
index a0a02eb..2a078c4 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/qrc_SmokeBoxIdentification.obj and b/tpvs17/SmokeBoxIdentification/x64/Release/qrc_SmokeBoxIdentification.obj differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/qt_work.log b/tpvs17/SmokeBoxIdentification/x64/Release/qt_work.log
index f7838b1..d4b964d 100644
Binary files a/tpvs17/SmokeBoxIdentification/x64/Release/qt_work.log and b/tpvs17/SmokeBoxIdentification/x64/Release/qt_work.log differ
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/smokeBox.exe.recipe b/tpvs17/SmokeBoxIdentification/x64/Release/smokeBox.exe.recipe
new file mode 100644
index 0000000..1f6a264
--- /dev/null
+++ b/tpvs17/SmokeBoxIdentification/x64/Release/smokeBox.exe.recipe
@@ -0,0 +1,11 @@
+
+
+
+
+ D:\git\hzleaper\smokebox\runner17\Release\smokeBox.exe
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tpvs17/SmokeBoxIdentification/x64/Release/vc141.pdb b/tpvs17/SmokeBoxIdentification/x64/Release/vc141.pdb
new file mode 100644
index 0000000..79c7fc5
Binary files /dev/null and b/tpvs17/SmokeBoxIdentification/x64/Release/vc141.pdb differ
diff --git a/tpvs17/lpSerial/lp_serial.qtvscr b/tpvs17/lpSerial/lp_serial.qtvscr
new file mode 100644
index 0000000..7a22312
--- /dev/null
+++ b/tpvs17/lpSerial/lp_serial.qtvscr
@@ -0,0 +1,1227 @@
+
+
+
+
+
+ Qt Visual Studio Tools
+
+
+ Project Format Conversion
+
+
+ Report generated on 2024-03-01 11:42:21
+
+
+
+
+ Files
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ Changes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>]]>
+
+
+
+
+ ]]>]]>
+
+
+
+
+
+
+
+
+
+ ]]>]]>
+
+
+
+
+ ]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Qt4VSv1.0]]>
+
+
+
+
+ QtVS_v304]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(MSBuildProjectDirectory)\QtMsBuild]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(MSBuildProjectDirectory)\QtMsBuild]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectName)d]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectName)d]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ msvc2017_qt-5.9.4-x64]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ msvc2017_qt-5.9.4-x64]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .;.\GeneratedFiles]]>]]>
+
+
+
+
+ .;.\GeneratedFiles]]>]]>
+
+
+
+
+
+
+
+
+
+ .;.\GeneratedFiles]]>]]>
+
+
+
+
+ .;.\GeneratedFiles]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ qtmaind.lib;Qt5Cored.lib;Qt5SerialPortd.lib;%]]>]]>
+
+
+
+
+ %]]>]]>
+
+
+
+
+
+
+
+
+
+ qtmain.lib;Qt5Core.lib;Qt5SerialPort.lib;%]]>]]>
+
+
+
+
+ %]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib;%]]>]]>
+
+
+
+
+ %]]>]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib;%]]>]]>
+
+
+
+
+ %]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core;serialport]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ core;serialport]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ C:\Qt\Qt5.9.4\5.9.4\msvc2017_64]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ PATH=$(QTDIR)\bin%3b$(PATH)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ C:\Qt\Qt5.9.4\5.9.4\msvc2017_64]]>
+
+
+
+
+
+
+
+
+
+ PATH=$(QTDIR)\bin%3b$(PATH)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ Dir and FileName]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;LP_SERIAL_LIB;%(PreprocessorDefinitions)]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;NDEBUG;LP_SERIAL_LIB;%(PreprocessorDefinitions)]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)]]>
+
+
+
+
+
+
+
+
+
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tpvs17/lpSerial/lp_serial.vcxproj b/tpvs17/lpSerial/lp_serial.vcxproj
index 88c4abe..9eb49d6 100644
--- a/tpvs17/lpSerial/lp_serial.vcxproj
+++ b/tpvs17/lpSerial/lp_serial.vcxproj
@@ -31,50 +31,56 @@
{10198138-A8F3-408B-9359-C33C121E7EC2}
- Qt4VSv1.0
+ QtVS_v304
10.0.17763.0
lpSerial
+ $(MSBuildProjectDirectory)\QtMsBuild
DynamicLibrary
- v142
+ v141
DynamicLibrary
v141
-
- $(MSBuildProjectDirectory)\QtMsBuild
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(ProjectName)d
+
+
+ msvc2017_qt-5.9.4-x64
+ core;serialport
-
- $(SolutionDir)$(Platform)\$(Configuration)\
+
+ msvc2017_qt-5.9.4-x64
+ core;serialport
-
+
-
-
-
+
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(ProjectName)d
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+
true
UNICODE;_UNICODE;WIN32;WIN64;LP_SERIAL_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
+ .;.\GeneratedFiles;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
Disabled
ProgramDatabase
MultiThreadedDebugDLL
@@ -83,22 +89,21 @@
Windows
$(OutDir)\$(TargetName)$(TargetExt)
- $(QTDIR)\lib;%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
- qtmaind.lib;Qt5Cored.lib;Qt5SerialPortd.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
- UNICODE;_UNICODE;WIN32;WIN64;LP_SERIAL_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
- .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
Moc'ing %(Identity)...
+ .\GeneratedFiles\$(ConfigurationName)
+ moc_%(Filename).cpp
true
UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;NDEBUG;LP_SERIAL_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
+ .;.\GeneratedFiles;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
MultiThreadedDLL
true
@@ -106,26 +111,23 @@
Windows
$(OutDir)\$(TargetName)$(TargetExt)
- $(QTDIR)\lib;%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
false
- qtmain.lib;Qt5Core.lib;Qt5SerialPort.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
- UNICODE;_UNICODE;WIN32;WIN64;QT_NO_DEBUG;NDEBUG;LP_SERIAL_LIB;%(PreprocessorDefinitions)
- .\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtSerialPort;.\GeneratedFiles\$(ConfigurationName);$(SolutionDir)..\src\lpSerial;$(SolutionDir)..\src\lpSerial\include;%(AdditionalIncludeDirectories)
- .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
Moc'ing %(Identity)...
+ .\GeneratedFiles\$(ConfigurationName)
+ moc_%(Filename).cpp
-
-
-
+
-
+
\ No newline at end of file
diff --git a/tpvs17/lpSerial/lp_serial.vcxproj.user b/tpvs17/lpSerial/lp_serial.vcxproj.user
index 3134de2..0e03881 100644
--- a/tpvs17/lpSerial/lp_serial.vcxproj.user
+++ b/tpvs17/lpSerial/lp_serial.vcxproj.user
@@ -1,12 +1,6 @@

-
- C:\Qt\Qt5.9.4\5.9.4\msvc2017_64
- PATH=$(QTDIR)\bin%3b$(PATH)
-
-
- C:\Qt\Qt5.9.4\5.9.4\msvc2017_64
- PATH=$(QTDIR)\bin%3b$(PATH)
-
+
+
\ No newline at end of file
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.10632.write.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.10632.write.1.tlog
new file mode 100644
index 0000000..04e0ac4
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.10632.write.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.command.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..917ff6a
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.command.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.read.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..f759809
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/CL.read.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.command.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.command.1.tlog
new file mode 100644
index 0000000..b90bea3
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.command.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.read.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.read.1.tlog
new file mode 100644
index 0000000..459d411
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.read.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.write.1.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.write.1.tlog
new file mode 100644
index 0000000..ef795be
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/link.write.1.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.lastbuildstate b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.lastbuildstate
new file mode 100644
index 0000000..29575c3
--- /dev/null
+++ b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|D:\git\hzleaper\smokebox\tpvs17\|
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.write.1u.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.write.1u.tlog
new file mode 100644
index 0000000..aa046bd
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/lpSerial.write.1u.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.read.1u.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.read.1u.tlog
new file mode 100644
index 0000000..d969ea6
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.read.1u.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.write.1u.tlog b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.write.1u.tlog
new file mode 100644
index 0000000..1ae14a6
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lpSerial.tlog/moc.write.1u.tlog differ
diff --git a/tpvs17/lpSerial/x64/Debug/lpSeriald.Build.CppClean.log b/tpvs17/lpSerial/x64/Debug/lpSeriald.Build.CppClean.log
new file mode 100644
index 0000000..e69de29
diff --git a/tpvs17/lpSerial/x64/Debug/lp_analysis.obj b/tpvs17/lpSerial/x64/Debug/lp_analysis.obj
new file mode 100644
index 0000000..4faef19
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lp_analysis.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/lp_serial.log b/tpvs17/lpSerial/x64/Debug/lp_serial.log
new file mode 100644
index 0000000..99b97e1
--- /dev/null
+++ b/tpvs17/lpSerial/x64/Debug/lp_serial.log
@@ -0,0 +1,16 @@
+ Reading Qt configuration (D:/Qt/5.9.4/msvc2017_64/bin/qmake)
+ Moc'ing ..\..\src\lpSerial\lp_analysis.h...
+ Moc'ing ..\..\src\lpSerial\lp_serial.h...
+ Moc'ing ..\..\src\lpSerial\include\lp_ISerial.h...
+ Moc'ing ..\..\src\lpSerial\include\lp_serial_manager.h...
+ lp_analysis.cpp
+ lp_serial.cpp
+ lp_serial_manager.cpp
+d:\git\hzleaper\smokebox\src\lpserial\lp_analysis.cpp(85): warning C4838: 从“intâ€è½¬æ¢åˆ°â€œconst charâ€éœ€è¦æ”¶ç¼©è½¬æ¢
+d:\git\hzleaper\smokebox\src\lpserial\lp_analysis.cpp(150): warning C4838: 从“intâ€è½¬æ¢åˆ°â€œcharâ€éœ€è¦æ”¶ç¼©è½¬æ¢
+ moc_lp_analysis.cpp
+ moc_lp_serial.cpp
+ moc_lp_ISerial.cpp
+ moc_lp_serial_manager.cpp
+ æ£åœ¨åˆ›å»ºåº“ D:\git\hzleaper\smokebox\tpvs17\x64\Debug\lpSeriald.lib 和对象 D:\git\hzleaper\smokebox\tpvs17\x64\Debug\lpSeriald.exp
+ lp_serial.vcxproj -> D:\git\hzleaper\smokebox\tpvs17\x64\Debug\lpSeriald.dll
diff --git a/tpvs17/lpSerial/x64/Debug/lp_serial.obj b/tpvs17/lpSerial/x64/Debug/lp_serial.obj
new file mode 100644
index 0000000..f82b842
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lp_serial.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/lp_serial.vcxproj.FileListAbsolute.txt b/tpvs17/lpSerial/x64/Debug/lp_serial.vcxproj.FileListAbsolute.txt
new file mode 100644
index 0000000..e69de29
diff --git a/tpvs17/lpSerial/x64/Debug/lp_serial_manager.obj b/tpvs17/lpSerial/x64/Debug/lp_serial_manager.obj
new file mode 100644
index 0000000..cb40ccd
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/lp_serial_manager.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/moc_lp_ISerial.obj b/tpvs17/lpSerial/x64/Debug/moc_lp_ISerial.obj
new file mode 100644
index 0000000..aee0d4a
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/moc_lp_ISerial.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/moc_lp_analysis.obj b/tpvs17/lpSerial/x64/Debug/moc_lp_analysis.obj
new file mode 100644
index 0000000..0c4665b
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/moc_lp_analysis.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/moc_lp_serial.obj b/tpvs17/lpSerial/x64/Debug/moc_lp_serial.obj
new file mode 100644
index 0000000..6bc74a2
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/moc_lp_serial.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/moc_lp_serial_manager.obj b/tpvs17/lpSerial/x64/Debug/moc_lp_serial_manager.obj
new file mode 100644
index 0000000..4c1202f
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/moc_lp_serial_manager.obj differ
diff --git a/tpvs17/lpSerial/x64/Debug/qt_work.log b/tpvs17/lpSerial/x64/Debug/qt_work.log
new file mode 100644
index 0000000..439aec8
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/qt_work.log differ
diff --git a/tpvs17/lpSerial/x64/Debug/vc141.pdb b/tpvs17/lpSerial/x64/Debug/vc141.pdb
new file mode 100644
index 0000000..d43bb27
Binary files /dev/null and b/tpvs17/lpSerial/x64/Debug/vc141.pdb differ
diff --git a/tpvs17/numStatisticAlgo/numStatisticAlgo.vcxproj b/tpvs17/numStatisticAlgo/numStatisticAlgo.vcxproj
index 5e5b675..5a25817 100644
--- a/tpvs17/numStatisticAlgo/numStatisticAlgo.vcxproj
+++ b/tpvs17/numStatisticAlgo/numStatisticAlgo.vcxproj
@@ -51,7 +51,7 @@
StaticLibrary
true
- v142
+ v141
MultiByte
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/cvplot.obj b/tpvs17/numStatisticAlgo/x64/Debug/cvplot.obj
new file mode 100644
index 0000000..4a7b254
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/cvplot.obj differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/dataPreProcessing.obj b/tpvs17/numStatisticAlgo/x64/Debug/dataPreProcessing.obj
new file mode 100644
index 0000000..5976e41
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/dataPreProcessing.obj differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.idb b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.idb
new file mode 100644
index 0000000..c974b9d
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.idb differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.log b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.log
new file mode 100644
index 0000000..1bb12fd
--- /dev/null
+++ b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.log
@@ -0,0 +1,16 @@
+cl : 命令行 warning D9035: “Gmâ€é€‰é¡¹å·²å¦å†³ï¼Œå¹¶å°†åœ¨å°†æ¥çš„版本ä¸ç§»é™¤
+ dataPreProcessing.cpp
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(82): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(145): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œuintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(155): warning C4267: â€œå‚æ•°â€: 从“size_tâ€è½¬æ¢åˆ°â€œuintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(506): warning C4267: “returnâ€: 从“size_tâ€è½¬æ¢åˆ°â€œintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(598): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œuintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(598): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œconst uintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(607): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œuintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\dtw.h(720): warning C4267: “åˆå§‹åŒ–â€: 从“size_tâ€è½¬æ¢åˆ°â€œuintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.cpp(492): warning C4267: â€œå‚æ•°â€: 从“size_tâ€è½¬æ¢åˆ°â€œintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.cpp(493): warning C4267: â€œå‚æ•°â€: 从“size_tâ€è½¬æ¢åˆ°â€œintâ€ï¼Œå¯èƒ½ä¸¢å¤±æ•°æ®
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.cpp(762): warning C4554: “&â€: 检查è¿ç®—符优先级是å¦å˜åœ¨çš„å¯èƒ½çš„错误;使用括å·é˜æ˜Žä¼˜å…ˆçº§
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.cpp(97): warning C4715: “dataPreProcessing::createVisualizedPlotImageâ€: 䏿˜¯æ‰€æœ‰çš„æŽ§ä»¶è·¯å¾„都返回值
+d:\git\hzleaper\smokebox\src\numstatisticalgo\datapreprocessing.cpp(947): warning C4715: “::operator()â€: 䏿˜¯æ‰€æœ‰çš„æŽ§ä»¶è·¯å¾„都返回值
+ numStatisticAlgo.vcxproj -> D:\git\hzleaper\smokebox\tpvs17\x64\Debug\numStatisticAlgod.lib
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.pdb b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.pdb
new file mode 100644
index 0000000..e9da11a
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.pdb differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.command.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.command.1.tlog
new file mode 100644
index 0000000..d99f1c2
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.command.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.read.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.read.1.tlog
new file mode 100644
index 0000000..9c74305
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.read.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.write.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.write.1.tlog
new file mode 100644
index 0000000..8b7bc70
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/CL.write.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.read.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.read.1.tlog
new file mode 100644
index 0000000..c0b4e67
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.read.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.write.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.write.1.tlog
new file mode 100644
index 0000000..d5ee090
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib-link.write.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib.command.1.tlog b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib.command.1.tlog
new file mode 100644
index 0000000..d0b8b2e
Binary files /dev/null and b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/Lib.command.1.tlog differ
diff --git a/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/numStatisticAlgo.lastbuildstate b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/numStatisticAlgo.lastbuildstate
new file mode 100644
index 0000000..29575c3
--- /dev/null
+++ b/tpvs17/numStatisticAlgo/x64/Debug/numStatisticAlgo.tlog/numStatisticAlgo.lastbuildstate
@@ -0,0 +1,2 @@
+#TargetFrameworkVersion=:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
+Debug|x64|D:\git\hzleaper\smokebox\tpvs17\|