diff --git a/.vs/CMake Overview b/.vs/CMake Overview deleted file mode 100644 index e69de29..0000000 diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json deleted file mode 100644 index 8f0d733..0000000 --- a/.vs/ProjectSettings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "CurrentProjectSetting": "x64-Debug" -} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json deleted file mode 100644 index 654120a..0000000 --- a/.vs/VSWorkspaceState.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "OutputFoldersPerTargetSystem": { - "Local Machine": [ - "out\\build\\x64-Debug", - "out\\install\\x64-Debug" - ] - }, - "ExpandedNodes": [ - "" - ], - "SelectedNode": "\\.gitattributes", - "PreviewInSolutionExplorer": false -} \ No newline at end of file diff --git a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/CodeChunks.db b/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/CodeChunks.db deleted file mode 100644 index 048cb40..0000000 Binary files a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/CodeChunks.db and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db b/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db deleted file mode 100644 index 527188c..0000000 Binary files a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-shm b/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-shm deleted file mode 100644 index 0287bf2..0000000 Binary files a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-shm and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-wal b/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-wal deleted file mode 100644 index 5cb806c..0000000 Binary files a/.vs/VolumeProjectorPlugin/CopilotIndices/17.12.38.29086/SemanticSymbols.db-wal and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/FileContentIndex/008368ce-a163-458b-bf5e-3ccfa7186c02.vsidx b/.vs/VolumeProjectorPlugin/FileContentIndex/008368ce-a163-458b-bf5e-3ccfa7186c02.vsidx deleted file mode 100644 index 5425254..0000000 Binary files a/.vs/VolumeProjectorPlugin/FileContentIndex/008368ce-a163-458b-bf5e-3ccfa7186c02.vsidx and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/FileContentIndex/bca5c988-bcaf-4e77-91b6-792fa5a589d9.vsidx b/.vs/VolumeProjectorPlugin/FileContentIndex/bca5c988-bcaf-4e77-91b6-792fa5a589d9.vsidx deleted file mode 100644 index 5d75269..0000000 Binary files a/.vs/VolumeProjectorPlugin/FileContentIndex/bca5c988-bcaf-4e77-91b6-792fa5a589d9.vsidx and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/copilot-chat/2d9b02ea/sessions/28125ff5-5f22-4c81-a870-d0215d74f55f b/.vs/VolumeProjectorPlugin/copilot-chat/2d9b02ea/sessions/28125ff5-5f22-4c81-a870-d0215d74f55f deleted file mode 100644 index dbffac7..0000000 Binary files a/.vs/VolumeProjectorPlugin/copilot-chat/2d9b02ea/sessions/28125ff5-5f22-4c81-a870-d0215d74f55f and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/v17/.wsuo b/.vs/VolumeProjectorPlugin/v17/.wsuo deleted file mode 100644 index 846fc13..0000000 Binary files a/.vs/VolumeProjectorPlugin/v17/.wsuo and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/v17/Browse.VC.db b/.vs/VolumeProjectorPlugin/v17/Browse.VC.db deleted file mode 100644 index bd9b479..0000000 Binary files a/.vs/VolumeProjectorPlugin/v17/Browse.VC.db and /dev/null differ diff --git a/.vs/VolumeProjectorPlugin/v17/DocumentLayout.backup.json b/.vs/VolumeProjectorPlugin/v17/DocumentLayout.backup.json deleted file mode 100644 index 9b3c5f0..0000000 --- a/.vs/VolumeProjectorPlugin/v17/DocumentLayout.backup.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\src\\ExampleViewPlugin.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\src\\ExampleViewPlugin.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 0, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "CMakeLists.txt", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt", - "RelativeDocumentMoniker": "ExampleView\\CMakeLists.txt", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt", - "RelativeToolTip": "ExampleView\\CMakeLists.txt", - "ViewState": "AgIAABIAAAAAAAAAAAAAABcAAAAhAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003109|", - "WhenOpened": "2025-01-06T21:10:53.325Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "CMakeLists.txt", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt", - "RelativeDocumentMoniker": "CMakeLists.txt", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt", - "RelativeToolTip": "CMakeLists.txt", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAcAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003109|", - "WhenOpened": "2025-01-06T21:10:41.307Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 2, - "Title": "vcpkg.cmake", - "DocumentMoniker": "F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "RelativeDocumentMoniker": "..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "ToolTip": "F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "RelativeToolTip": "..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "ViewState": "AgIAAL8CAAAAAAAAAAAjwN4CAAAuAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", - "WhenOpened": "2025-01-06T20:53:13.557Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "ExampleViewPlugin.cpp", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp", - "RelativeDocumentMoniker": "ExampleView\\src\\ExampleViewPlugin.cpp", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp", - "RelativeToolTip": "ExampleView\\src\\ExampleViewPlugin.cpp", - "ViewState": "AgIAABgAAAAAAAAAAAAAABsAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2025-01-06T20:33:59.409Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "Title": "ExampleViewPlugin.h", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h", - "RelativeDocumentMoniker": "ExampleView\\src\\ExampleViewPlugin.h", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h", - "RelativeToolTip": "ExampleView\\src\\ExampleViewPlugin.h", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", - "WhenOpened": "2025-01-06T20:33:56.934Z", - "EditorCaption": "" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/.vs/VolumeProjectorPlugin/v17/DocumentLayout.json b/.vs/VolumeProjectorPlugin/v17/DocumentLayout.json deleted file mode 100644 index 5bff4c4..0000000 --- a/.vs/VolumeProjectorPlugin/v17/DocumentLayout.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:CMakeLists.txt||{8B382828-6202-11D1-8870-0000F87579D2}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\src\\ExampleViewPlugin.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:ExampleView\\src\\ExampleViewPlugin.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 2, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "CMakeLists.txt", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt", - "RelativeDocumentMoniker": "ExampleView\\CMakeLists.txt", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\CMakeLists.txt", - "RelativeToolTip": "ExampleView\\CMakeLists.txt", - "ViewState": "AgIAABIAAAAAAAAAAAAAABcAAAAhAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003109|", - "WhenOpened": "2025-01-06T21:10:53.325Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 2, - "Title": "CMakeLists.txt", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt", - "RelativeDocumentMoniker": "CMakeLists.txt", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\CMakeLists.txt", - "RelativeToolTip": "CMakeLists.txt", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAcAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003109|", - "WhenOpened": "2025-01-06T21:10:41.307Z" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "vcpkg.cmake", - "DocumentMoniker": "F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "RelativeDocumentMoniker": "..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "ToolTip": "F:\\Programming\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "RelativeToolTip": "..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake", - "ViewState": "AgIAAG0DAAAAAAAAAAAjwIcDAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", - "WhenOpened": "2025-01-06T20:53:13.557Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "ExampleViewPlugin.cpp", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp", - "RelativeDocumentMoniker": "ExampleView\\src\\ExampleViewPlugin.cpp", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.cpp", - "RelativeToolTip": "ExampleView\\src\\ExampleViewPlugin.cpp", - "ViewState": "AgIAABgAAAAAAAAAAAAAABsAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2025-01-06T20:33:59.409Z" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "Title": "ExampleViewPlugin.h", - "DocumentMoniker": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h", - "RelativeDocumentMoniker": "ExampleView\\src\\ExampleViewPlugin.h", - "ToolTip": "F:\\Programming\\Manivault\\VolumeProjectorPlugin\\ExampleView\\src\\ExampleViewPlugin.h", - "RelativeToolTip": "ExampleView\\src\\ExampleViewPlugin.h", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", - "WhenOpened": "2025-01-06T20:33:56.934Z" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/.vs/VolumeProjectorPlugin/v17/ipch/AutoPCH/f53187dfb6aeb3cb/EXAMPLEVIEWPLUGIN.ipch b/.vs/VolumeProjectorPlugin/v17/ipch/AutoPCH/f53187dfb6aeb3cb/EXAMPLEVIEWPLUGIN.ipch deleted file mode 100644 index 935a7f6..0000000 Binary files a/.vs/VolumeProjectorPlugin/v17/ipch/AutoPCH/f53187dfb6aeb3cb/EXAMPLEVIEWPLUGIN.ipch and /dev/null differ diff --git a/.vs/cmake.db b/.vs/cmake.db deleted file mode 100644 index 59f3d96..0000000 Binary files a/.vs/cmake.db and /dev/null differ diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite deleted file mode 100644 index affb665..0000000 Binary files a/.vs/slnx.sqlite and /dev/null differ diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f5e4c9..6b33b9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,6 @@ cmake_minimum_required(VERSION 3.22) -if(NOT DEFINED MV_DRV_USE_VCPKG) - set(MV_DRV_USE_VCPKG OFF) -elseif(MV_DRV_USE_VCPKG) - message(STATUS "DVRPlugins: Using vcpkg to install dependencies") -endif() - +option(MV_DRV_USE_FAISS "Enable Faiss library integration" OFF) option(MV_UNITY_BUILD "Combine target source files into batches for faster compilation" OFF) set(PROJECT "DVRPlugins") diff --git a/DVRViewPlugin/CMakeLists.txt b/DVRViewPlugin/CMakeLists.txt index 7894744..9acfe19 100644 --- a/DVRViewPlugin/CMakeLists.txt +++ b/DVRViewPlugin/CMakeLists.txt @@ -1,7 +1,5 @@ cmake_minimum_required(VERSION 3.22) -option(MV_DRV_USE_FAISS "Enable Faiss library integration" OFF) # Add this line - # ----------------------------------------------------------------------------- # DVRView Plugin # ----------------------------------------------------------------------------- @@ -28,22 +26,7 @@ endif() # Conda Faiss Integration # ----------------------------------------------------------------------------- if(MV_DRV_USE_FAISS) - # Set the path to your Faiss library. - set(FAISS_DIR "" CACHE PATH "Path to your folder containing the Faiss include and library folders") - if(FAISS_DIR STREQUAL "") - message(FATAL_ERROR "FAISS_DIR is not set. Please set it to your folder that contains the Faiss include and library folders.") - endif() - - if(WIN32) - set(FAISS_INCLUDE_DIR "${FAISS_DIR}/Library/include") - set(FAISS_LIBRARY_DIR "${FAISS_DIR}/Library/lib") - else() - set(FAISS_INCLUDE_DIR "${FAISS_DIR}/include") - set(FAISS_LIBRARY_DIR "${FAISS_DIR}/lib") - endif() - - message(STATUS "Using Faiss include directory: ${FAISS_INCLUDE_DIR}") - message(STATUS "Using Faiss library directory: ${FAISS_LIBRARY_DIR}") + find_package(faiss CONFIG REQUIRED) endif() # ----------------------------------------------------------------------------- diff --git a/README.md b/README.md index 84f85ad..d7bfd6d 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ https://github.com/user-attachments/assets/ce592486-d5a1-4a5e-84f4-011fe753f0fb ## Build instructions - This is a plugin for the [manivault studio framework](https://github.com/ManiVaultStudio). Go to the repository of the framework, and it has extensive explanation about how to build and run plugins for it. -- It has an optional dependency for the [Faiss ANN library](github.com/facebookresearch/faiss) +- It has an optional dependency for the [Faiss ANN library](github.com/facebookresearch/faiss). Set the CMake option `MV_DRV_USE_FAISS` to `ON` and provide a faiss installation. We recommend using [vcpkg](https://github.com/microsoft/vcpkg/) using `CMAKE_TOOLCHAIN_FILE` (`PATH_TO/vcpkg/scripts/buildsystems/vcpkg.cmake`) and the `VCPKG_TARGET_TRIPLET` `x64-windows-static-md`. - Before running the program, you might need to adjust some parameters in the DRVViewPlugin/volumeRenderer.h file: - _fullGPUMemorySize = Tells the program how much VRAM it can use (mainly important for the full data pipeline mode, apart from some warnings). The default is 2 GB - - _hnswIndexFolder = Folder path where it saves/loads the constructed index to/from when using the hnsw ANN library, default: "C:/hnsw_index/" (TODO make this a CMAKE parameter) + - _hnswIndexFolder = Folder path where it saves/loads the constructed index to/from when using the hnsw ANN library, default: "C:/hnsw_index/" (TODO: make this a CMAKE parameter) - _hnswM, _hnswEfConstruction, _hwnsEfSearch = Parameters for the ANN algorithm library that is used for the full data pipeline rendermode - (only if you use FAISS) _nlist, _nprobe, _useFaissANN = Again, parameters for the FAISS ANN algorithms used in the full data pipeline rendermode - You still need to add at least a dimensionality reduction plugin for this plugin to be usable, e.g., [t-SNE](https://github.com/ManiVaultStudio/t-SNE-Analysis) or [UMAP](https://github.com/ManiVaultStudio/UMAP-Plugin) diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000..499ffc1 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "volumeprojectorplugin", + "version": "1.0.0", + "dependencies": [ + "faiss", + "hnswlib" + ], + "builtin-baseline": "c01dc6ea7353758f2ed70df0bc29c97dfc650b3a", + "overrides": [ + { + "name": "faiss", + "version": "1.14.0#0" + }, + { + "name": "hnswlib", + "version": "0.8.0#0" + } + ] +} \ No newline at end of file