winrt-Windows.Perception.People 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.
Files changed (20) hide show
  1. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/PKG-INFO +8 -8
  2. winrt_windows_perception_people-2.1.0/all-requirements.txt +8 -0
  3. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/py.Windows.Perception.People.cpp +257 -202
  4. winrt_windows_perception_people-2.1.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/requirements.txt +2 -2
  6. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt/_winrt_windows_perception_people.pyi +28 -24
  7. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt/windows/perception/people/__init__.py +1 -1
  8. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt_Windows.Perception.People.egg-info/PKG-INFO +8 -8
  9. winrt_windows_perception_people-2.1.0/winrt_Windows.Perception.People.egg-info/requires.txt +9 -0
  10. winrt_windows_perception_people-2.0.1/all-requirements.txt +0 -8
  11. winrt_windows_perception_people-2.0.1/pywinrt-version.txt +0 -1
  12. winrt_windows_perception_people-2.0.1/winrt_Windows.Perception.People.egg-info/requires.txt +0 -9
  13. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/README.md +0 -0
  14. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/pyproject.toml +0 -0
  15. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/setup.cfg +0 -0
  16. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/setup.py +0 -0
  17. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt/windows/perception/people/py.typed +0 -0
  18. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt_Windows.Perception.People.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt_Windows.Perception.People.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_perception_people-2.0.1 → winrt_windows_perception_people-2.1.0}/winrt_Windows.Perception.People.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Perception.People
3
- Version: 2.0.1
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,14 +12,14 @@ 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.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Perception[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0.1; extra == "all"
21
- Requires-Dist: winrt-Windows.UI.Input[all]==2.0.1; extra == "all"
22
- Requires-Dist: winrt-Windows.UI.Input.Spatial[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Perception[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Input[all]==2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI.Input.Spatial[all]==2.1.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
+
3
+ winrt-Windows.Foundation[all]==2.1.0
4
+ winrt-Windows.Foundation.Numerics[all]==2.1.0
5
+ winrt-Windows.Perception[all]==2.1.0
6
+ winrt-Windows.Perception.Spatial[all]==2.1.0
7
+ winrt-Windows.UI.Input[all]==2.1.0
8
+ winrt-Windows.UI.Input.Spatial[all]==2.1.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
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.People.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::Perception::People
7
6
  {
8
7
  // ----- EyesPose class --------------------
@@ -28,14 +27,14 @@ namespace py::cpp::Windows::Perception::People
28
27
 
29
28
  if (arg_count == 0)
30
29
  {
31
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.EyesPose", L"IsSupported", 0))
32
- {
33
- py::set_arg_count_version_error(0);
34
- return nullptr;
35
- }
36
-
37
30
  try
38
31
  {
32
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.EyesPose", L"IsSupported", 0))
33
+ {
34
+ py::set_arg_count_version_error(0);
35
+ return nullptr;
36
+ }
37
+
39
38
  return py::convert(winrt::Windows::Perception::People::EyesPose::IsSupported());
40
39
  }
41
40
  catch (...)
@@ -57,14 +56,14 @@ namespace py::cpp::Windows::Perception::People
57
56
 
58
57
  if (arg_count == 0)
59
58
  {
60
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.EyesPose", L"RequestAccessAsync", 0))
61
- {
62
- py::set_arg_count_version_error(0);
63
- return nullptr;
64
- }
65
-
66
59
  try
67
60
  {
61
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.EyesPose", L"RequestAccessAsync", 0))
62
+ {
63
+ py::set_arg_count_version_error(0);
64
+ return nullptr;
65
+ }
66
+
68
67
  return py::convert(winrt::Windows::Perception::People::EyesPose::RequestAccessAsync());
69
68
  }
70
69
  catch (...)
@@ -82,14 +81,14 @@ namespace py::cpp::Windows::Perception::People
82
81
 
83
82
  static PyObject* EyesPose_get_Gaze(py::wrapper::Windows::Perception::People::EyesPose* self, void* /*unused*/) noexcept
84
83
  {
85
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"Gaze"))
86
- {
87
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
88
- return nullptr;
89
- }
90
-
91
84
  try
92
85
  {
86
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"Gaze"))
87
+ {
88
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
89
+ return nullptr;
90
+ }
91
+
93
92
  return py::convert(self->obj.Gaze());
94
93
  }
95
94
  catch (...)
@@ -101,14 +100,14 @@ namespace py::cpp::Windows::Perception::People
101
100
 
102
101
  static PyObject* EyesPose_get_IsCalibrationValid(py::wrapper::Windows::Perception::People::EyesPose* self, void* /*unused*/) noexcept
103
102
  {
104
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"IsCalibrationValid"))
105
- {
106
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
107
- return nullptr;
108
- }
109
-
110
103
  try
111
104
  {
105
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"IsCalibrationValid"))
106
+ {
107
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
108
+ return nullptr;
109
+ }
110
+
112
111
  return py::convert(self->obj.IsCalibrationValid());
113
112
  }
114
113
  catch (...)
