Loading...
Searching...
No Matches
Kinect2Device.hpp
1#pragma once
2#include <Gfx/GfxDevice.hpp>
3#include <Gfx/GfxExecContext.hpp>
4#include <Gfx/GfxInputDevice.hpp>
5#include <Gfx/SharedInputSettings.hpp>
6#include <Video/CameraInput.hpp>
7#include <Video/FrameQueue.hpp>
8
9#include <ossia/detail/lockfree_queue.hpp>
10#include <ossia/gfx/texture_parameter.hpp>
11#include <ossia/network/base/device.hpp>
12#include <ossia/network/base/protocol.hpp>
13#include <ossia/network/generic/generic_device.hpp>
14#include <ossia/network/generic/generic_node.hpp>
15
16#include <QLineEdit>
17
18class QComboBox;
19namespace libfreenect2
20{
21class Freenect2Device;
22class PacketPipeline;
23class SyncMultiFrameListener;
24class Frame;
25}
26
27// Score part
28
29#include <Device/Protocol/DeviceInterface.hpp>
30#include <Device/Protocol/DeviceSettings.hpp>
31#include <Device/Protocol/ProtocolFactoryInterface.hpp>
32#include <Device/Protocol/ProtocolSettingsWidget.hpp>
33
34namespace Gfx::Kinect2
35{
37{
38 QString input;
39 bool rgb{true}, ir{true}, depth{true};
40};
41
43{
44 SCORE_CONCRETE("1056df8a-f20c-40e4-995e-f18ffda3a16a")
45public:
46 QString prettyName() const noexcept override;
47 QUrl manual() const noexcept override;
48 Device::DeviceEnumerators getEnumerators(const score::DocumentContext& ctx) const override;
49
50 Device::DeviceInterface* makeDevice(
51 const Device::DeviceSettings& settings,
52 const Explorer::DeviceDocumentPlugin& plugin,
53 const score::DocumentContext& ctx) override;
54 const Device::DeviceSettings& defaultSettings() const noexcept override;
55
56 Device::ProtocolSettingsWidget* makeSettingsWidget() override;
57};
58
59}
60
61Q_DECLARE_METATYPE(Gfx::Kinect2::Kinect2Settings)
62W_REGISTER_ARGTYPE(Gfx::Kinect2::Kinect2Settings)
Definition DeviceInterface.hpp:66
Definition ProtocolSettingsWidget.hpp:22
Definition Kinect2Device.hpp:43
Definition SharedInputSettings.hpp:26
Definition DeviceSettings.hpp:20
Definition Kinect2Device.hpp:37
Definition DocumentContext.hpp:18