winrt-Windows.Perception.Spatial.Preview 4!10.0.28000.2705__py3-none-any.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/windows/perception/spatial/preview/__init__.py +16 -0
- winrt/windows/perception/spatial/preview/__init__.pyi +74 -0
- winrt/windows/perception/spatial/preview/_table.pywinrt +0 -0
- winrt/windows/perception/spatial/preview/py.typed +0 -0
- winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/METADATA +44 -0
- winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"SpatialGraphInteropFrameOfReferencePreview",
|
|
10
|
+
"SpatialGraphInteropPreview",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
winrt.runtime._internals.alias_static_method(SpatialGraphInteropPreview, "create_coordinate_system_for_node_with_position", "create_coordinate_system_for_node")
|
|
14
|
+
winrt.runtime._internals.alias_static_method(SpatialGraphInteropPreview, "create_coordinate_system_for_node_with_position_and_orientation", "create_coordinate_system_for_node")
|
|
15
|
+
winrt.runtime._internals.alias_static_method(SpatialGraphInteropPreview, "try_create_frame_of_reference_with_position", "try_create_frame_of_reference")
|
|
16
|
+
winrt.runtime._internals.alias_static_method(SpatialGraphInteropPreview, "try_create_frame_of_reference_with_position_and_orientation", "try_create_frame_of_reference")
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
import uuid as _uuid
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
from typing_extensions import deprecated
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
10
|
+
import winrt.windows.perception.spatial as windows_perception_spatial
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"SpatialGraphInteropFrameOfReferencePreview",
|
|
14
|
+
"SpatialGraphInteropPreview",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class SpatialGraphInteropFrameOfReferencePreview(winrt.system.Object):
|
|
19
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
20
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
21
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview::get_CoordinateSystem()
|
|
22
|
+
@_property
|
|
23
|
+
def coordinate_system(self) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
24
|
+
# Windows.Foundation.Numerics.Matrix4x4 Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview::get_CoordinateSystemToNodeTransform()
|
|
25
|
+
@_property
|
|
26
|
+
def coordinate_system_to_node_transform(self) -> windows_foundation_numerics.Matrix4x4: ...
|
|
27
|
+
# System.Guid Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview::get_NodeId()
|
|
28
|
+
@_property
|
|
29
|
+
def node_id(self) -> _uuid.UUID: ...
|
|
30
|
+
|
|
31
|
+
@typing.final
|
|
32
|
+
class SpatialGraphInteropPreview_Static(winrt.system.Object_Static):
|
|
33
|
+
@typing.overload
|
|
34
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateCoordinateSystemForNode(System.Guid)
|
|
35
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, /) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
36
|
+
@typing.overload
|
|
37
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateCoordinateSystemForNode(System.Guid,Windows.Foundation.Numerics.Vector3)
|
|
38
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
39
|
+
@typing.overload
|
|
40
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateCoordinateSystemForNode(System.Guid,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
|
|
41
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
42
|
+
# Deprecated alias of create_coordinate_system_for_node() for pywinrt v3.x compatibility.
|
|
43
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateCoordinateSystemForNode(System.Guid,Windows.Foundation.Numerics.Vector3)
|
|
44
|
+
@deprecated("Use create_coordinate_system_for_node() instead.")
|
|
45
|
+
def create_coordinate_system_for_node_with_position(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
46
|
+
# Deprecated alias of create_coordinate_system_for_node() for pywinrt v3.x compatibility.
|
|
47
|
+
# Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateCoordinateSystemForNode(System.Guid,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
|
|
48
|
+
@deprecated("Use create_coordinate_system_for_node() instead.")
|
|
49
|
+
def create_coordinate_system_for_node_with_position_and_orientation(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> windows_perception_spatial.SpatialCoordinateSystem: ...
|
|
50
|
+
# Windows.Perception.Spatial.SpatialLocator Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::CreateLocatorForNode(System.Guid)
|
|
51
|
+
def create_locator_for_node(cls, node_id: _uuid.UUID, /) -> windows_perception_spatial.SpatialLocator: ...
|
|
52
|
+
@typing.overload
|
|
53
|
+
# Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::TryCreateFrameOfReference(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
54
|
+
def try_create_frame_of_reference(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialGraphInteropFrameOfReferencePreview | None: ...
|
|
55
|
+
@typing.overload
|
|
56
|
+
# Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::TryCreateFrameOfReference(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3)
|
|
57
|
+
def try_create_frame_of_reference(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialGraphInteropFrameOfReferencePreview | None: ...
|
|
58
|
+
@typing.overload
|
|
59
|
+
# Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::TryCreateFrameOfReference(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
|
|
60
|
+
def try_create_frame_of_reference(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialGraphInteropFrameOfReferencePreview | None: ...
|
|
61
|
+
# Deprecated alias of try_create_frame_of_reference() for pywinrt v3.x compatibility.
|
|
62
|
+
# Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::TryCreateFrameOfReference(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3)
|
|
63
|
+
@deprecated("Use try_create_frame_of_reference() instead.")
|
|
64
|
+
def try_create_frame_of_reference_with_position(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialGraphInteropFrameOfReferencePreview | None: ...
|
|
65
|
+
# Deprecated alias of try_create_frame_of_reference() for pywinrt v3.x compatibility.
|
|
66
|
+
# Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview::TryCreateFrameOfReference(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
|
|
67
|
+
@deprecated("Use try_create_frame_of_reference() instead.")
|
|
68
|
+
def try_create_frame_of_reference_with_position_and_orientation(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialGraphInteropFrameOfReferencePreview | None: ...
|
|
69
|
+
|
|
70
|
+
@typing.final
|
|
71
|
+
class SpatialGraphInteropPreview(winrt.system.Object, metaclass=SpatialGraphInteropPreview_Static):
|
|
72
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
73
|
+
"""A class of static members only, so there is nothing to create."""
|
|
74
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.Perception.Spatial.Preview
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.Perception.Spatial.Preview namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Provides-Extra: all
|
|
24
|
+
Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
|
|
25
|
+
Requires-Dist: winrt-windows-perception-spatial[all]>=4!10.0.28000.2705; extra == 'all'
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.Perception.Spatial.Preview
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for the `Windows.Perception.Spatial.Preview` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.perception.spatial.preview` module.
|
|
35
|
+
|
|
36
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
37
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install winrt-Windows.Perception.Spatial.Preview
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
44
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/perception/spatial/preview/__init__.py,sha256=81wfdHt0TzPIMNQ8bovQLXqvjnHqcCuPXS1A8tbQaFc,938
|
|
2
|
+
winrt/windows/perception/spatial/preview/__init__.pyi,sha256=JpHHwLCYkFttLzIGMVQTlsXMZDwP2_NMZhVcEnPd7HU,8393
|
|
3
|
+
winrt/windows/perception/spatial/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/perception/spatial/preview/_table.pywinrt,sha256=K4MUns4NDW6yGgm461YewousG5QOgd5JDWO5dnrC9LM,3152
|
|
5
|
+
winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/METADATA,sha256=HWuVOQXFUnyI_wwFUK1uuvHyXhmju7sfZNdz-KZ65KA,1888
|
|
6
|
+
winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_perception_spatial_preview-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|