@@ -120,14 +119,14 @@ namespace py::cpp::Windows::Perception::People
120
119
 
121
120
  static PyObject* EyesPose_get_UpdateTimestamp(py::wrapper::Windows::Perception::People::EyesPose* self, void* /*unused*/) noexcept
122
121
  {
123
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"UpdateTimestamp"))
124
- {
125
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
126
- return nullptr;
127
- }
128
-
129
122
  try
130
123
  {
124
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.EyesPose", L"UpdateTimestamp"))
125
+ {
126
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
127
+ return nullptr;
128
+ }
129
+
131
130
  return py::convert(self->obj.UpdateTimestamp());
132
131
  }
133
132
  catch (...)
@@ -174,23 +173,20 @@ namespace py::cpp::Windows::Perception::People
174
173
  { }
175
174
  };
176
175
 
177
- static PyType_Slot _type_slots_EyesPose[] =
178
- {
176
+ static PyType_Slot _type_slots_EyesPose[] = {
179
177
  { Py_tp_new, reinterpret_cast<void*>(_new_EyesPose) },
180
178
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EyesPose) },
181
179
  { Py_tp_methods, reinterpret_cast<void*>(_methods_EyesPose) },
182
180
  { Py_tp_getset, reinterpret_cast<void*>(_getset_EyesPose) },
183
- { },
181
+ { }
184
182
  };
185
183
 
186
- static PyType_Spec type_spec_EyesPose =
187
- {
184
+ static PyType_Spec type_spec_EyesPose = {
188
185
  "winrt._winrt_windows_perception_people.EyesPose",
189
186
  sizeof(py::wrapper::Windows::Perception::People::EyesPose),
190
187
  0,
191
188
  Py_TPFLAGS_DEFAULT,
192
- _type_slots_EyesPose
193
- };
189
+ _type_slots_EyesPose};
194
190
 
195
191
  static PyGetSetDef getset_EyesPose_Static[] = {
196
192
  { }
@@ -242,14 +238,14 @@ namespace py::cpp::Windows::Perception::People
242
238
 
243
239
  if (arg_count == 1)
244
240
  {
245
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshObserver", L"GetTriangleIndices", 0))
246
- {
247
- py::set_arg_count_version_error(0);
248
- return nullptr;
249
- }
250
-
251
241
  try
252
242
  {
243
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshObserver", L"GetTriangleIndices", 0))
244
+ {
245
+ py::set_arg_count_version_error(0);
246
+ return nullptr;
247
+ }
248
+
253
249
  auto param0 = py::convert_to<py::pybuf_view<uint16_t, true>>(args, 0);
254
250
 
255
251
  self->obj.GetTriangleIndices(param0);
@@ -274,14 +270,14 @@ namespace py::cpp::Windows::Perception::People
274
270
 
275
271
  if (arg_count == 1)
276
272
  {
277
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshObserver", L"GetVertexStateForPose", 1))
278
- {
279
- py::set_arg_count_version_error(1);
280
- return nullptr;
281
- }
282
-
283
273
  try
284
274
  {
275
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshObserver", L"GetVertexStateForPose", 1))
276
+ {
277
+ py::set_arg_count_version_error(1);
278
+ return nullptr;
279
+ }
280
+
285
281
  auto param0 = py::convert_to<winrt::Windows::Perception::People::HandPose>(args, 0);
286
282
 
287
283
  return py::convert(self->obj.GetVertexStateForPose(param0));
@@ -301,14 +297,14 @@ namespace py::cpp::Windows::Perception::People
301
297
 
302
298
  static PyObject* HandMeshObserver_get_ModelId(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
303
299
  {
304
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"ModelId"))
305
- {
306
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
307
- return nullptr;
308
- }
309
-
310
300
  try
311
301
  {
302
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"ModelId"))
303
+ {
304
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
305
+ return nullptr;
306
+ }
307
+
312
308
  return py::convert(self->obj.ModelId());
313
309
  }
314
310
  catch (...)
@@ -320,14 +316,14 @@ namespace py::cpp::Windows::Perception::People
320
316
 
321
317
  static PyObject* HandMeshObserver_get_NeutralPose(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
322
318
  {
323
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"NeutralPose"))
324
- {
325
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
326
- return nullptr;
327
- }
328
-
329
319
  try
330
320
  {
321
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"NeutralPose"))
322
+ {
323
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
324
+ return nullptr;
325
+ }
326
+
331
327
  return py::convert(self->obj.NeutralPose());
332
328
  }
333
329
  catch (...)
@@ -339,14 +335,14 @@ namespace py::cpp::Windows::Perception::People
339
335
 
340
336
  static PyObject* HandMeshObserver_get_NeutralPoseVersion(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
341
337
  {
342
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"NeutralPoseVersion"))
343
- {
344
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
345
- return nullptr;
346
- }
347
-
348
338
  try
349
339
  {
340
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"NeutralPoseVersion"))
341
+ {
342
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
343
+ return nullptr;
344
+ }
345
+
350
346
  return py::convert(self->obj.NeutralPoseVersion());
