winrt-Windows.Perception.Spatial 2.2.0__cp313-cp313-win32.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.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_perception_spatial.pyi +327 -0
- winrt/windows/perception/spatial/__init__.py +101 -0
- winrt/windows/perception/spatial/py.typed +0 -0
- winrt_Windows.Perception.Spatial-2.2.0.dist-info/METADATA +30 -0
- winrt_Windows.Perception.Spatial-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Perception.Spatial-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Perception.Spatial-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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.perception as windows_perception
|
|
16
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
17
|
+
import winrt.windows.system.remotesystems as windows_system_remotesystems
|
|
18
|
+
|
|
19
|
+
from winrt.windows.perception.spatial import SpatialAnchorExportPurpose, SpatialEntityWatcherStatus, SpatialLocatability, SpatialLookDirectionRange, SpatialMovementRange, SpatialPerceptionAccessStatus
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class SpatialBoundingBox:
|
|
25
|
+
center: windows_foundation_numerics.Vector3
|
|
26
|
+
extents: windows_foundation_numerics.Vector3
|
|
27
|
+
def __init__(self, center: windows_foundation_numerics.Vector3, extents: windows_foundation_numerics.Vector3) -> None: ...
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class SpatialBoundingFrustum:
|
|
31
|
+
near: windows_foundation_numerics.Plane
|
|
32
|
+
far: windows_foundation_numerics.Plane
|
|
33
|
+
right: windows_foundation_numerics.Plane
|
|
34
|
+
left: windows_foundation_numerics.Plane
|
|
35
|
+
top: windows_foundation_numerics.Plane
|
|
36
|
+
bottom: windows_foundation_numerics.Plane
|
|
37
|
+
def __init__(self, near: windows_foundation_numerics.Plane, far: windows_foundation_numerics.Plane, right: windows_foundation_numerics.Plane, left: windows_foundation_numerics.Plane, top: windows_foundation_numerics.Plane, bottom: windows_foundation_numerics.Plane) -> None: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class SpatialBoundingOrientedBox:
|
|
41
|
+
center: windows_foundation_numerics.Vector3
|
|
42
|
+
extents: windows_foundation_numerics.Vector3
|
|
43
|
+
orientation: windows_foundation_numerics.Quaternion
|
|
44
|
+
def __init__(self, center: windows_foundation_numerics.Vector3, extents: windows_foundation_numerics.Vector3, orientation: windows_foundation_numerics.Quaternion) -> None: ...
|
|
45
|
+
|
|
46
|
+
@typing.final
|
|
47
|
+
class SpatialBoundingSphere:
|
|
48
|
+
center: windows_foundation_numerics.Vector3
|
|
49
|
+
radius: winrt.system.Single
|
|
50
|
+
def __init__(self, center: windows_foundation_numerics.Vector3, radius: winrt.system.Single) -> None: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class SpatialRay:
|
|
54
|
+
origin: windows_foundation_numerics.Vector3
|
|
55
|
+
direction: windows_foundation_numerics.Vector3
|
|
56
|
+
def __init__(self, origin: windows_foundation_numerics.Vector3, direction: windows_foundation_numerics.Vector3) -> None: ...
|
|
57
|
+
|
|
58
|
+
@typing.final
|
|
59
|
+
class SpatialAnchor_Static(type):
|
|
60
|
+
@typing.overload
|
|
61
|
+
def try_create_relative_to(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], /) -> typing.Optional[SpatialAnchor]: ...
|
|
62
|
+
@typing.overload
|
|
63
|
+
def try_create_relative_to(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], position: windows_foundation_numerics.Vector3, /) -> typing.Optional[SpatialAnchor]: ...
|
|
64
|
+
@typing.overload
|
|
65
|
+
def try_create_relative_to(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], position: windows_foundation_numerics.Vector3, orientation: windows_foundation_numerics.Quaternion, /) -> typing.Optional[SpatialAnchor]: ...
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class SpatialAnchor(winrt.system.Object, metaclass=SpatialAnchor_Static):
|
|
69
|
+
@staticmethod
|
|
70
|
+
def _from(obj: winrt.system.Object, /) -> SpatialAnchor: ...
|
|
71
|
+
def add_raw_coordinate_system_adjusted(self, handler: windows_foundation.TypedEventHandler[SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
72
|
+
def remove_raw_coordinate_system_adjusted(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
73
|
+
@_property
|
|
74
|
+
def coordinate_system(self) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
75
|
+
@_property
|
|
76
|
+
def raw_coordinate_system(self) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
77
|
+
@_property
|
|
78
|
+
def removed_by_user(self) -> bool: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class SpatialAnchorExportSufficiency(winrt.system.Object):
|
|
82
|
+
@staticmethod
|
|
83
|
+
def _from(obj: winrt.system.Object, /) -> SpatialAnchorExportSufficiency: ...
|
|
84
|
+
@_property
|
|
85
|
+
def is_minimally_sufficient(self) -> bool: ...
|
|
86
|
+
@_property
|
|
87
|
+
def recommended_sufficiency_level(self) -> winrt.system.Double: ...
|
|
88
|
+
@_property
|
|
89
|
+
def sufficiency_level(self) -> winrt.system.Double: ...
|
|
90
|
+
|
|
91
|
+
@typing.final
|
|
92
|
+
class SpatialAnchorExporter_Static(type):
|
|
93
|
+
def get_default(cls) -> typing.Optional[SpatialAnchorExporter]: ...
|
|
94
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[SpatialPerceptionAccessStatus]: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class SpatialAnchorExporter(winrt.system.Object, metaclass=SpatialAnchorExporter_Static):
|
|
98
|
+
@staticmethod
|
|
99
|
+
def _from(obj: winrt.system.Object, /) -> SpatialAnchorExporter: ...
|
|
100
|
+
def get_anchor_export_sufficiency_async(self, anchor: typing.Optional[SpatialAnchor], purpose: SpatialAnchorExportPurpose, /) -> windows_foundation.IAsyncOperation[SpatialAnchorExportSufficiency]: ...
|
|
101
|
+
def try_export_anchor_async(self, anchor: typing.Optional[SpatialAnchor], purpose: SpatialAnchorExportPurpose, stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
102
|
+
|
|
103
|
+
@typing.final
|
|
104
|
+
class SpatialAnchorManager_Static(type):
|
|
105
|
+
def request_store_async(cls) -> windows_foundation.IAsyncOperation[SpatialAnchorStore]: ...
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class SpatialAnchorManager(winrt.system.Object, metaclass=SpatialAnchorManager_Static):
|
|
109
|
+
pass
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class SpatialAnchorRawCoordinateSystemAdjustedEventArgs(winrt.system.Object):
|
|
113
|
+
@staticmethod
|
|
114
|
+
def _from(obj: winrt.system.Object, /) -> SpatialAnchorRawCoordinateSystemAdjustedEventArgs: ...
|
|
115
|
+
@_property
|
|
116
|
+
def old_raw_coordinate_system_to_new_raw_coordinate_system_transform(self) -> windows_foundation_numerics.Matrix4x4: ...
|
|
117
|
+
|
|
118
|
+
@typing.final
|
|
119
|
+
class SpatialAnchorStore(winrt.system.Object):
|
|
120
|
+
@staticmethod
|
|
121
|
+
def _from(obj: winrt.system.Object, /) -> SpatialAnchorStore: ...
|
|
122
|
+
def clear(self) -> None: ...
|
|
123
|
+
def get_all_saved_anchors(self) -> typing.Optional[windows_foundation_collections.IMapView[str, SpatialAnchor]]: ...
|
|
124
|
+
def remove(self, id: str, /) -> None: ...
|
|
125
|
+
def try_save(self, id: str, anchor: typing.Optional[SpatialAnchor], /) -> bool: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class SpatialAnchorTransferManager_Static(type):
|
|
129
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[SpatialPerceptionAccessStatus]: ...
|
|
130
|
+
def try_export_anchors_async(cls, anchors: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, SpatialAnchor]], stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
131
|
+
def try_import_anchors_async(cls, stream: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMapView[str, SpatialAnchor]]: ...
|
|
132
|
+
|
|
133
|
+
@typing.final
|
|
134
|
+
class SpatialAnchorTransferManager(winrt.system.Object, metaclass=SpatialAnchorTransferManager_Static):
|
|
135
|
+
pass
|
|
136
|
+
|
|
137
|
+
@typing.final
|
|
138
|
+
class SpatialBoundingVolume_Static(type):
|
|
139
|
+
def from_box(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], box: SpatialBoundingBox, /) -> typing.Optional[SpatialBoundingVolume]: ...
|
|
140
|
+
def from_frustum(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], frustum: SpatialBoundingFrustum, /) -> typing.Optional[SpatialBoundingVolume]: ...
|
|
141
|
+
def from_oriented_box(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], box: SpatialBoundingOrientedBox, /) -> typing.Optional[SpatialBoundingVolume]: ...
|
|
142
|
+
def from_sphere(cls, coordinate_system: typing.Optional[SpatialCoordinateSystem], sphere: SpatialBoundingSphere, /) -> typing.Optional[SpatialBoundingVolume]: ...
|
|
143
|
+
|
|
144
|
+
@typing.final
|
|
145
|
+
class SpatialBoundingVolume(winrt.system.Object, metaclass=SpatialBoundingVolume_Static):
|
|
146
|
+
@staticmethod
|
|
147
|
+
def _from(obj: winrt.system.Object, /) -> SpatialBoundingVolume: ...
|
|
148
|
+
|
|
149
|
+
@typing.final
|
|
150
|
+
class SpatialCoordinateSystem(winrt.system.Object):
|
|
151
|
+
@staticmethod
|
|
152
|
+
def _from(obj: winrt.system.Object, /) -> SpatialCoordinateSystem: ...
|
|
153
|
+
def try_get_transform_to(self, target: typing.Optional[SpatialCoordinateSystem], /) -> typing.Optional[typing.Optional[windows_foundation_numerics.Matrix4x4]]: ...
|
|
154
|
+
|
|
155
|
+
@typing.final
|
|
156
|
+
class SpatialEntity(winrt.system.Object):
|
|
157
|
+
@staticmethod
|
|
158
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntity: ...
|
|
159
|
+
@typing.overload
|
|
160
|
+
def __new__(cls: typing.Type[SpatialEntity], spatial_anchor: typing.Optional[SpatialAnchor]) -> SpatialEntity: ...
|
|
161
|
+
@typing.overload
|
|
162
|
+
def __new__(cls: typing.Type[SpatialEntity], spatial_anchor: typing.Optional[SpatialAnchor], property_set: typing.Optional[windows_foundation_collections.ValueSet]) -> SpatialEntity: ...
|
|
163
|
+
@_property
|
|
164
|
+
def anchor(self) -> typing.Optional[SpatialAnchor]: ...
|
|
165
|
+
@_property
|
|
166
|
+
def id(self) -> str: ...
|
|
167
|
+
@_property
|
|
168
|
+
def properties(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
|
|
169
|
+
|
|
170
|
+
@typing.final
|
|
171
|
+
class SpatialEntityAddedEventArgs(winrt.system.Object):
|
|
172
|
+
@staticmethod
|
|
173
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntityAddedEventArgs: ...
|
|
174
|
+
@_property
|
|
175
|
+
def entity(self) -> typing.Optional[SpatialEntity]: ...
|
|
176
|
+
|
|
177
|
+
@typing.final
|
|
178
|
+
class SpatialEntityRemovedEventArgs(winrt.system.Object):
|
|
179
|
+
@staticmethod
|
|
180
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntityRemovedEventArgs: ...
|
|
181
|
+
@_property
|
|
182
|
+
def entity(self) -> typing.Optional[SpatialEntity]: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class SpatialEntityStore_Static(type):
|
|
186
|
+
def try_get(cls, session: typing.Optional[windows_system_remotesystems.RemoteSystemSession], /) -> typing.Optional[SpatialEntityStore]: ...
|
|
187
|
+
@_property
|
|
188
|
+
def is_supported(cls) -> bool: ...
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class SpatialEntityStore(winrt.system.Object, metaclass=SpatialEntityStore_Static):
|
|
192
|
+
@staticmethod
|
|
193
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntityStore: ...
|
|
194
|
+
def create_entity_watcher(self) -> typing.Optional[SpatialEntityWatcher]: ...
|
|
195
|
+
def remove_async(self, entity: typing.Optional[SpatialEntity], /) -> windows_foundation.IAsyncAction: ...
|
|
196
|
+
def save_async(self, entity: typing.Optional[SpatialEntity], /) -> windows_foundation.IAsyncAction: ...
|
|
197
|
+
|
|
198
|
+
@typing.final
|
|
199
|
+
class SpatialEntityUpdatedEventArgs(winrt.system.Object):
|
|
200
|
+
@staticmethod
|
|
201
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntityUpdatedEventArgs: ...
|
|
202
|
+
@_property
|
|
203
|
+
def entity(self) -> typing.Optional[SpatialEntity]: ...
|
|
204
|
+
|
|
205
|
+
@typing.final
|
|
206
|
+
class SpatialEntityWatcher(winrt.system.Object):
|
|
207
|
+
@staticmethod
|
|
208
|
+
def _from(obj: winrt.system.Object, /) -> SpatialEntityWatcher: ...
|
|
209
|
+
def start(self) -> None: ...
|
|
210
|
+
def stop(self) -> None: ...
|
|
211
|
+
def add_added(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityAddedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
212
|
+
def remove_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
213
|
+
def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
214
|
+
def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
215
|
+
def add_removed(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
216
|
+
def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
217
|
+
def add_updated(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
218
|
+
def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
219
|
+
@_property
|
|
220
|
+
def status(self) -> SpatialEntityWatcherStatus: ...
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class SpatialLocation(winrt.system.Object):
|
|
224
|
+
@staticmethod
|
|
225
|
+
def _from(obj: winrt.system.Object, /) -> SpatialLocation: ...
|
|
226
|
+
@_property
|
|
227
|
+
def absolute_angular_acceleration(self) -> windows_foundation_numerics.Quaternion: ...
|
|
228
|
+
@_property
|
|
229
|
+
def absolute_angular_velocity(self) -> windows_foundation_numerics.Quaternion: ...
|
|
230
|
+
@_property
|
|
231
|
+
def absolute_linear_acceleration(self) -> windows_foundation_numerics.Vector3: ...
|
|
232
|
+
@_property
|
|
233
|
+
def absolute_linear_velocity(self) -> windows_foundation_numerics.Vector3: ...
|
|
234
|
+
@_property
|
|
235
|
+
def orientation(self) -> windows_foundation_numerics.Quaternion: ...
|
|
236
|
+
@_property
|
|
237
|
+
def position(self) -> windows_foundation_numerics.Vector3: ...
|
|
238
|
+
@_property
|
|
239
|
+
def absolute_angular_acceleration_axis_angle(self) -> windows_foundation_numerics.Vector3: ...
|
|
240
|
+
@_property
|
|
241
|
+
def absolute_angular_velocity_axis_angle(self) -> windows_foundation_numerics.Vector3: ...
|
|
242
|
+
|
|
243
|
+
@typing.final
|
|
244
|
+
class SpatialLocator_Static(type):
|
|
245
|
+
def get_default(cls) -> typing.Optional[SpatialLocator]: ...
|
|
246
|
+
|
|
247
|
+
@typing.final
|
|
248
|
+
class SpatialLocator(winrt.system.Object, metaclass=SpatialLocator_Static):
|
|
249
|
+
@staticmethod
|
|
250
|
+
def _from(obj: winrt.system.Object, /) -> SpatialLocator: ...
|
|
251
|
+
@typing.overload
|
|
252
|
+
def create_attached_frame_of_reference_at_current_heading(self) -> typing.Optional[SpatialLocatorAttachedFrameOfReference]: ...
|
|
253
|
+
@typing.overload
|
|
254
|
+
def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3, /) -> typing.Optional[SpatialLocatorAttachedFrameOfReference]: ...
|
|
255
|
+
@typing.overload
|
|
256
|
+
def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, /) -> typing.Optional[SpatialLocatorAttachedFrameOfReference]: ...
|
|
257
|
+
@typing.overload
|
|
258
|
+
def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, relative_heading_in_radians: winrt.system.Double, /) -> typing.Optional[SpatialLocatorAttachedFrameOfReference]: ...
|
|
259
|
+
@typing.overload
|
|
260
|
+
def create_stationary_frame_of_reference_at_current_location(self) -> typing.Optional[SpatialStationaryFrameOfReference]: ...
|
|
261
|
+
@typing.overload
|
|
262
|
+
def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3, /) -> typing.Optional[SpatialStationaryFrameOfReference]: ...
|
|
263
|
+
@typing.overload
|
|
264
|
+
def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, /) -> typing.Optional[SpatialStationaryFrameOfReference]: ...
|
|
265
|
+
@typing.overload
|
|
266
|
+
def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, relative_heading_in_radians: winrt.system.Double, /) -> typing.Optional[SpatialStationaryFrameOfReference]: ...
|
|
267
|
+
def try_locate_at_timestamp(self, timestamp: typing.Optional[windows_perception.PerceptionTimestamp], coordinate_system: typing.Optional[SpatialCoordinateSystem], /) -> typing.Optional[SpatialLocation]: ...
|
|
268
|
+
def add_locatability_changed(self, handler: windows_foundation.TypedEventHandler[SpatialLocator, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
269
|
+
def remove_locatability_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
270
|
+
def add_positional_tracking_deactivating(self, handler: windows_foundation.TypedEventHandler[SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
271
|
+
def remove_positional_tracking_deactivating(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
272
|
+
@_property
|
|
273
|
+
def locatability(self) -> SpatialLocatability: ...
|
|
274
|
+
|
|
275
|
+
@typing.final
|
|
276
|
+
class SpatialLocatorAttachedFrameOfReference(winrt.system.Object):
|
|
277
|
+
@staticmethod
|
|
278
|
+
def _from(obj: winrt.system.Object, /) -> SpatialLocatorAttachedFrameOfReference: ...
|
|
279
|
+
def adjust_heading(self, heading_offset_in_radians: winrt.system.Double, /) -> None: ...
|
|
280
|
+
def get_stationary_coordinate_system_at_timestamp(self, timestamp: typing.Optional[windows_perception.PerceptionTimestamp], /) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
281
|
+
def try_get_relative_heading_at_timestamp(self, timestamp: typing.Optional[windows_perception.PerceptionTimestamp], /) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
|
|
282
|
+
@_property
|
|
283
|
+
def relative_position(self) -> windows_foundation_numerics.Vector3: ...
|
|
284
|
+
@relative_position.setter
|
|
285
|
+
def relative_position(self, value: windows_foundation_numerics.Vector3) -> None: ...
|
|
286
|
+
@_property
|
|
287
|
+
def relative_orientation(self) -> windows_foundation_numerics.Quaternion: ...
|
|
288
|
+
@relative_orientation.setter
|
|
289
|
+
def relative_orientation(self, value: windows_foundation_numerics.Quaternion) -> None: ...
|
|
290
|
+
|
|
291
|
+
@typing.final
|
|
292
|
+
class SpatialLocatorPositionalTrackingDeactivatingEventArgs(winrt.system.Object):
|
|
293
|
+
@staticmethod
|
|
294
|
+
def _from(obj: winrt.system.Object, /) -> SpatialLocatorPositionalTrackingDeactivatingEventArgs: ...
|
|
295
|
+
@_property
|
|
296
|
+
def canceled(self) -> bool: ...
|
|
297
|
+
@canceled.setter
|
|
298
|
+
def canceled(self, value: bool) -> None: ...
|
|
299
|
+
|
|
300
|
+
@typing.final
|
|
301
|
+
class SpatialStageFrameOfReference_Static(type):
|
|
302
|
+
def request_new_stage_async(cls) -> windows_foundation.IAsyncOperation[SpatialStageFrameOfReference]: ...
|
|
303
|
+
def add_current_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
304
|
+
def remove_current_changed(cls, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
305
|
+
@_property
|
|
306
|
+
def current(cls) -> typing.Optional[SpatialStageFrameOfReference]: ...
|
|
307
|
+
|
|
308
|
+
@typing.final
|
|
309
|
+
class SpatialStageFrameOfReference(winrt.system.Object, metaclass=SpatialStageFrameOfReference_Static):
|
|
310
|
+
@staticmethod
|
|
311
|
+
def _from(obj: winrt.system.Object, /) -> SpatialStageFrameOfReference: ...
|
|
312
|
+
def get_coordinate_system_at_current_location(self, locator: typing.Optional[SpatialLocator], /) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
313
|
+
def try_get_movement_bounds(self, coordinate_system: typing.Optional[SpatialCoordinateSystem], /) -> winrt.system.Array[windows_foundation_numerics.Vector3]: ...
|
|
314
|
+
@_property
|
|
315
|
+
def coordinate_system(self) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
316
|
+
@_property
|
|
317
|
+
def look_direction_range(self) -> SpatialLookDirectionRange: ...
|
|
318
|
+
@_property
|
|
319
|
+
def movement_range(self) -> SpatialMovementRange: ...
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class SpatialStationaryFrameOfReference(winrt.system.Object):
|
|
323
|
+
@staticmethod
|
|
324
|
+
def _from(obj: winrt.system.Object, /) -> SpatialStationaryFrameOfReference: ...
|
|
325
|
+
@_property
|
|
326
|
+
def coordinate_system(self) -> typing.Optional[SpatialCoordinateSystem]: ...
|
|
327
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_perception_spatial
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"SpatialAnchorExportPurpose",
|
|
10
|
+
"SpatialEntityWatcherStatus",
|
|
11
|
+
"SpatialLocatability",
|
|
12
|
+
"SpatialLookDirectionRange",
|
|
13
|
+
"SpatialMovementRange",
|
|
14
|
+
"SpatialPerceptionAccessStatus",
|
|
15
|
+
"SpatialBoundingBox",
|
|
16
|
+
"SpatialBoundingFrustum",
|
|
17
|
+
"SpatialBoundingOrientedBox",
|
|
18
|
+
"SpatialBoundingSphere",
|
|
19
|
+
"SpatialRay",
|
|
20
|
+
"SpatialAnchor",
|
|
21
|
+
"SpatialAnchorExportSufficiency",
|
|
22
|
+
"SpatialAnchorExporter",
|
|
23
|
+
"SpatialAnchorManager",
|
|
24
|
+
"SpatialAnchorRawCoordinateSystemAdjustedEventArgs",
|
|
25
|
+
"SpatialAnchorStore",
|
|
26
|
+
"SpatialAnchorTransferManager",
|
|
27
|
+
"SpatialBoundingVolume",
|
|
28
|
+
"SpatialCoordinateSystem",
|
|
29
|
+
"SpatialEntity",
|
|
30
|
+
"SpatialEntityAddedEventArgs",
|
|
31
|
+
"SpatialEntityRemovedEventArgs",
|
|
32
|
+
"SpatialEntityStore",
|
|
33
|
+
"SpatialEntityUpdatedEventArgs",
|
|
34
|
+
"SpatialEntityWatcher",
|
|
35
|
+
"SpatialLocation",
|
|
36
|
+
"SpatialLocator",
|
|
37
|
+
"SpatialLocatorAttachedFrameOfReference",
|
|
38
|
+
"SpatialLocatorPositionalTrackingDeactivatingEventArgs",
|
|
39
|
+
"SpatialStageFrameOfReference",
|
|
40
|
+
"SpatialStationaryFrameOfReference",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
class SpatialAnchorExportPurpose(enum.IntEnum):
|
|
44
|
+
RELOCALIZATION = 0
|
|
45
|
+
SHARING = 1
|
|
46
|
+
|
|
47
|
+
class SpatialEntityWatcherStatus(enum.IntEnum):
|
|
48
|
+
CREATED = 0
|
|
49
|
+
STARTED = 1
|
|
50
|
+
ENUMERATION_COMPLETED = 2
|
|
51
|
+
STOPPING = 3
|
|
52
|
+
STOPPED = 4
|
|
53
|
+
ABORTED = 5
|
|
54
|
+
|
|
55
|
+
class SpatialLocatability(enum.IntEnum):
|
|
56
|
+
UNAVAILABLE = 0
|
|
57
|
+
ORIENTATION_ONLY = 1
|
|
58
|
+
POSITIONAL_TRACKING_ACTIVATING = 2
|
|
59
|
+
POSITIONAL_TRACKING_ACTIVE = 3
|
|
60
|
+
POSITIONAL_TRACKING_INHIBITED = 4
|
|
61
|
+
|
|
62
|
+
class SpatialLookDirectionRange(enum.IntEnum):
|
|
63
|
+
FORWARD_ONLY = 0
|
|
64
|
+
OMNIDIRECTIONAL = 1
|
|
65
|
+
|
|
66
|
+
class SpatialMovementRange(enum.IntEnum):
|
|
67
|
+
NO_MOVEMENT = 0
|
|
68
|
+
BOUNDED = 1
|
|
69
|
+
|
|
70
|
+
class SpatialPerceptionAccessStatus(enum.IntEnum):
|
|
71
|
+
UNSPECIFIED = 0
|
|
72
|
+
ALLOWED = 1
|
|
73
|
+
DENIED_BY_USER = 2
|
|
74
|
+
DENIED_BY_SYSTEM = 3
|
|
75
|
+
|
|
76
|
+
SpatialBoundingBox = _winrt_windows_perception_spatial.SpatialBoundingBox
|
|
77
|
+
SpatialBoundingFrustum = _winrt_windows_perception_spatial.SpatialBoundingFrustum
|
|
78
|
+
SpatialBoundingOrientedBox = _winrt_windows_perception_spatial.SpatialBoundingOrientedBox
|
|
79
|
+
SpatialBoundingSphere = _winrt_windows_perception_spatial.SpatialBoundingSphere
|
|
80
|
+
SpatialRay = _winrt_windows_perception_spatial.SpatialRay
|
|
81
|
+
SpatialAnchor = _winrt_windows_perception_spatial.SpatialAnchor
|
|
82
|
+
SpatialAnchorExportSufficiency = _winrt_windows_perception_spatial.SpatialAnchorExportSufficiency
|
|
83
|
+
SpatialAnchorExporter = _winrt_windows_perception_spatial.SpatialAnchorExporter
|
|
84
|
+
SpatialAnchorManager = _winrt_windows_perception_spatial.SpatialAnchorManager
|
|
85
|
+
SpatialAnchorRawCoordinateSystemAdjustedEventArgs = _winrt_windows_perception_spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs
|
|
86
|
+
SpatialAnchorStore = _winrt_windows_perception_spatial.SpatialAnchorStore
|
|
87
|
+
SpatialAnchorTransferManager = _winrt_windows_perception_spatial.SpatialAnchorTransferManager
|
|
88
|
+
SpatialBoundingVolume = _winrt_windows_perception_spatial.SpatialBoundingVolume
|
|
89
|
+
SpatialCoordinateSystem = _winrt_windows_perception_spatial.SpatialCoordinateSystem
|
|
90
|
+
SpatialEntity = _winrt_windows_perception_spatial.SpatialEntity
|
|
91
|
+
SpatialEntityAddedEventArgs = _winrt_windows_perception_spatial.SpatialEntityAddedEventArgs
|
|
92
|
+
SpatialEntityRemovedEventArgs = _winrt_windows_perception_spatial.SpatialEntityRemovedEventArgs
|
|
93
|
+
SpatialEntityStore = _winrt_windows_perception_spatial.SpatialEntityStore
|
|
94
|
+
SpatialEntityUpdatedEventArgs = _winrt_windows_perception_spatial.SpatialEntityUpdatedEventArgs
|
|
95
|
+
SpatialEntityWatcher = _winrt_windows_perception_spatial.SpatialEntityWatcher
|
|
96
|
+
SpatialLocation = _winrt_windows_perception_spatial.SpatialLocation
|
|
97
|
+
SpatialLocator = _winrt_windows_perception_spatial.SpatialLocator
|
|
98
|
+
SpatialLocatorAttachedFrameOfReference = _winrt_windows_perception_spatial.SpatialLocatorAttachedFrameOfReference
|
|
99
|
+
SpatialLocatorPositionalTrackingDeactivatingEventArgs = _winrt_windows_perception_spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs
|
|
100
|
+
SpatialStageFrameOfReference = _winrt_windows_perception_spatial.SpatialStageFrameOfReference
|
|
101
|
+
SpatialStationaryFrameOfReference = _winrt_windows_perception_spatial.SpatialStationaryFrameOfReference
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Perception.Spatial
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Perception[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.System.RemoteSystems[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.Perception.Spatial
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Perception.Spatial` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.perception.spatial` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_perception_spatial.cp313-win32.pyd,sha256=sn2Kjgz7gFepLKYis4F0bMsHPESUqVP87RVdu1RsrYU,297984
|
|
2
|
+
winrt/_winrt_windows_perception_spatial.pyi,sha256=9SzVMEfix40JW_czQ9EquSPAWcuAM3Xfb-ZgAhdYfGE,19026
|
|
3
|
+
winrt/windows/perception/spatial/__init__.py,sha256=necJr-GFoAVfXb54DbhK9eGTYrwltxP3zWxqE6COtDo,4237
|
|
4
|
+
winrt/windows/perception/spatial/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Perception.Spatial-2.2.0.dist-info/METADATA,sha256=EVtpM5DmeZvjj_8LUIB9xP8qwXoWjF1zG3rET74IAEQ,1446
|
|
6
|
+
winrt_Windows.Perception.Spatial-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.Perception.Spatial-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Perception.Spatial-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|