winrt-Windows.Perception.Spatial.Preview 2.0.1__tar.gz → 2.1.0__tar.gz
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-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/PKG-INFO +4 -4
- winrt_windows_perception_spatial_preview-2.1.0/all-requirements.txt +4 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/py.Windows.Perception.Spatial.Preview.cpp +80 -88
- winrt_windows_perception_spatial_preview-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/requirements.txt +2 -2
- winrt_windows_perception_spatial_preview-2.1.0/winrt/_winrt_windows_perception_spatial_preview.pyi +47 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt/windows/perception/spatial/preview/__init__.py +1 -1
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/PKG-INFO +4 -4
- winrt_windows_perception_spatial_preview-2.1.0/winrt_Windows.Perception.Spatial.Preview.egg-info/requires.txt +5 -0
- winrt_windows_perception_spatial_preview-2.0.1/all-requirements.txt +0 -4
- winrt_windows_perception_spatial_preview-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_perception_spatial_preview-2.0.1/winrt/_winrt_windows_perception_spatial_preview.pyi +0 -48
- winrt_windows_perception_spatial_preview-2.0.1/winrt_Windows.Perception.Spatial.Preview.egg-info/requires.txt +0 -5
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/README.md +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/setup.cfg +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/setup.py +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt/windows/perception/spatial/preview/py.typed +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/SOURCES.txt +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/dependency_links.txt +0 -0
- {winrt_windows_perception_spatial_preview-2.0.1 → winrt_windows_perception_spatial_preview-2.1.0}/winrt_Windows.Perception.Spatial.Preview.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Spatial.Preview
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Perception.Spatial.Preview.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
7
6
|
{
|
|
8
7
|
// ----- SpatialGraphInteropFrameOfReferencePreview class --------------------
|
|
@@ -24,14 +23,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
24
23
|
|
|
25
24
|
static PyObject* SpatialGraphInteropFrameOfReferencePreview_get_CoordinateSystem(py::wrapper::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview* self, void* /*unused*/) noexcept
|
|
26
25
|
{
|
|
27
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystem"))
|
|
28
|
-
{
|
|
29
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
30
|
-
return nullptr;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
26
|
try
|
|
34
27
|
{
|
|
28
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystem"))
|
|
29
|
+
{
|
|
30
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
31
|
+
return nullptr;
|
|
32
|
+
}
|
|
33
|
+
|
|
35
34
|
return py::convert(self->obj.CoordinateSystem());
|
|
36
35
|
}
|
|
37
36
|
catch (...)
|
|
@@ -43,14 +42,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
43
42
|
|
|
44
43
|
static PyObject* SpatialGraphInteropFrameOfReferencePreview_get_CoordinateSystemToNodeTransform(py::wrapper::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview* self, void* /*unused*/) noexcept
|
|
45
44
|
{
|
|
46
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystemToNodeTransform"))
|
|
47
|
-
{
|
|
48
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
49
|
-
return nullptr;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
45
|
try
|
|
53
46
|
{
|
|
47
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"CoordinateSystemToNodeTransform"))
|
|
48
|
+
{
|
|
49
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
50
|
+
return nullptr;
|
|
51
|
+
}
|
|
52
|
+
|
|
54
53
|
return py::convert(self->obj.CoordinateSystemToNodeTransform());
|
|
55
54
|
}
|
|
56
55
|
catch (...)
|
|
@@ -62,14 +61,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
62
61
|
|
|
63
62
|
static PyObject* SpatialGraphInteropFrameOfReferencePreview_get_NodeId(py::wrapper::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview* self, void* /*unused*/) noexcept
|
|
64
63
|
{
|
|
65
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"NodeId"))
|
|
66
|
-
{
|
|
67
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
68
|
-
return nullptr;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
64
|
try
|
|
72
65
|
{
|
|
66
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview", L"NodeId"))
|
|
67
|
+
{
|
|
68
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
69
|
+
return nullptr;
|
|
70
|
+
}
|
|
71
|
+
|
|
73
72
|
return py::convert(self->obj.NodeId());
|
|
74
73
|
}
|
|
75
74
|
catch (...)
|
|
@@ -116,23 +115,20 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
116
115
|
{ }
|
|
117
116
|
};
|
|
118
117
|
|
|
119
|
-
static PyType_Slot _type_slots_SpatialGraphInteropFrameOfReferencePreview[] =
|
|
120
|
-
{
|
|
118
|
+
static PyType_Slot _type_slots_SpatialGraphInteropFrameOfReferencePreview[] = {
|
|
121
119
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SpatialGraphInteropFrameOfReferencePreview) },
|
|
122
120
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SpatialGraphInteropFrameOfReferencePreview) },
|
|
123
121
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SpatialGraphInteropFrameOfReferencePreview) },
|
|
124
122
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SpatialGraphInteropFrameOfReferencePreview) },
|
|
125
|
-
{ }
|
|
123
|
+
{ }
|
|
126
124
|
};
|
|
127
125
|
|
|
128
|
-
static PyType_Spec type_spec_SpatialGraphInteropFrameOfReferencePreview =
|
|
129
|
-
{
|
|
126
|
+
static PyType_Spec type_spec_SpatialGraphInteropFrameOfReferencePreview = {
|
|
130
127
|
"winrt._winrt_windows_perception_spatial_preview.SpatialGraphInteropFrameOfReferencePreview",
|
|
131
128
|
sizeof(py::wrapper::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview),
|
|
132
129
|
0,
|
|
133
130
|
Py_TPFLAGS_DEFAULT,
|
|
134
|
-
_type_slots_SpatialGraphInteropFrameOfReferencePreview
|
|
135
|
-
};
|
|
131
|
+
_type_slots_SpatialGraphInteropFrameOfReferencePreview};
|
|
136
132
|
|
|
137
133
|
// ----- SpatialGraphInteropPreview class --------------------
|
|
138
134
|
|
|
@@ -149,14 +145,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
149
145
|
|
|
150
146
|
if (arg_count == 1)
|
|
151
147
|
{
|
|
152
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 1))
|
|
153
|
-
{
|
|
154
|
-
py::set_arg_count_version_error(1);
|
|
155
|
-
return nullptr;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
148
|
try
|
|
159
149
|
{
|
|
150
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 1))
|
|
151
|
+
{
|
|
152
|
+
py::set_arg_count_version_error(1);
|
|
153
|
+
return nullptr;
|
|
154
|
+
}
|
|
155
|
+
|
|
160
156
|
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
161
157
|
|
|
162
158
|
return py::convert(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropPreview::CreateCoordinateSystemForNode(param0));
|
|
@@ -169,14 +165,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
169
165
|
}
|
|
170
166
|
else if (arg_count == 2)
|
|
171
167
|
{
|
|
172
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 2))
|
|
173
|
-
{
|
|
174
|
-
py::set_arg_count_version_error(2);
|
|
175
|
-
return nullptr;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
168
|
try
|
|
179
169
|
{
|
|
170
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 2))
|
|
171
|
+
{
|
|
172
|
+
py::set_arg_count_version_error(2);
|
|
173
|
+
return nullptr;
|
|
174
|
+
}
|
|
175
|
+
|
|
180
176
|
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
181
177
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
182
178
|
|
|
@@ -190,14 +186,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
190
186
|
}
|
|
191
187
|
else if (arg_count == 3)
|
|
192
188
|
{
|
|
193
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 3))
|
|
194
|
-
{
|
|
195
|
-
py::set_arg_count_version_error(3);
|
|
196
|
-
return nullptr;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
189
|
try
|
|
200
190
|
{
|
|
191
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateCoordinateSystemForNode", 3))
|
|
192
|
+
{
|
|
193
|
+
py::set_arg_count_version_error(3);
|
|
194
|
+
return nullptr;
|
|
195
|
+
}
|
|
196
|
+
|
|
201
197
|
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
202
198
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
203
199
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Numerics::quaternion>(args, 2);
|
|
@@ -223,14 +219,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
223
219
|
|
|
224
220
|
if (arg_count == 1)
|
|
225
221
|
{
|
|
226
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateLocatorForNode", 1))
|
|
227
|
-
{
|
|
228
|
-
py::set_arg_count_version_error(1);
|
|
229
|
-
return nullptr;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
222
|
try
|
|
233
223
|
{
|
|
224
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"CreateLocatorForNode", 1))
|
|
225
|
+
{
|
|
226
|
+
py::set_arg_count_version_error(1);
|
|
227
|
+
return nullptr;
|
|
228
|
+
}
|
|
229
|
+
|
|
234
230
|
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
235
231
|
|
|
236
232
|
return py::convert(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropPreview::CreateLocatorForNode(param0));
|
|
@@ -254,14 +250,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
254
250
|
|
|
255
251
|
if (arg_count == 1)
|
|
256
252
|
{
|
|
257
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 1))
|
|
258
|
-
{
|
|
259
|
-
py::set_arg_count_version_error(1);
|
|
260
|
-
return nullptr;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
253
|
try
|
|
264
254
|
{
|
|
255
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 1))
|
|
256
|
+
{
|
|
257
|
+
py::set_arg_count_version_error(1);
|
|
258
|
+
return nullptr;
|
|
259
|
+
}
|
|
260
|
+
|
|
265
261
|
auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
|
|
266
262
|
|
|
267
263
|
return py::convert(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropPreview::TryCreateFrameOfReference(param0));
|
|
@@ -274,14 +270,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
274
270
|
}
|
|
275
271
|
else if (arg_count == 2)
|
|
276
272
|
{
|
|
277
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 2))
|
|
278
|
-
{
|
|
279
|
-
py::set_arg_count_version_error(2);
|
|
280
|
-
return nullptr;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
273
|
try
|
|
284
274
|
{
|
|
275
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 2))
|
|
276
|
+
{
|
|
277
|
+
py::set_arg_count_version_error(2);
|
|
278
|
+
return nullptr;
|
|
279
|
+
}
|
|
280
|
+
|
|
285
281
|
auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
|
|
286
282
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
287
283
|
|
|
@@ -295,14 +291,14 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
295
291
|
}
|
|
296
292
|
else if (arg_count == 3)
|
|
297
293
|
{
|
|
298
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 3))
|
|
299
|
-
{
|
|
300
|
-
py::set_arg_count_version_error(3);
|
|
301
|
-
return nullptr;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
294
|
try
|
|
305
295
|
{
|
|
296
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview", L"TryCreateFrameOfReference", 3))
|
|
297
|
+
{
|
|
298
|
+
py::set_arg_count_version_error(3);
|
|
299
|
+
return nullptr;
|
|
300
|
+
}
|
|
301
|
+
|
|
306
302
|
auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
|
|
307
303
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
308
304
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Numerics::quaternion>(args, 2);
|
|
@@ -330,22 +326,19 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
330
326
|
{ }
|
|
331
327
|
};
|
|
332
328
|
|
|
333
|
-
static PyType_Slot _type_slots_SpatialGraphInteropPreview[] =
|
|
334
|
-
{
|
|
329
|
+
static PyType_Slot _type_slots_SpatialGraphInteropPreview[] = {
|
|
335
330
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SpatialGraphInteropPreview) },
|
|
336
331
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SpatialGraphInteropPreview) },
|
|
337
332
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SpatialGraphInteropPreview) },
|
|
338
|
-
{ }
|
|
333
|
+
{ }
|
|
339
334
|
};
|
|
340
335
|
|
|
341
|
-
static PyType_Spec type_spec_SpatialGraphInteropPreview =
|
|
342
|
-
{
|
|
336
|
+
static PyType_Spec type_spec_SpatialGraphInteropPreview = {
|
|
343
337
|
"winrt._winrt_windows_perception_spatial_preview.SpatialGraphInteropPreview",
|
|
344
338
|
0,
|
|
345
339
|
0,
|
|
346
340
|
Py_TPFLAGS_DEFAULT,
|
|
347
|
-
_type_slots_SpatialGraphInteropPreview
|
|
348
|
-
};
|
|
341
|
+
_type_slots_SpatialGraphInteropPreview};
|
|
349
342
|
|
|
350
343
|
static PyGetSetDef getset_SpatialGraphInteropPreview_Static[] = {
|
|
351
344
|
{ }
|
|
@@ -376,20 +369,19 @@ namespace py::cpp::Windows::Perception::Spatial::Preview
|
|
|
376
369
|
};
|
|
377
370
|
|
|
378
371
|
// ----- Windows.Perception.Spatial.Preview Initialization --------------------
|
|
379
|
-
PyDoc_STRVAR(module_doc, "Windows::Perception::Spatial::Preview");
|
|
380
372
|
|
|
373
|
+
PyDoc_STRVAR(module_doc, "Windows.Perception.Spatial.Preview");
|
|
381
374
|
|
|
382
|
-
static PyModuleDef module_def
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
375
|
+
static PyModuleDef module_def = {
|
|
376
|
+
PyModuleDef_HEAD_INIT,
|
|
377
|
+
"_winrt_windows_perception_spatial_preview",
|
|
378
|
+
module_doc,
|
|
379
|
+
0,
|
|
380
|
+
nullptr,
|
|
381
|
+
nullptr,
|
|
382
|
+
nullptr,
|
|
383
|
+
nullptr,
|
|
384
|
+
nullptr};
|
|
393
385
|
} // py::cpp::Windows::Perception::Spatial::Preview
|
|
394
386
|
|
|
395
387
|
PyMODINIT_FUNC PyInit__winrt_windows_perception_spatial_preview(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.1.0
|
winrt_windows_perception_spatial_preview-2.1.0/winrt/_winrt_windows_perception_spatial_preview.pyi
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.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.numerics as windows_foundation_numerics
|
|
13
|
+
import winrt.windows.perception.spatial as windows_perception_spatial
|
|
14
|
+
|
|
15
|
+
Self = typing.TypeVar('Self')
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class SpatialGraphInteropFrameOfReferencePreview(winrt.system.Object):
|
|
19
|
+
@staticmethod
|
|
20
|
+
def _from(obj: winrt.system.Object, /) -> SpatialGraphInteropFrameOfReferencePreview: ...
|
|
21
|
+
@_property
|
|
22
|
+
def coordinate_system(self) -> typing.Optional[windows_perception_spatial.SpatialCoordinateSystem]: ...
|
|
23
|
+
@_property
|
|
24
|
+
def coordinate_system_to_node_transform(self) -> windows_foundation_numerics.Matrix4x4: ...
|
|
25
|
+
@_property
|
|
26
|
+
def node_id(self) -> _uuid.UUID: ...
|
|
27
|
+
|
|
28
|
+
@typing.final
|
|
29
|
+
class SpatialGraphInteropPreview_Static(type):
|
|
30
|
+
@typing.overload
|
|
31
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, /) -> typing.Optional[windows_perception_spatial.SpatialCoordinateSystem]: ...
|
|
32
|
+
@typing.overload
|
|
33
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3, /) -> typing.Optional[windows_perception_spatial.SpatialCoordinateSystem]: ...
|
|
34
|
+
@typing.overload
|
|
35
|
+
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, /) -> typing.Optional[windows_perception_spatial.SpatialCoordinateSystem]: ...
|
|
36
|
+
def create_locator_for_node(cls, node_id: _uuid.UUID, /) -> typing.Optional[windows_perception_spatial.SpatialLocator]: ...
|
|
37
|
+
@typing.overload
|
|
38
|
+
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
39
|
+
@typing.overload
|
|
40
|
+
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], relative_position: windows_foundation_numerics.Vector3, /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
41
|
+
@typing.overload
|
|
42
|
+
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], relative_position: windows_foundation_numerics.Vector3, relative_orientation: windows_foundation_numerics.Quaternion, /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class SpatialGraphInteropPreview(winrt.system.Object, metaclass=SpatialGraphInteropPreview_Static):
|
|
46
|
+
pass
|
|
47
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Perception.Spatial.Preview
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
winrt_windows_perception_spatial_preview-2.0.1/winrt/_winrt_windows_perception_spatial_preview.pyi
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.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.numerics
|
|
13
|
-
import winrt.windows.perception.spatial
|
|
14
|
-
|
|
15
|
-
Self = typing.TypeVar('Self')
|
|
16
|
-
|
|
17
|
-
@typing.final
|
|
18
|
-
class SpatialGraphInteropFrameOfReferencePreview(winrt.system.Object):
|
|
19
|
-
@staticmethod
|
|
20
|
-
def _from(obj: winrt.system.Object, /) -> SpatialGraphInteropFrameOfReferencePreview: ...
|
|
21
|
-
@_property
|
|
22
|
-
def coordinate_system(self) -> typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem]: ...
|
|
23
|
-
@_property
|
|
24
|
-
def coordinate_system_to_node_transform(self) -> winrt.windows.foundation.numerics.Matrix4x4: ...
|
|
25
|
-
@_property
|
|
26
|
-
def node_id(self) -> _uuid.UUID: ...
|
|
27
|
-
|
|
28
|
-
@typing.final
|
|
29
|
-
class SpatialGraphInteropPreview_Static(type):
|
|
30
|
-
@typing.overload
|
|
31
|
-
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, /) -> typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem]: ...
|
|
32
|
-
@typing.overload
|
|
33
|
-
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: winrt.windows.foundation.numerics.Vector3, /) -> typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem]: ...
|
|
34
|
-
@typing.overload
|
|
35
|
-
def create_coordinate_system_for_node(cls, node_id: _uuid.UUID, relative_position: winrt.windows.foundation.numerics.Vector3, relative_orientation: winrt.windows.foundation.numerics.Quaternion, /) -> typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem]: ...
|
|
36
|
-
def create_locator_for_node(cls, node_id: _uuid.UUID, /) -> typing.Optional[winrt.windows.perception.spatial.SpatialLocator]: ...
|
|
37
|
-
@typing.overload
|
|
38
|
-
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
39
|
-
@typing.overload
|
|
40
|
-
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], relative_position: winrt.windows.foundation.numerics.Vector3, /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
41
|
-
@typing.overload
|
|
42
|
-
def try_create_frame_of_reference(cls, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], relative_position: winrt.windows.foundation.numerics.Vector3, relative_orientation: winrt.windows.foundation.numerics.Quaternion, /) -> typing.Optional[SpatialGraphInteropFrameOfReferencePreview]: ...
|
|
43
|
-
|
|
44
|
-
@typing.final
|
|
45
|
-
class SpatialGraphInteropPreview(winrt.system.Object, metaclass=SpatialGraphInteropPreview_Static):
|
|
46
|
-
@staticmethod
|
|
47
|
-
def _from(obj: winrt.system.Object, /) -> SpatialGraphInteropPreview: ...
|
|
48
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|