351
347
  }
352
348
  catch (...)
@@ -358,14 +354,14 @@ namespace py::cpp::Windows::Perception::People
358
354
 
359
355
  static PyObject* HandMeshObserver_get_Source(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
360
356
  {
361
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"Source"))
362
- {
363
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
364
- return nullptr;
365
- }
366
-
367
357
  try
368
358
  {
359
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"Source"))
360
+ {
361
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
362
+ return nullptr;
363
+ }
364
+
369
365
  return py::convert(self->obj.Source());
370
366
  }
371
367
  catch (...)
@@ -377,14 +373,14 @@ namespace py::cpp::Windows::Perception::People
377
373
 
378
374
  static PyObject* HandMeshObserver_get_TriangleIndexCount(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
379
375
  {
380
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"TriangleIndexCount"))
381
- {
382
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
383
- return nullptr;
384
- }
385
-
386
376
  try
387
377
  {
378
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"TriangleIndexCount"))
379
+ {
380
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
381
+ return nullptr;
382
+ }
383
+
388
384
  return py::convert(self->obj.TriangleIndexCount());
389
385
  }
390
386
  catch (...)
@@ -396,14 +392,14 @@ namespace py::cpp::Windows::Perception::People
396
392
 
397
393
  static PyObject* HandMeshObserver_get_VertexCount(py::wrapper::Windows::Perception::People::HandMeshObserver* self, void* /*unused*/) noexcept
398
394
  {
399
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"VertexCount"))
400
- {
401
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
402
- return nullptr;
403
- }
404
-
405
395
  try
406
396
  {
397
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshObserver", L"VertexCount"))
398
+ {
399
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
400
+ return nullptr;
401
+ }
402
+
407
403
  return py::convert(self->obj.VertexCount());
408
404
  }
409
405
  catch (...)
@@ -455,23 +451,20 @@ namespace py::cpp::Windows::Perception::People
455
451
  { }
456
452
  };
457
453
 
458
- static PyType_Slot _type_slots_HandMeshObserver[] =
459
- {
454
+ static PyType_Slot _type_slots_HandMeshObserver[] = {
460
455
  { Py_tp_new, reinterpret_cast<void*>(_new_HandMeshObserver) },
461
456
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HandMeshObserver) },
462
457
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HandMeshObserver) },
463
458
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HandMeshObserver) },
464
- { },
459
+ { }
465
460
  };
466
461
 
467
- static PyType_Spec type_spec_HandMeshObserver =
468
- {
462
+ static PyType_Spec type_spec_HandMeshObserver = {
469
463
  "winrt._winrt_windows_perception_people.HandMeshObserver",
470
464
  sizeof(py::wrapper::Windows::Perception::People::HandMeshObserver),
471
465
  0,
472
466
  Py_TPFLAGS_DEFAULT,
473
- _type_slots_HandMeshObserver
474
- };
467
+ _type_slots_HandMeshObserver};
475
468
 
476
469
  // ----- HandMeshVertexState class --------------------
477
470
 
@@ -496,14 +489,14 @@ namespace py::cpp::Windows::Perception::People
496
489
 
497
490
  if (arg_count == 1)
498
491
  {
499
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshVertexState", L"GetVertices", 0))
500
- {
501
- py::set_arg_count_version_error(0);
502
- return nullptr;
503
- }
504
-
505
492
  try
506
493
  {
494
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandMeshVertexState", L"GetVertices", 0))
495
+ {
496
+ py::set_arg_count_version_error(0);
497
+ return nullptr;
498
+ }
499
+
507
500
  auto param0 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::HandMeshVertex, true>>(args, 0);
508
501
 
509
502
  self->obj.GetVertices(param0);
@@ -524,14 +517,14 @@ namespace py::cpp::Windows::Perception::People
524
517
 
525
518
  static PyObject* HandMeshVertexState_get_CoordinateSystem(py::wrapper::Windows::Perception::People::HandMeshVertexState* self, void* /*unused*/) noexcept
526
519
  {
527
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshVertexState", L"CoordinateSystem"))
528
- {
529
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
530
- return nullptr;
531
- }
532
-
533
520
  try
534
521
  {
522
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshVertexState", L"CoordinateSystem"))
523
+ {
524
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
525
+ return nullptr;
526
+ }
527
+
535
528
  return py::convert(self->obj.CoordinateSystem());
536
529
  }
537
530
  catch (...)
@@ -543,14 +536,14 @@ namespace py::cpp::Windows::Perception::People
543
536
 
544
537
  static PyObject* HandMeshVertexState_get_UpdateTimestamp(py::wrapper::Windows::Perception::People::HandMeshVertexState* self, void* /*unused*/) noexcept
545
538
  {
546
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshVertexState", L"UpdateTimestamp"))
547
- {
548
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
549
- return nullptr;
550
- }
551
-
552
539
  try
553
540
  {
541
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HandMeshVertexState", L"UpdateTimestamp"))
542
+ {
543
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
544
+ return nullptr;
545
+ }
546
+
554
547
  return py::convert(self->obj.UpdateTimestamp());
555
548
  }
556
549
  catch (...)
@@ -597,23 +590,20 @@ namespace py::cpp::Windows::Perception::People
597
590
  { }
598
591
  };
599
592
 
600
- static PyType_Slot _type_slots_HandMeshVertexState[] =
601
- {
593
+ static PyType_Slot _type_slots_HandMeshVertexState[] = {
602
594
  { Py_tp_new, reinterpret_cast<void*>(_new_HandMeshVertexState) },
603
595
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HandMeshVertexState) },
604
596
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HandMeshVertexState) },
605
597
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HandMeshVertexState) },
606
- { },
598
+ { }
607
599
  };
