winrt-Windows.Perception.Spatial.Surfaces 3.2.1__cp314-cp314-win_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_perception_spatial_surfaces.cp314-win_arm64.pyd +0 -0
- winrt/_winrt_windows_perception_spatial_surfaces.pyi +132 -0
- winrt/windows/perception/spatial/surfaces/__init__.py +19 -0
- winrt/windows/perception/spatial/surfaces/py.typed +0 -0
- winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/METADATA +30 -0
- winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
15
|
+
import winrt.windows.graphics.directx as windows_graphics_directx
|
|
16
|
+
import winrt.windows.perception.spatial as windows_perception_spatial
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class SpatialSurfaceInfo(winrt.system.Object):
|
|
23
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryComputeLatestMeshAsync(System.Double)
|
|
24
|
+
def try_compute_latest_mesh_async(self, max_triangles_per_cubic_meter: winrt.system.Double, /) -> windows_foundation.IAsyncOperation[typing.Optional[SpatialSurfaceMesh]]: ...
|
|
25
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryComputeLatestMeshAsync(System.Double,Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions)
|
|
26
|
+
def try_compute_latest_mesh_with_options_async(self, max_triangles_per_cubic_meter: winrt.system.Double, options: SpatialSurfaceMeshOptions, /) -> windows_foundation.IAsyncOperation[typing.Optional[SpatialSurfaceMesh]]: ...
|
|
27
|
+
# Windows.Foundation.IReference`1<Windows.Perception.Spatial.SpatialBoundingOrientedBox> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryGetBounds(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
28
|
+
def try_get_bounds(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[windows_perception_spatial.SpatialBoundingOrientedBox]: ...
|
|
29
|
+
# System.Guid Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::get_Id()
|
|
30
|
+
@_property
|
|
31
|
+
def id(self) -> _uuid.UUID: ...
|
|
32
|
+
# Windows.Foundation.DateTime Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::get_UpdateTime()
|
|
33
|
+
@_property
|
|
34
|
+
def update_time(self) -> datetime.datetime: ...
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class SpatialSurfaceMesh(winrt.system.Object):
|
|
38
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_CoordinateSystem()
|
|
39
|
+
@_property
|
|
40
|
+
def coordinate_system(self) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
41
|
+
# Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_SurfaceInfo()
|
|
42
|
+
@_property
|
|
43
|
+
def surface_info(self) -> SpatialSurfaceInfo: ...
|
|
44
|
+
# Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_TriangleIndices()
|
|
45
|
+
@_property
|
|
46
|
+
def triangle_indices(self) -> SpatialSurfaceMeshBuffer: ...
|
|
47
|
+
# Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexNormals()
|
|
48
|
+
@_property
|
|
49
|
+
def vertex_normals(self) -> SpatialSurfaceMeshBuffer: ...
|
|
50
|
+
# Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexPositionScale()
|
|
51
|
+
@_property
|
|
52
|
+
def vertex_position_scale(self) -> windows_foundation_numerics.Vector3: ...
|
|
53
|
+
# Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexPositions()
|
|
54
|
+
@_property
|
|
55
|
+
def vertex_positions(self) -> SpatialSurfaceMeshBuffer: ...
|
|
56
|
+
|
|
57
|
+
@typing.final
|
|
58
|
+
class SpatialSurfaceMeshBuffer(winrt.system.Object):
|
|
59
|
+
# Windows.Storage.Streams.IBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Data()
|
|
60
|
+
@_property
|
|
61
|
+
def data(self) -> winrt.system.Buffer: ...
|
|
62
|
+
# System.UInt32 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_ElementCount()
|
|
63
|
+
@_property
|
|
64
|
+
def element_count(self) -> winrt.system.UInt32: ...
|
|
65
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Format()
|
|
66
|
+
@_property
|
|
67
|
+
def format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
68
|
+
# System.UInt32 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Stride()
|
|
69
|
+
@_property
|
|
70
|
+
def stride(self) -> winrt.system.UInt32: ...
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class SpatialSurfaceMeshOptions_Static(winrt._winrt.IInspectable_Static):
|
|
74
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedTriangleIndexFormats()
|
|
75
|
+
@_property
|
|
76
|
+
def supported_triangle_index_formats(cls) -> typing.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
|
|
77
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedVertexNormalFormats()
|
|
78
|
+
@_property
|
|
79
|
+
def supported_vertex_normal_formats(cls) -> typing.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
|
|
80
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedVertexPositionFormats()
|
|
81
|
+
@_property
|
|
82
|
+
def supported_vertex_position_formats(cls) -> typing.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
|
|
83
|
+
|
|
84
|
+
@typing.final
|
|
85
|
+
class SpatialSurfaceMeshOptions(winrt.system.Object, metaclass=SpatialSurfaceMeshOptions_Static):
|
|
86
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
87
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_VertexPositionFormat()
|
|
88
|
+
@_property
|
|
89
|
+
def vertex_position_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
90
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_VertexPositionFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
|
|
91
|
+
@vertex_position_format.setter
|
|
92
|
+
def vertex_position_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
|
|
93
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_VertexNormalFormat()
|
|
94
|
+
@_property
|
|
95
|
+
def vertex_normal_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
96
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_VertexNormalFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
|
|
97
|
+
@vertex_normal_format.setter
|
|
98
|
+
def vertex_normal_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
|
|
99
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_TriangleIndexFormat()
|
|
100
|
+
@_property
|
|
101
|
+
def triangle_index_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
102
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_TriangleIndexFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
|
|
103
|
+
@triangle_index_format.setter
|
|
104
|
+
def triangle_index_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
|
|
105
|
+
# System.Boolean Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_IncludeVertexNormals()
|
|
106
|
+
@_property
|
|
107
|
+
def include_vertex_normals(self) -> bool: ...
|
|
108
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_IncludeVertexNormals(System.Boolean)
|
|
109
|
+
@include_vertex_normals.setter
|
|
110
|
+
def include_vertex_normals(self, value: bool) -> None: ...
|
|
111
|
+
|
|
112
|
+
@typing.final
|
|
113
|
+
class SpatialSurfaceObserver_Static(winrt._winrt.IInspectable_Static):
|
|
114
|
+
# System.Boolean Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::IsSupported()
|
|
115
|
+
def is_supported(cls) -> bool: ...
|
|
116
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialPerceptionAccessStatus> Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::RequestAccessAsync()
|
|
117
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[windows_perception_spatial.SpatialPerceptionAccessStatus]: ...
|
|
118
|
+
|
|
119
|
+
@typing.final
|
|
120
|
+
class SpatialSurfaceObserver(winrt.system.Object, metaclass=SpatialSurfaceObserver_Static):
|
|
121
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
122
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo> Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::GetObservedSurfaces()
|
|
123
|
+
def get_observed_surfaces(self) -> typing.Mapping[_uuid.UUID, SpatialSurfaceInfo]: ...
|
|
124
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::SetBoundingVolume(Windows.Perception.Spatial.SpatialBoundingVolume)
|
|
125
|
+
def set_bounding_volume(self, bounds: windows_perception_spatial.SpatialBoundingVolume, /) -> None: ...
|
|
126
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::SetBoundingVolumes(Windows.Foundation.Collections.IIterable`1<Windows.Perception.Spatial.SpatialBoundingVolume>)
|
|
127
|
+
def set_bounding_volumes(self, bounds: typing.Iterable[windows_perception_spatial.SpatialBoundingVolume], /) -> None: ...
|
|
128
|
+
# Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::add_ObservedSurfacesChanged(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver,System.Object>)
|
|
129
|
+
def add_observed_surfaces_changed(self, handler: windows_foundation.TypedEventHandler[SpatialSurfaceObserver, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
130
|
+
# System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::remove_ObservedSurfacesChanged(Windows.Foundation.EventRegistrationToken)
|
|
131
|
+
def remove_observed_surfaces_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
132
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_perception_spatial_surfaces import (
|
|
5
|
+
SpatialSurfaceInfo,
|
|
6
|
+
SpatialSurfaceMesh,
|
|
7
|
+
SpatialSurfaceMeshBuffer,
|
|
8
|
+
SpatialSurfaceMeshOptions,
|
|
9
|
+
SpatialSurfaceObserver,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"SpatialSurfaceInfo",
|
|
14
|
+
"SpatialSurfaceMesh",
|
|
15
|
+
"SpatialSurfaceMeshBuffer",
|
|
16
|
+
"SpatialSurfaceMeshOptions",
|
|
17
|
+
"SpatialSurfaceObserver",
|
|
18
|
+
]
|
|
19
|
+
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Perception.Spatial.Surfaces
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.Perception.Spatial.Surfaces
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Perception.Spatial.Surfaces` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.perception.spatial.surfaces` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_perception_spatial_surfaces.cp314-win_arm64.pyd,sha256=A9_DOrpcRp1cpCqWTptoicv9QpKTk2dMzOvGN4cs8So,183296
|
|
2
|
+
winrt/_winrt_windows_perception_spatial_surfaces.pyi,sha256=LVEWPAoBNOR2-LxmnvGSrQVFAKWuCzJZvM4MXpjF-sM,9999
|
|
3
|
+
winrt/windows/perception/spatial/surfaces/__init__.py,sha256=r1jJushSsBCHYsUtesSPlIDPLUAuIBiPMquVklLicW4,466
|
|
4
|
+
winrt/windows/perception/spatial/surfaces/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/METADATA,sha256=-qpRSyv90LCaIn-7d4W2t0FiobGmkbEi6U_eZDKIuuY,1492
|
|
6
|
+
winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
|
|
7
|
+
winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_perception_spatial_surfaces-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|