-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
473 additions
and
489 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Submodule OrbbecSDK_v2
added at
a79866
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,40 @@ | ||
cmake_minimum_required(VERSION 3.13 FATAL_ERROR) | ||
|
||
if(NOT (WIN32 OR APPLE OR LINUX)) | ||
return() | ||
endif() | ||
|
||
if(NOT TARGET score_lib_base) | ||
include("${SCORE_SOURCE_DIR}/cmake/ScoreExternalAddon.cmake") | ||
endif() | ||
|
||
project(score_addon_orbbec LANGUAGES CXX) | ||
|
||
set(OB_BUILD_EXAMPLES 0) | ||
set(OB_BUILD_TESTS 0) | ||
set(OB_BUILD_DOCS 0) | ||
set(OB_BUILD_TOOLS 0) | ||
add_subdirectory(3rdparty/OrbbecSDK_v2 SYSTEM) | ||
|
||
# General initialization | ||
score_common_setup() | ||
|
||
# Creation of the library | ||
add_library(score_addon_orbbec | ||
Orbbec/Device.cpp | ||
Orbbec/Device.hpp | ||
Orbbec/ProtocolFactory.cpp | ||
Orbbec/ProtocolFactory.hpp | ||
Orbbec/ProtocolSettingsWidget.cpp | ||
Orbbec/ProtocolSettingsWidget.hpp | ||
Orbbec/SpecificSettings.hpp | ||
Orbbec/SpecificSettingsSerialization.cpp | ||
Orbbec/OrbbecInputDevice.hpp | ||
Orbbec/OrbbecInputDevice.cpp | ||
|
||
score_addon_orbbec.hpp | ||
score_addon_orbbec.cpp | ||
) | ||
|
||
# Link | ||
target_link_libraries(score_addon_orbbec PUBLIC score_plugin_engine) | ||
target_link_libraries(score_addon_orbbec PUBLIC | ||
score_plugin_engine | ||
score_plugin_media | ||
score_plugin_gfx | ||
ob::OrbbecSDK | ||
) | ||
|
||
# Target-specific options | ||
setup_score_plugin(score_addon_orbbec) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#pragma once | ||
#include <score/plugins/application/GUIApplicationPlugin.hpp> | ||
|
||
#include <libobsensor/ObSensor.hpp> | ||
|
||
namespace Gfx::Orbbec | ||
{ | ||
class ApplicationPlugin | ||
: public QObject | ||
, public score::GUIApplicationPlugin | ||
{ | ||
public: | ||
using GUIApplicationPlugin::GUIApplicationPlugin; | ||
|
||
ob::Context orbbec; | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.