608
600
 
609
- static PyType_Spec type_spec_HandMeshVertexState =
610
- {
601
+ static PyType_Spec type_spec_HandMeshVertexState = {
611
602
  "winrt._winrt_windows_perception_people.HandMeshVertexState",
612
603
  sizeof(py::wrapper::Windows::Perception::People::HandMeshVertexState),
613
604
  0,
614
605
  Py_TPFLAGS_DEFAULT,
615
- _type_slots_HandMeshVertexState
616
- };
606
+ _type_slots_HandMeshVertexState};
617
607
 
618
608
  // ----- HandPose class --------------------
619
609
 
@@ -638,14 +628,14 @@ namespace py::cpp::Windows::Perception::People
638
628
 
639
629
  if (arg_count == 2)
640
630
  {
641
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"GetRelativeJoint", 2))
642
- {
643
- py::set_arg_count_version_error(2);
644
- return nullptr;
645
- }
646
-
647
631
  try
648
632
  {
633
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"GetRelativeJoint", 2))
634
+ {
635
+ py::set_arg_count_version_error(2);
636
+ return nullptr;
637
+ }
638
+
649
639
  auto param0 = py::convert_to<winrt::Windows::Perception::People::HandJointKind>(args, 0);
650
640
  auto param1 = py::convert_to<winrt::Windows::Perception::People::HandJointKind>(args, 1);
651
641
 
@@ -670,14 +660,14 @@ namespace py::cpp::Windows::Perception::People
670
660
 
671
661
  if (arg_count == 3)
672
662
  {
673
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"GetRelativeJoints", 2))
674
- {
675
- py::set_arg_count_version_error(2);
676
- return nullptr;
677
- }
678
-
679
663
  try
680
664
  {
665
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"GetRelativeJoints", 2))
666
+ {
667
+ py::set_arg_count_version_error(2);
668
+ return nullptr;
669
+ }
670
+
681
671
  auto param0 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::HandJointKind, false>>(args, 0);
682
672
  auto param1 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::HandJointKind, false>>(args, 1);
683
673
  auto param2 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::JointPose, true>>(args, 2);
@@ -704,17 +694,17 @@ namespace py::cpp::Windows::Perception::People
704
694
 
705
695
  if (arg_count == 2)
706
696
  {
707
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"TryGetJoint", 2))
708
- {
709
- py::set_arg_count_version_error(2);
710
- return nullptr;
711
- }
712
-
713
697
  try
714
698
  {
699
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"TryGetJoint", 2))
700
+ {
701
+ py::set_arg_count_version_error(2);
702
+ return nullptr;
703
+ }
704
+
715
705
  auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
716
706
  auto param1 = py::convert_to<winrt::Windows::Perception::People::HandJointKind>(args, 1);
717
- winrt::Windows::Perception::People::JointPose param2 { };
707
+ winrt::Windows::Perception::People::JointPose param2{};
718
708
 
719
709
  auto return_value = self->obj.TryGetJoint(param0, param1, param2);
720
710
 
@@ -749,14 +739,14 @@ namespace py::cpp::Windows::Perception::People
749
739
 
750
740
  if (arg_count == 3)
751
741
  {
752
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"TryGetJoints", 2))
753
- {
754
- py::set_arg_count_version_error(2);
755
- return nullptr;
756
- }
757
-
758
742
  try
759
743
  {
744
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Perception.People.HandPose", L"TryGetJoints", 2))
745
+ {
746
+ py::set_arg_count_version_error(2);
747
+ return nullptr;
748
+ }
749
+
760
750
  auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
761
751
  auto param1 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::HandJointKind, false>>(args, 1);
762
752
  auto param2 = py::convert_to<py::pybuf_view<winrt::Windows::Perception::People::JointPose, true>>(args, 2);
@@ -814,23 +804,20 @@ namespace py::cpp::Windows::Perception::People
814
804
  { }
815
805
  };
816
806
 
817
- static PyType_Slot _type_slots_HandPose[] =
818
- {
807
+ static PyType_Slot _type_slots_HandPose[] = {
819
808
  { Py_tp_new, reinterpret_cast<void*>(_new_HandPose) },
820
809
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HandPose) },
821
810
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HandPose) },
822
811
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HandPose) },
823
- { },
812
+ { }
824
813
  };
