mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
nearby sdk refactor
PiperOrigin-RevId: 425434260
This commit is contained in:
+66
@@ -0,0 +1,66 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Perception_People_2_H
|
||||
#define WINRT_Windows_Perception_People_2_H
|
||||
#include "winrt/impl/Windows.Foundation.Numerics.2.h"
|
||||
#include "winrt/impl/Windows.Perception.People.1.h"
|
||||
WINRT_EXPORT namespace winrt::Windows::Perception::People
|
||||
{
|
||||
struct HandMeshVertex
|
||||
{
|
||||
winrt::Windows::Foundation::Numerics::float3 Position;
|
||||
winrt::Windows::Foundation::Numerics::float3 Normal;
|
||||
};
|
||||
inline bool operator==(HandMeshVertex const& left, HandMeshVertex const& right) noexcept
|
||||
{
|
||||
return left.Position == right.Position && left.Normal == right.Normal;
|
||||
}
|
||||
inline bool operator!=(HandMeshVertex const& left, HandMeshVertex const& right) noexcept
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
struct JointPose
|
||||
{
|
||||
winrt::Windows::Foundation::Numerics::quaternion Orientation;
|
||||
winrt::Windows::Foundation::Numerics::float3 Position;
|
||||
float Radius;
|
||||
winrt::Windows::Perception::People::JointPoseAccuracy Accuracy;
|
||||
};
|
||||
inline bool operator==(JointPose const& left, JointPose const& right) noexcept
|
||||
{
|
||||
return left.Orientation == right.Orientation && left.Position == right.Position && left.Radius == right.Radius && left.Accuracy == right.Accuracy;
|
||||
}
|
||||
inline bool operator!=(JointPose const& left, JointPose const& right) noexcept
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
struct __declspec(empty_bases) EyesPose : winrt::Windows::Perception::People::IEyesPose
|
||||
{
|
||||
EyesPose(std::nullptr_t) noexcept {}
|
||||
EyesPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IEyesPose(ptr, take_ownership_from_abi) {}
|
||||
static auto IsSupported();
|
||||
static auto RequestAccessAsync();
|
||||
};
|
||||
struct __declspec(empty_bases) HandMeshObserver : winrt::Windows::Perception::People::IHandMeshObserver
|
||||
{
|
||||
HandMeshObserver(std::nullptr_t) noexcept {}
|
||||
HandMeshObserver(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandMeshObserver(ptr, take_ownership_from_abi) {}
|
||||
};
|
||||
struct __declspec(empty_bases) HandMeshVertexState : winrt::Windows::Perception::People::IHandMeshVertexState
|
||||
{
|
||||
HandMeshVertexState(std::nullptr_t) noexcept {}
|
||||
HandMeshVertexState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandMeshVertexState(ptr, take_ownership_from_abi) {}
|
||||
};
|
||||
struct __declspec(empty_bases) HandPose : winrt::Windows::Perception::People::IHandPose
|
||||
{
|
||||
HandPose(std::nullptr_t) noexcept {}
|
||||
HandPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHandPose(ptr, take_ownership_from_abi) {}
|
||||
};
|
||||
struct __declspec(empty_bases) HeadPose : winrt::Windows::Perception::People::IHeadPose
|
||||
{
|
||||
HeadPose(std::nullptr_t) noexcept {}
|
||||
HeadPose(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::People::IHeadPose(ptr, take_ownership_from_abi) {}
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user