825
814
 
826
- static PyType_Spec type_spec_HandPose =
827
- {
815
+ static PyType_Spec type_spec_HandPose = {
828
816
  "winrt._winrt_windows_perception_people.HandPose",
829
817
  sizeof(py::wrapper::Windows::Perception::People::HandPose),
830
818
  0,
831
819
  Py_TPFLAGS_DEFAULT,
832
- _type_slots_HandPose
833
- };
820
+ _type_slots_HandPose};
834
821
 
835
822
  // ----- HeadPose class --------------------
836
823
 
@@ -851,14 +838,14 @@ namespace py::cpp::Windows::Perception::People
851
838
 
852
839
  static PyObject* HeadPose_get_ForwardDirection(py::wrapper::Windows::Perception::People::HeadPose* self, void* /*unused*/) noexcept
853
840
  {
854
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"ForwardDirection"))
855
- {
856
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
857
- return nullptr;
858
- }
859
-
860
841
  try
861
842
  {
843
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"ForwardDirection"))
844
+ {
845
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
846
+ return nullptr;
847
+ }
848
+
862
849
  return py::convert(self->obj.ForwardDirection());
863
850
  }
864
851
  catch (...)
@@ -870,14 +857,14 @@ namespace py::cpp::Windows::Perception::People
870
857
 
871
858
  static PyObject* HeadPose_get_Position(py::wrapper::Windows::Perception::People::HeadPose* self, void* /*unused*/) noexcept
872
859
  {
873
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"Position"))
874
- {
875
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
876
- return nullptr;
877
- }
878
-
879
860
  try
880
861
  {
862
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"Position"))
863
+ {
864
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
865
+ return nullptr;
866
+ }
867
+
881
868
  return py::convert(self->obj.Position());
882
869
  }
883
870
  catch (...)
@@ -889,14 +876,14 @@ namespace py::cpp::Windows::Perception::People
889
876
 
890
877
  static PyObject* HeadPose_get_UpDirection(py::wrapper::Windows::Perception::People::HeadPose* self, void* /*unused*/) noexcept
891
878
  {
892
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"UpDirection"))
893
- {
894
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
895
- return nullptr;
896
- }
897
-
898
879
  try
899
880
  {
881
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Perception.People.HeadPose", L"UpDirection"))
882
+ {
883
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
884
+ return nullptr;
885
+ }
886
+
900
887
  return py::convert(self->obj.UpDirection());
901
888
  }
902
889
  catch (...)
@@ -943,23 +930,20 @@ namespace py::cpp::Windows::Perception::People
943
930
  { }
944
931
  };
945
932
 
946
- static PyType_Slot _type_slots_HeadPose[] =
947
- {
933
+ static PyType_Slot _type_slots_HeadPose[] = {
948
934
  { Py_tp_new, reinterpret_cast<void*>(_new_HeadPose) },
949
935
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HeadPose) },
950
936
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HeadPose) },
951
937
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HeadPose) },
952
- { },
938
+ { }
953
939
  };
954
940
 
955
- static PyType_Spec type_spec_HeadPose =
956
- {
941
+ static PyType_Spec type_spec_HeadPose = {
957
942
  "winrt._winrt_windows_perception_people.HeadPose",
958
943
  sizeof(py::wrapper::Windows::Perception::People::HeadPose),
959
944
  0,
960
945
  Py_TPFLAGS_DEFAULT,
961
- _type_slots_HeadPose
962
- };
946
+ _type_slots_HeadPose};
963
947
 
964
948
  // ----- HandMeshVertex struct --------------------
965
949
 
@@ -998,7 +982,9 @@ namespace py::cpp::Windows::Perception::People
998
982
 
999
983
  try
1000
984
  {
1001
- self->obj = {py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Position), py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Normal)};
985
+ self->obj.Position = py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Position);
986
+ self->obj.Normal = py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Normal);
987
+
1002
988
  return 0;
1003
989
  }
1004
990
  catch (...)
@@ -1103,24 +1089,57 @@ namespace py::cpp::Windows::Perception::People
1103
1089
  { }
1104
1090
  };
1105
1091
 
1106
- static PyType_Slot _type_slots_HandMeshVertex[] =
1092
+ static PyObject* _richcompare_HandMeshVertex(py::wrapper::Windows::Perception::People::HandMeshVertex* self, PyObject* other, int op) noexcept
1107
1093
  {
1094
+ try
1095
+ {
1096
+ auto _other = py::converter<winrt::Windows::Perception::People::HandMeshVertex>::convert_to(other);
1097
+
1098
+ if (op == Py_EQ)
1099
+ {
1100
+ if (self->obj == _other)
1101
+ {
1102
+ Py_RETURN_TRUE;
1103
+ }
1104
+
1105
+ Py_RETURN_FALSE;
1106
+ }
1107
+
1108
+ if (op == Py_NE)
1109
+ {
1110
+ if (self->obj != _other)
1111
+ {
1112
+ Py_RETURN_TRUE;
1113
+ }
1114
+
1115
+ Py_RETURN_FALSE;
1116
+ }
1117
+
1118
+ Py_RETURN_NOTIMPLEMENTED;
1119
+ }
1120
+ catch (...)
1121
+ {
1122
+ py::to_PyErr();
1123
+ return nullptr;
1124
+ }
1125
+ }
1126
+
1127
+ static PyType_Slot _type_slots_HandMeshVertex[] = {
1108
1128
  { Py_tp_new, reinterpret_cast<void*>(_new_HandMeshVertex) },
1109
1129
  { Py_tp_init, reinterpret_cast<void*>(_init_HandMeshVertex) },
1110
1130
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HandMeshVertex) },
1111
1131
  { Py_tp_methods, reinterpret_cast<void*>(_methods_HandMeshVertex) },
1112
1132
  { Py_tp_getset, reinterpret_cast<void*>(_getset_HandMeshVertex) },
1113
- { },
1133
+ { Py_tp_richcompare, reinterpret_cast<void*>(_richcompare_HandMeshVertex) },
1134
+ { }
1114
1135
  };
1115
1136
 
1116
- static PyType_Spec type_spec_HandMeshVertex =
1117
- {
1137
+ static PyType_Spec type_spec_HandMeshVertex = {
1118
1138
  "winrt._winrt_windows_perception_people.HandMeshVertex",
1119
1139
  sizeof(py::wrapper::Windows::Perception::People::HandMeshVertex),
1120
1140
  0,
1121
1141
  Py_TPFLAGS_DEFAULT,
1122
- _type_slots_HandMeshVertex
1123
- };
1142
+ _type_slots_HandMeshVertex};
1124
1143
 
1125
1144
  // ----- JointPose struct --------------------
1126
1145
 
@@ -1161,7 +1180,11 @@ namespace py::cpp::Windows::Perception::People
1161
1180
 
1162
1181
  try
1163
1182
  {
1164
- self->obj = {py::converter<winrt::Windows::Foundation::Numerics::quaternion>::convert_to(_Orientation), py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Position), _Radius, static_cast<winrt::Windows::Perception::People::JointPoseAccuracy>(_Accuracy)};
1183
+ self->obj.Orientation = py::converter<winrt::Windows::Foundation::Numerics::quaternion>::convert_to(_Orientation);
1184
+ self->obj.Position = py::converter<winrt::Windows::Foundation::Numerics::float3>::convert_to(_Position);
1185
+ self->obj.Radius = _Radius;
1186
+ self->obj.Accuracy = static_cast<winrt::Windows::Perception::People::JointPoseAccuracy>(_Accuracy);
1187
+
1165
1188
  return 0;
1166
1189
  }
1167
1190
  catch (...)
@@ -1334,40 +1357,72 @@ namespace py::cpp::Windows::Perception::People
1334
1357
  { }
1335
1358
  };
1336
1359
 
1337
- static PyType_Slot _type_slots_JointPose[] =
1360
+ static PyObject* _richcompare_JointPose(py::wrapper::Windows::Perception::People::JointPose* self, PyObject* other, int op) noexcept
1338
1361
  {
1362
+ try
1363
+ {
1364
+ auto _other = py::converter<winrt::Windows::Perception::People::JointPose>::convert_to(other);
1365
+
1366
+ if (op == Py_EQ)
1367
+ {
1368
+ if (self->obj == _other)
1369
+ {
1370
+ Py_RETURN_TRUE;
1371
+ }
1372
+
1373
+ Py_RETURN_FALSE;
1374
+ }
1375
+
1376
+ if (op == Py_NE)
1377
+ {
1378
+ if (self->obj != _other)
1379
+ {
1380
+ Py_RETURN_TRUE;
1381
+ }
1382
+
1383
+ Py_RETURN_FALSE;
1384
+ }
1385
+
1386
+ Py_RETURN_NOTIMPLEMENTED;
1387
+ }
1388
+ catch (...)
1389
+ {
1390
+ py::to_PyErr();
1391
+ return nullptr;
1392
+ }
1393
+ }
1394
+
1395
+ static PyType_Slot _type_slots_JointPose[] = {
1339
1396
  { Py_tp_new, reinterpret_cast<void*>(_new_JointPose) },
1340
1397
  { Py_tp_init, reinterpret_cast<void*>(_init_JointPose) },
1341
1398
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_JointPose) },
1342
1399
  { Py_tp_methods, reinterpret_cast<void*>(_methods_JointPose) },
1343
1400
  { Py_tp_getset, reinterpret_cast<void*>(_getset_JointPose) },
1344
- { },
1401
+ { Py_tp_richcompare, reinterpret_cast<void*>(_richcompare_JointPose) },
1402
+ { }
1345
1403
  };
1346
1404
 
1347
- static PyType_Spec type_spec_JointPose =
1348
- {
1405
+ static PyType_Spec type_spec_JointPose = {
1349
1406
  "winrt._winrt_windows_perception_people.JointPose",
1350
1407
  sizeof(py::wrapper::Windows::Perception::People::JointPose),
1351
1408
  0,
1352
1409
  Py_TPFLAGS_DEFAULT,
1353
- _type_slots_JointPose
1354
- };
1410
+ _type_slots_JointPose};
1355
1411
 
1356
1412
  // ----- Windows.Perception.People Initialization --------------------
1357
- PyDoc_STRVAR(module_doc, "Windows::Perception::People");
1358
1413
 
1414
+ PyDoc_STRVAR(module_doc, "Windows.Perception.People");
1359
1415
 
1360
- static PyModuleDef module_def
1361
- = {PyModuleDef_HEAD_INIT,
1362
- "_winrt_windows_perception_people",
1363
- module_doc,
1364
- 0,
1365
- nullptr,
1366
- nullptr,
1367
- nullptr,
1368
- nullptr,
1369
- nullptr};
1370
-
1416
+ static PyModuleDef module_def = {
1417
+ PyModuleDef_HEAD_INIT,
1418
+ "_winrt_windows_perception_people",
1419
+ module_doc,
1420
+ 0,
1421
+ nullptr,
1422
+ nullptr,
1423
+ nullptr,
1424
+ nullptr,
1425
+ nullptr};
1371
1426
  } // py::cpp::Windows::Perception::People
1372
1427
 
1373
1428
  PyMODINIT_FUNC PyInit__winrt_windows_perception_people(void) noexcept
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.1.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,12 +9,12 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
13
- import winrt.windows.foundation.numerics
14
- import winrt.windows.perception
15
- import winrt.windows.perception.spatial
16
- import winrt.windows.ui.input
17
- import winrt.windows.ui.input.spatial
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
14
+ import winrt.windows.perception as windows_perception
15
+ import winrt.windows.perception.spatial as windows_perception_spatial
16
+ import winrt.windows.ui.input as windows_ui_input
17
+ import winrt.windows.ui.input.spatial as windows_ui_input_spatial
18
18
 
19
19
  from winrt.windows.perception.people import HandJointKind, JointPoseAccuracy
20
20
 
@@ -22,33 +22,37 @@ Self = typing.TypeVar('Self')
22
22
 
23
23
  @typing.final
24
24
  class HandMeshVertex:
25
- position: winrt.windows.foundation.numerics.Vector3
26
- normal: winrt.windows.foundation.numerics.Vector3
27
- def __init__(self, position: winrt.windows.foundation.numerics.Vector3, normal: winrt.windows.foundation.numerics.Vector3) -> None: ...
25
+ position: windows_foundation_numerics.Vector3
26
+ normal: windows_foundation_numerics.Vector3
27
+ def __init__(self, position: windows_foundation_numerics.Vector3, normal: windows_foundation_numerics.Vector3) -> None: ...
28
+ def __eq__(self, other: object, /) -> bool: ...
29
+ def __ne__(self, other: object, /) -> bool: ...
28
30
 
29
31
  @typing.final
30
32
  class JointPose:
31
- orientation: winrt.windows.foundation.numerics.Quaternion
32
- position: winrt.windows.foundation.numerics.Vector3
33
+ orientation: windows_foundation_numerics.Quaternion
34
+ position: windows_foundation_numerics.Vector3
33
35
  radius: winrt.system.Single
34
36
  accuracy: JointPoseAccuracy
35
- def __init__(self, orientation: winrt.windows.foundation.numerics.Quaternion, position: winrt.windows.foundation.numerics.Vector3, radius: winrt.system.Single, accuracy: JointPoseAccuracy) -> None: ...
37
+ def __init__(self, orientation: windows_foundation_numerics.Quaternion, position: windows_foundation_numerics.Vector3, radius: winrt.system.Single, accuracy: JointPoseAccuracy) -> None: ...
38
+ def __eq__(self, other: object, /) -> bool: ...
39
+ def __ne__(self, other: object, /) -> bool: ...
36
40
 
37
41
  @typing.final
38
42
  class EyesPose_Static(type):
39
43
  def is_supported(cls) -> bool: ...
40
- def request_access_async(cls) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.ui.input.GazeInputAccessStatus]: ...
44
+ def request_access_async(cls) -> windows_foundation.IAsyncOperation[windows_ui_input.GazeInputAccessStatus]: ...
41
45
 
42
46
  @typing.final
43
47
  class EyesPose(winrt.system.Object, metaclass=EyesPose_Static):
44
48
  @staticmethod
45
49
  def _from(obj: winrt.system.Object, /) -> EyesPose: ...
46
50
  @_property
47
- def gaze(self) -> typing.Optional[typing.Optional[winrt.windows.perception.spatial.SpatialRay]]: ...
51
+ def gaze(self) -> typing.Optional[typing.Optional[windows_perception_spatial.SpatialRay]]: ...
48
52
  @_property
49
53
  def is_calibration_valid(self) -> bool: ...
50
54
  @_property
51
- def update_timestamp(self) -> typing.Optional[winrt.windows.perception.PerceptionTimestamp]: ...
55
+ def update_timestamp(self) -> typing.Optional[windows_perception.PerceptionTimestamp]: ...
52
56
 
53
57
  @typing.final
54
58
  class HandMeshObserver(winrt.system.Object):
@@ -63,7 +67,7 @@ class HandMeshObserver(winrt.system.Object):
63
67
  @_property
64
68
  def neutral_pose_version(self) -> winrt.system.Int32: ...
65
69
  @_property
66
- def source(self) -> typing.Optional[winrt.windows.ui.input.spatial.SpatialInteractionSource]: ...
70
+ def source(self) -> typing.Optional[windows_ui_input_spatial.SpatialInteractionSource]: ...
67
71
  @_property
68
72
  def triangle_index_count(self) -> winrt.system.UInt32: ...
69
73
  @_property
@@ -75,9 +79,9 @@ class HandMeshVertexState(winrt.system.Object):
75
79
  def _from(obj: winrt.system.Object, /) -> HandMeshVertexState: ...
76
80
  def get_vertices(self, vertices: winrt.system.Array[HandMeshVertex], /) -> None: ...
77
81
  @_property
78
- def coordinate_system(self) -> typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem]: ...
82
+ def coordinate_system(self) -> typing.Optional[windows_perception_spatial.SpatialCoordinateSystem]: ...
79
83
  @_property
80
- def update_timestamp(self) -> typing.Optional[winrt.windows.perception.PerceptionTimestamp]: ...
84
+ def update_timestamp(self) -> typing.Optional[windows_perception.PerceptionTimestamp]: ...
81
85
 
82
86
  @typing.final
83
87
  class HandPose(winrt.system.Object):
@@ -85,17 +89,17 @@ class HandPose(winrt.system.Object):
85
89
  def _from(obj: winrt.system.Object, /) -> HandPose: ...
86
90
  def get_relative_joint(self, joint: HandJointKind, reference_joint: HandJointKind, /) -> JointPose: ...
87
91
  def get_relative_joints(self, joints: winrt.system.Array[HandJointKind], reference_joints: winrt.system.Array[HandJointKind], joint_poses: winrt.system.Array[JointPose], /) -> None: ...
88
- def try_get_joint(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], joint: HandJointKind, /) -> typing.Tuple[bool, JointPose]: ...
89
- def try_get_joints(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], joints: winrt.system.Array[HandJointKind], joint_poses: winrt.system.Array[JointPose], /) -> bool: ...
92
+ def try_get_joint(self, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], joint: HandJointKind, /) -> typing.Tuple[bool, JointPose]: ...
93
+ def try_get_joints(self, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], joints: winrt.system.Array[HandJointKind], joint_poses: winrt.system.Array[JointPose], /) -> bool: ...
90
94
 
91
95
  @typing.final
92
96
  class HeadPose(winrt.system.Object):
93
97
  @staticmethod
94
98
  def _from(obj: winrt.system.Object, /) -> HeadPose: ...
95
99
  @_property
96
- def forward_direction(self) -> winrt.windows.foundation.numerics.Vector3: ...
100
+ def forward_direction(self) -> windows_foundation_numerics.Vector3: ...
97
101
  @_property
98
- def position(self) -> winrt.windows.foundation.numerics.Vector3: ...
102
+ def position(self) -> windows_foundation_numerics.Vector3: ...
99
103
  @_property
100
- def up_direction(self) -> winrt.windows.foundation.numerics.Vector3: ...
104
+ def up_direction(self) -> windows_foundation_numerics.Vector3: ...
101
105
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Perception.People
3
- Version: 2.0.1
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,14 +12,14 @@ 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.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Perception[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0.1; extra == "all"
21
- Requires-Dist: winrt-Windows.UI.Input[all]==2.0.1; extra == "all"
22
- Requires-Dist: winrt-Windows.UI.Input.Spatial[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Perception[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Input[all]==2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI.Input.Spatial[all]==2.1.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,9 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.1.0
5
+ winrt-Windows.Foundation.Numerics[all]==2.1.0
6
+ winrt-Windows.Perception[all]==2.1.0
7
+ winrt-Windows.Perception.Spatial[all]==2.1.0
8
+ winrt-Windows.UI.Input[all]==2.1.0
9
+ winrt-Windows.UI.Input.Spatial[all]==2.1.0
@@ -1,8 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.1
4
- winrt-Windows.Foundation.Numerics[all]==2.0.1
5
- winrt-Windows.Perception[all]==2.0.1
6
- winrt-Windows.Perception.Spatial[all]==2.0.1
7
- winrt-Windows.UI.Input[all]==2.0.1
8
- winrt-Windows.UI.Input.Spatial[all]==2.0.1
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Numerics[all]==2.0.1
6
- winrt-Windows.Perception[all]==2.0.1
7
- winrt-Windows.Perception.Spatial[all]==2.0.1
8
- winrt-Windows.UI.Input[all]==2.0.1
9
- winrt-Windows.UI.Input.Spatial[all]==2.0.1