meshlib 3.0.3.233__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_aarch64.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.

Potentially problematic release.


This version of meshlib might be problematic. Click here for more details.

Files changed (100) hide show
  1. meshlib/MRDarkTheme.json +514 -0
  2. meshlib/MRLightTheme.json +514 -0
  3. meshlib/NotoSansSC-Regular.otf +0 -0
  4. meshlib/__init__.py +18 -0
  5. meshlib/fa-solid-900.ttf +0 -0
  6. meshlib/libpybind11nonlimitedapi_meshlib_3.10.so +0 -0
  7. meshlib/libpybind11nonlimitedapi_meshlib_3.11.so +0 -0
  8. meshlib/libpybind11nonlimitedapi_meshlib_3.12.so +0 -0
  9. meshlib/libpybind11nonlimitedapi_meshlib_3.13.so +0 -0
  10. meshlib/libpybind11nonlimitedapi_meshlib_3.8.so +0 -0
  11. meshlib/libpybind11nonlimitedapi_meshlib_3.9.so +0 -0
  12. meshlib/mrcudapy.pyi +133 -0
  13. meshlib/mrcudapy.so +0 -0
  14. meshlib/mrmeshnumpy.pyi +85 -0
  15. meshlib/mrmeshnumpy.so +0 -0
  16. meshlib/mrmeshpy.pyi +82456 -0
  17. meshlib/mrmeshpy.so +0 -0
  18. meshlib/mrviewerpy.pyi +614 -0
  19. meshlib/mrviewerpy.so +0 -0
  20. meshlib-3.0.3.233.dist-info/LICENSE +148 -0
  21. meshlib-3.0.3.233.dist-info/METADATA +238 -0
  22. meshlib-3.0.3.233.dist-info/RECORD +100 -0
  23. meshlib-3.0.3.233.dist-info/WHEEL +11 -0
  24. meshlib-3.0.3.233.dist-info/top_level.txt +1 -0
  25. meshlib.libs/libCharLS-75cd4a89.so.2.0 +0 -0
  26. meshlib.libs/libE57Format-5d24dabf.so.3.2.0 +0 -0
  27. meshlib.libs/libMRCuda-9971a41a.so +0 -0
  28. meshlib.libs/libMRIOExtras-c9e69d28.so +0 -0
  29. meshlib.libs/libMRMesh-b82b4ce3.so +0 -0
  30. meshlib.libs/libMRPython-884622be.so +0 -0
  31. meshlib.libs/libMRSymbolMesh-77999842.so +0 -0
  32. meshlib.libs/libMRViewer-45e96600.so +0 -0
  33. meshlib.libs/libMRVoxels-4ec1c361.so +0 -0
  34. meshlib.libs/libOpenCTM-519ce32c.so +0 -0
  35. meshlib.libs/libTKBRep-2b5eb62e.so.7.3.0 +0 -0
  36. meshlib.libs/libTKG2d-d80e2a96.so.7.3.0 +0 -0
  37. meshlib.libs/libTKG3d-255fe2f0.so.7.3.0 +0 -0
  38. meshlib.libs/libTKGeomAlgo-90bc8cbf.so.7.3.0 +0 -0
  39. meshlib.libs/libTKGeomBase-cec66c21.so.7.3.0 +0 -0
  40. meshlib.libs/libTKMath-34f7092d.so.7.3.0 +0 -0
  41. meshlib.libs/libTKMesh-33364af2.so.7.3.0 +0 -0
  42. meshlib.libs/libTKSTEP-771500d7.so.7.3.0 +0 -0
  43. meshlib.libs/libTKSTEP209-2a11972e.so.7.3.0 +0 -0
  44. meshlib.libs/libTKSTEPAttr-b9fe90a0.so.7.3.0 +0 -0
  45. meshlib.libs/libTKSTEPBase-66e2fbd6.so.7.3.0 +0 -0
  46. meshlib.libs/libTKShHealing-47d5b206.so.7.3.0 +0 -0
  47. meshlib.libs/libTKTopAlgo-d8ed46e3.so.7.3.0 +0 -0
  48. meshlib.libs/libTKXSBase-80c276ec.so.7.3.0 +0 -0
  49. meshlib.libs/libTKernel-86999b78.so.7.3.0 +0 -0
  50. meshlib.libs/libXau-eda1406d.so.6.0.0 +0 -0
  51. meshlib.libs/libXdmcp-0f32b817.so.6.0.0 +0 -0
  52. meshlib.libs/libblosc-b9dfe50e.so.1.17.1 +0 -0
  53. meshlib.libs/libboost_iostreams-2bf55a7d.so.1.71.0 +0 -0
  54. meshlib.libs/libbsd-db1a155f.so.0.10.0 +0 -0
  55. meshlib.libs/libbz2-0a206719.so.1.0.4 +0 -0
  56. meshlib.libs/libclip-94471f76.so +0 -0
  57. meshlib.libs/libcpr-4c7e1bca.so.1.8.1 +0 -0
  58. meshlib.libs/libcrypto-58b32a5c.so.1.1 +0 -0
  59. meshlib.libs/libcurl-99035041.so +0 -0
  60. meshlib.libs/libfreetype-fb8e6785.so.6.17.1 +0 -0
  61. meshlib.libs/libgdcmCommon-aa79ffa3.so.3.0.5 +0 -0
  62. meshlib.libs/libgdcmDICT-4e9dcb6c.so.3.0.5 +0 -0
  63. meshlib.libs/libgdcmDSED-814afc02.so.3.0.5 +0 -0
  64. meshlib.libs/libgdcmIOD-aacedc74.so.3.0.5 +0 -0
  65. meshlib.libs/libgdcmMEXD-3468f97a.so.3.0.5 +0 -0
  66. meshlib.libs/libgdcmMSFF-ece750c0.so.3.0.5 +0 -0
  67. meshlib.libs/libgdcmjpeg12-6899365b.so.3.0.5 +0 -0
  68. meshlib.libs/libgdcmjpeg16-4ce42b25.so.3.0.5 +0 -0
  69. meshlib.libs/libgdcmjpeg8-4f195e64.so.3.0.5 +0 -0
  70. meshlib.libs/libglad-02909cad.so +0 -0
  71. meshlib.libs/libglfw-9ba9a5dc.so.3.3 +0 -0
  72. meshlib.libs/libhidapi-hidraw-871964ef.so.0.0.0 +0 -0
  73. meshlib.libs/libhpdf-2-6b4a2a29.3.0.so +0 -0
  74. meshlib.libs/libimgui-7d3f40b7.so +0 -0
  75. meshlib.libs/libjbig-9afaf6ad.so.0 +0 -0
  76. meshlib.libs/libjpeg-5e14f091.so.8.2.2 +0 -0
  77. meshlib.libs/libjson-c-6d909150.so.4.0.0 +0 -0
  78. meshlib.libs/libjsoncpp-d81bd991.so.1.7.4 +0 -0
  79. meshlib.libs/liblazperf-82e64120.so +0 -0
  80. meshlib.libs/liblz4-7c8ab8ea.so.1.9.2 +0 -0
  81. meshlib.libs/liblzma-39295b2a.so.5.2.4 +0 -0
  82. meshlib.libs/libopenjp2-57108286.so.2.3.1 +0 -0
  83. meshlib.libs/libopenvdb-ea703af3.so.9.1.0 +0 -0
  84. meshlib.libs/libpng16-14ba485f.so.16.37.0 +0 -0
  85. meshlib.libs/libpybind11nonlimitedapi_stubs-415a6253.so +0 -0
  86. meshlib.libs/libsnappy-6ea4e715.so.1.1.8 +0 -0
  87. meshlib.libs/libsocket++-937848fd.so.1.0.2 +0 -0
  88. meshlib.libs/libspdlog-42d8c22c.so.1.5.0 +0 -0
  89. meshlib.libs/libssl-278540b3.so.1.1 +0 -0
  90. meshlib.libs/libtbb-28b28882.so.2 +0 -0
  91. meshlib.libs/libtbbmalloc-02928958.so.2 +0 -0
  92. meshlib.libs/libtiff-a0b90811.so.5.5.0 +0 -0
  93. meshlib.libs/libtinyxml2-c644374f.so.6.2.0 +0 -0
  94. meshlib.libs/libturbojpeg-e06211b1.so.0.2.0 +0 -0
  95. meshlib.libs/libudev-a27d14ba.so.1.6.17 +0 -0
  96. meshlib.libs/libuuid-491b2465.so.1.3.0 +0 -0
  97. meshlib.libs/libwebp-700338d5.so.6.0.2 +0 -0
  98. meshlib.libs/libxcb-0be8eae2.so.1.1.0 +0 -0
  99. meshlib.libs/libzip-5f10f33e.so.5.0 +0 -0
  100. meshlib.libs/libzstd-2b6c1b1f.so.1.4.4 +0 -0
@@ -0,0 +1,514 @@
1
+ {
2
+ "ImGuiPreset": "Light",
3
+ "BackFaces": {
4
+ "a": 255,
5
+ "b": 85,
6
+ "g": 145,
7
+ "r": 123
8
+ },
9
+ "Edges": {
10
+ "a": 255,
11
+ "b": 0,
12
+ "g": 0,
13
+ "r": 0
14
+ },
15
+ "Points": {
16
+ "a": 255,
17
+ "b": 0,
18
+ "g": 72,
19
+ "r": 246
20
+ },
21
+ "Labels": {
22
+ "a": 255,
23
+ "b": 0,
24
+ "g": 0,
25
+ "r": 0
26
+ },
27
+ "Ribbon Colors": {
28
+ "Background": {
29
+ "a": 255,
30
+ "b": 255,
31
+ "g": 255,
32
+ "r": 255
33
+ },
34
+ "BackgroundSecStyle": {
35
+ "a": 255,
36
+ "b": 249,
37
+ "g": 246,
38
+ "r": 245
39
+ },
40
+ "Borders": {
41
+ "a": 255,
42
+ "b": 217,
43
+ "g": 208,
44
+ "r": 200
45
+ },
46
+ "HeaderBackground": {
47
+ "a": 255,
48
+ "b": 0,
49
+ "g": 0,
50
+ "r": 0
51
+ },
52
+ "HeaderSeparator": {
53
+ "a": 255,
54
+ "b": 255,
55
+ "g": 255,
56
+ "r": 255
57
+ },
58
+ "RibbonButtonHovered": {
59
+ "a": 255,
60
+ "b": 244,
61
+ "g": 237,
62
+ "r": 236
63
+ },
64
+ "RibbonButtonClicked": {
65
+ "a": 255,
66
+ "b": 229,
67
+ "g": 221,
68
+ "r": 219
69
+ },
70
+ "RibbonButtonActive": {
71
+ "a": 255,
72
+ "b": 214,
73
+ "g": 119,
74
+ "r": 39
75
+ },
76
+ "RibbonButtonActiveHovered": {
77
+ "a": 255,
78
+ "b": 255,
79
+ "g": 155,
80
+ "r": 72
81
+ },
82
+ "RibbonButtonActiveClicked": {
83
+ "a": 255,
84
+ "b": 255,
85
+ "g": 116,
86
+ "r": 0
87
+ },
88
+ "TabActive": {
89
+ "a": 255,
90
+ "b": 255,
91
+ "g": 255,
92
+ "r": 255
93
+ },
94
+ "TabActiveHovered": {
95
+ "a": 255,
96
+ "b": 255,
97
+ "g": 255,
98
+ "r": 255
99
+ },
100
+ "TabActiveClicked": {
101
+ "a": 255,
102
+ "b": 229,
103
+ "g": 221,
104
+ "r": 219
105
+ },
106
+ "TabText": {
107
+ "a": 255,
108
+ "b": 255,
109
+ "g": 255,
110
+ "r": 255
111
+ },
112
+ "TabActiveText": {
113
+ "a": 255,
114
+ "b": 0,
115
+ "g": 0,
116
+ "r": 0
117
+ },
118
+ "TabHovered": {
119
+ "a": 255,
120
+ "b": 90,
121
+ "g": 84,
122
+ "r": 79
123
+ },
124
+ "TabClicked": {
125
+ "a": 255,
126
+ "b": 105,
127
+ "g": 99,
128
+ "r": 95
129
+ },
130
+ "DialogTab": {
131
+ "a": 255,
132
+ "b": 71,
133
+ "g": 67,
134
+ "r": 63
135
+ },
136
+ "DialogTabHovered": {
137
+ "a": 255,
138
+ "b": 135,
139
+ "g": 131,
140
+ "r": 127
141
+ },
142
+ "DialogTabActive": {
143
+ "a": 255,
144
+ "b": 20,
145
+ "g": 169,
146
+ "r": 60
147
+ },
148
+ "DialogTabActiveHovered": {
149
+ "a": 255,
150
+ "b": 84,
151
+ "g": 233,
152
+ "r": 124
153
+ },
154
+ "DialogTabText": {
155
+ "a": 255,
156
+ "b": 255,
157
+ "g": 255,
158
+ "r": 255
159
+ },
160
+ "DialogTabActiveText": {
161
+ "a": 255,
162
+ "b": 255,
163
+ "g": 255,
164
+ "r": 255
165
+ },
166
+ "ToolbarHovered": {
167
+ "a": 255,
168
+ "b": 244,
169
+ "g": 237,
170
+ "r": 236
171
+ },
172
+ "ToolbarClicked": {
173
+ "a": 255,
174
+ "b": 229,
175
+ "g": 221,
176
+ "r": 219
177
+ },
178
+ "ModalBackground": {
179
+ "a": 255,
180
+ "b": 245,
181
+ "g": 240,
182
+ "r": 238
183
+ },
184
+ "Text": {
185
+ "a": 255,
186
+ "b": 41,
187
+ "g": 37,
188
+ "r": 34
189
+ },
190
+ "TextDisabled": {
191
+ "a": 77,
192
+ "b": 41,
193
+ "g": 37,
194
+ "r": 34
195
+ },
196
+ "TextEnabled": {
197
+ "a": 255,
198
+ "b": 255,
199
+ "g": 255,
200
+ "r": 255
201
+ },
202
+ "TextSelectedBg": {
203
+ "a": 255,
204
+ "b": 255,
205
+ "g": 164,
206
+ "r": 87
207
+ },
208
+ "TopPanelBackground": {
209
+ "a": 255,
210
+ "b": 255,
211
+ "g": 255,
212
+ "r": 255
213
+ },
214
+ "QuickAccessBackground": {
215
+ "a": 255,
216
+ "b": 255,
217
+ "g": 255,
218
+ "r": 255
219
+ },
220
+ "ThirdpartyBackground": {
221
+ "a": 255,
222
+ "b": 245,
223
+ "g": 240,
224
+ "r": 239
225
+ },
226
+ "ProgressBarBackground": {
227
+ "a": 255,
228
+ "b": 229,
229
+ "g": 221,
230
+ "r": 219
231
+ },
232
+ "FrameBackground": {
233
+ "a": 255,
234
+ "b": 249,
235
+ "g": 246,
236
+ "r": 245
237
+ },
238
+ "CollapseHeaderBackground": {
239
+ "a": 255,
240
+ "b": 249,
241
+ "g": 246,
242
+ "r": 245
243
+ },
244
+ "SelectedObjectText": {
245
+ "a": 255,
246
+ "b": 255,
247
+ "g": 255,
248
+ "r": 255
249
+ },
250
+ "SelectedObjectFrame": {
251
+ "a": 255,
252
+ "b": 255,
253
+ "g": 131,
254
+ "r": 27
255
+ },
256
+ "GradientStart": {
257
+ "a": 255,
258
+ "b": 255,
259
+ "g": 131,
260
+ "r": 27
261
+ },
262
+ "GradientEnd": {
263
+ "a": 255,
264
+ "b": 169,
265
+ "g": 77,
266
+ "r": 0
267
+ },
268
+
269
+ "TextContrastBackground": {
270
+ "a": 204,
271
+ "b": 249,
272
+ "g": 246,
273
+ "r": 245
274
+ },
275
+
276
+ "GradBtnStart": {
277
+ "a": 255,
278
+ "b": 255,
279
+ "g": 131,
280
+ "r": 27
281
+ },
282
+ "GradBtnHoverStart": {
283
+ "a": 255,
284
+ "b": 255,
285
+ "g": 147,
286
+ "r": 56
287
+ },
288
+ "GradBtnActiveStart": {
289
+ "a": 255,
290
+ "b": 255,
291
+ "g": 157,
292
+ "r": 74
293
+ },
294
+ "GradBtnDisableStart": {
295
+ "a": 255,
296
+ "b": 229,
297
+ "g": 221,
298
+ "r": 219
299
+ },
300
+ "GradBtnEnd": {
301
+ "a": 255,
302
+ "b": 169,
303
+ "g": 77,
304
+ "r": 0
305
+ },
306
+ "GradBtnHoverEnd": {
307
+ "a": 255,
308
+ "b": 200,
309
+ "g": 91,
310
+ "r": 0
311
+ },
312
+ "GradBtnActiveEnd": {
313
+ "a": 255,
314
+ "b": 230,
315
+ "g": 105,
316
+ "r": 0
317
+ },
318
+ "GradBtnDisableEnd": {
319
+ "a": 255,
320
+ "b": 229,
321
+ "g": 221,
322
+ "r": 219
323
+ },
324
+ "GradBtnText": {
325
+ "a": 255,
326
+ "b": 255,
327
+ "g": 255,
328
+ "r": 255
329
+ },
330
+
331
+ "GradBtnSecStyleStart": {
332
+ "a": 255,
333
+ "b": 0,
334
+ "g": 206,
335
+ "r": 86
336
+ },
337
+ "GradBtnSecStyleHoverStart": {
338
+ "a": 255,
339
+ "b": 0,
340
+ "g": 229,
341
+ "r": 96
342
+ },
343
+ "GradBtnSecStyleActiveStart": {
344
+ "a": 255,
345
+ "b": 0,
346
+ "g": 239,
347
+ "r": 100
348
+ },
349
+ "GradBtnSecStyleEnd": {
350
+ "a": 255,
351
+ "b": 0,
352
+ "g": 141,
353
+ "r": 38
354
+ },
355
+ "GradBtnSecStyleHoverEnd": {
356
+ "a": 255,
357
+ "b": 0,
358
+ "g": 154,
359
+ "r": 42
360
+ },
361
+ "GradBtnSecStyleActiveEnd": {
362
+ "a": 255,
363
+ "b": 0,
364
+ "g": 171,
365
+ "r": 46
366
+ }
367
+ },
368
+ "Viewport Colors": {
369
+ "Background": {
370
+ "a": 255,
371
+ "b": 245,
372
+ "g": 240,
373
+ "r": 238
374
+ },
375
+ "Borders": {
376
+ "a": 255,
377
+ "b": 255,
378
+ "g": 255,
379
+ "r": 255
380
+ }
381
+ },
382
+ "SelectedEdges": {
383
+ "a": 255,
384
+ "b": 178,
385
+ "g": 51,
386
+ "r": 178
387
+ },
388
+ "SelectedFaces": {
389
+ "a": 255,
390
+ "b": 52,
391
+ "g": 52,
392
+ "r": 204
393
+ },
394
+ "SelectedPoints": {
395
+ "a": 255,
396
+ "b": 52,
397
+ "g": 52,
398
+ "r": 204
399
+ },
400
+ "SelectedFeatures": {
401
+ "a": 255,
402
+ "b": 107,
403
+ "g": 40,
404
+ "r": 193
405
+ },
406
+ "UnselectedFeatures": {
407
+ "a": 255,
408
+ "b": 70,
409
+ "g": 128,
410
+ "r": 216
411
+ },
412
+ "FeatureBackFaces": {
413
+ "a": 255,
414
+ "b": 91,
415
+ "g": 124,
416
+ "r": 176
417
+ },
418
+ "SelectedFeatureDecorations": {
419
+ "a": 255,
420
+ "b": 192,
421
+ "g": 64,
422
+ "r": 255
423
+ },
424
+ "UnselectedFeatureDecorations": {
425
+ "a": 255,
426
+ "b": 192,
427
+ "g": 64,
428
+ "r": 255
429
+ },
430
+ "SelectedMeasurements": {
431
+ "a": 255,
432
+ "b": 240,
433
+ "g": 255,
434
+ "r": 50
435
+ },
436
+ "UnselectedMeasurements": {
437
+ "a": 255,
438
+ "b": 255,
439
+ "g": 255,
440
+ "r": 255
441
+ },
442
+ "SelectedTemporaryMeasurements": {
443
+ "a": 255,
444
+ "b": 255,
445
+ "g": 197,
446
+ "r": 0
447
+ },
448
+ "UnselectedTemporaryMeasurements": {
449
+ "a": 255,
450
+ "b": 0,
451
+ "g": 255,
452
+ "r": 27
453
+ },
454
+ "SelectedObjectMesh": {
455
+ "a": 255,
456
+ "b": 236,
457
+ "g": 78,
458
+ "r": 55
459
+ },
460
+ "UnselectedObjectMesh": {
461
+ "a": 255,
462
+ "b": 255,
463
+ "g": 255,
464
+ "r": 255
465
+ },
466
+ "SelectedObjectPoints": {
467
+ "a": 255,
468
+ "b": 236,
469
+ "g": 78,
470
+ "r": 55
471
+ },
472
+ "UnselectedObjectPoints": {
473
+ "a": 255,
474
+ "b": 255,
475
+ "g": 255,
476
+ "r": 255
477
+ },
478
+ "SelectedObjectLines": {
479
+ "a": 255,
480
+ "b": 236,
481
+ "g": 78,
482
+ "r": 55
483
+ },
484
+ "UnselectedObjectLines": {
485
+ "a": 255,
486
+ "b": 255,
487
+ "g": 255,
488
+ "r": 255
489
+ },
490
+ "SelectedObjectVoxels": {
491
+ "a": 255,
492
+ "b": 236,
493
+ "g": 78,
494
+ "r": 55
495
+ },
496
+ "UnselectedObjectVoxels": {
497
+ "a": 255,
498
+ "b": 255,
499
+ "g": 255,
500
+ "r": 255
501
+ },
502
+ "SelectedObjectDistanceMap": {
503
+ "a": 255,
504
+ "b": 236,
505
+ "g": 78,
506
+ "r": 55
507
+ },
508
+ "UnselectedObjectDistanceMap": {
509
+ "a": 255,
510
+ "b": 255,
511
+ "g": 255,
512
+ "r": 255
513
+ }
514
+ }
Binary file
meshlib/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+
2
+
3
+ ### wheel-only: [
4
+
5
+ def _override_resources_dir():
6
+ """
7
+ override resources directory to the package's dir
8
+ """
9
+ import pathlib
10
+ from . import mrmeshpy as mr
11
+
12
+ mr.SystemPath.overrideDirectory(mr.SystemPath.Directory.Resources, pathlib.Path(__file__).parent.resolve())
13
+ mr.SystemPath.overrideDirectory(mr.SystemPath.Directory.Fonts, pathlib.Path(__file__).parent.resolve())
14
+
15
+ _override_resources_dir()
16
+ del _override_resources_dir
17
+
18
+ ### ]
Binary file
meshlib/mrcudapy.pyi ADDED
@@ -0,0 +1,133 @@
1
+ from __future__ import annotations
2
+ import meshlib.mrmeshpy
3
+ from meshlib.mrmeshpy import func_bool_from_float
4
+ from meshlib.mrmeshpy import int_output
5
+ from meshlib.mrmeshpy import std_vector_MeshIntersectionResult
6
+ from meshlib.mrmeshpy import std_vector_MeshProjectionResult
7
+ from meshlib.mrmeshpy import std_vector_MeshTriPoint
8
+ from meshlib.mrmeshpy import std_vector_SkyPatch
9
+ from meshlib.mrmeshpy import std_vector_Vector3_float
10
+ from meshlib.mrmeshpy import std_vector_Vector3_float as std_vector_Vector3f
11
+ from meshlib.mrmeshpy import std_vector_float
12
+ import typing
13
+ __all__ = ['FastWindingNumber', 'PointsToMeshProjector', 'computeDistanceMap', 'computeDistanceMapHeapBytes', 'computeSkyViewFactor', 'distanceMapFromContours', 'distanceMapFromContoursHeapBytes', 'findSkyRays', 'func_bool_from_float', 'getCudaAvailableMemory', 'int_output', 'isCudaAvailable', 'negatePicture', 'pointsToDistanceVolume', 'std_vector_MeshIntersectionResult', 'std_vector_MeshProjectionResult', 'std_vector_MeshTriPoint', 'std_vector_SkyPatch', 'std_vector_Vector3_float', 'std_vector_Vector3f', 'std_vector_float']
14
+ class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber):
15
+ """
16
+ Generated from: MR::Cuda::FastWindingNumber
17
+
18
+ the class for fast approximate computation of winding number for a mesh (using its AABB tree)
19
+ \\ingroup AABBTreeGroup
20
+ """
21
+ @staticmethod
22
+ def _pybind11_conduit_v1_(*args, **kwargs):
23
+ ...
24
+ @typing.overload
25
+ def __init__(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
26
+ """
27
+ constructs this from AABB tree of given mesh;
28
+ """
29
+ @typing.overload
30
+ def __init__(self, arg0: FastWindingNumber) -> None:
31
+ """
32
+ Implicit copy constructor.
33
+ """
34
+ def calcFromGrid(self, res: meshlib.mrmeshpy.std_vector_float, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
35
+ ...
36
+ def calcFromGridWithDistances(self, res: meshlib.mrmeshpy.std_vector_float, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, options: meshlib.mrmeshpy.DistanceToMeshOptions, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
37
+ ...
38
+ def calcFromVector(self, res: meshlib.mrmeshpy.std_vector_float, points: meshlib.mrmeshpy.std_vector_Vector3_float, beta: float, skipFace: meshlib.mrmeshpy.FaceId, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
39
+ """
40
+ see methods' descriptions in IFastWindingNumber
41
+ """
42
+ def calcSelfIntersections(self, res: meshlib.mrmeshpy.FaceBitSet, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
43
+ ...
44
+ class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
45
+ """
46
+ Generated from: MR::Cuda::PointsToMeshProjector
47
+
48
+ Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
49
+ """
50
+ @staticmethod
51
+ def _pybind11_conduit_v1_(*args, **kwargs):
52
+ ...
53
+ @typing.overload
54
+ def __init__(self) -> None:
55
+ ...
56
+ @typing.overload
57
+ def __init__(self, arg0: PointsToMeshProjector) -> None:
58
+ """
59
+ Implicit copy constructor.
60
+ """
61
+ def findProjections(self, res: meshlib.mrmeshpy.std_vector_MeshProjectionResult, points: meshlib.mrmeshpy.std_vector_Vector3_float, objXf: meshlib.mrmeshpy.AffineXf3f, refObjXf: meshlib.mrmeshpy.AffineXf3f, upDistLimitSq: float, loDistLimitSq: float) -> None:
62
+ """
63
+ <summary>
64
+ Computes the closest point on mesh to each of given points
65
+ </summary>
66
+ <param name="res">vector pf projections</param>
67
+ <param name="points">vector of points to project</param>
68
+ <param name="objXf">transform applied to points</param>
69
+ <param name="refObjXf">transform applied to referencing mesh</param>
70
+ <param name="upDistLimitSq">maximal squared distance from point to mesh</param>
71
+ <param name="loDistLimitSq">minimal squared distance from point to mesh</param>
72
+ """
73
+ def projectionsHeapBytes(self, numProjections: int) -> int:
74
+ """
75
+ Returns amount of additional memory needed to compute projections
76
+ """
77
+ def updateMeshData(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
78
+ """
79
+ update all data related to the referencing mesh
80
+ """
81
+ def computeDistanceMap(mesh: meshlib.mrmeshpy.Mesh, params: meshlib.mrmeshpy.MeshToDistanceMapParams, cb: meshlib.mrmeshpy.func_bool_from_float = '{}', outSamples: meshlib.mrmeshpy.std_vector_MeshTriPoint = None) -> meshlib.mrmeshpy.DistanceMap:
82
+ """
83
+ computes distance (height) map for given projection parameters
84
+ using float-precision for finding ray-mesh intersections, which is faster but less reliable
85
+ """
86
+ def computeDistanceMapHeapBytes(mesh: meshlib.mrmeshpy.Mesh, params: meshlib.mrmeshpy.MeshToDistanceMapParams, needOutSamples: bool = False) -> int:
87
+ """
88
+ Computes memory consumption of computeDistanceMap function
89
+ """
90
+ def computeSkyViewFactor(terrain: meshlib.mrmeshpy.Mesh, samples: meshlib.mrmeshpy.VertCoords, validSamples: meshlib.mrmeshpy.VertBitSet, skyPatches: meshlib.mrmeshpy.std_vector_SkyPatch, outSkyRays: meshlib.mrmeshpy.BitSet = None, outIntersections: meshlib.mrmeshpy.std_vector_MeshIntersectionResult = None) -> meshlib.mrmeshpy.VertScalars:
91
+ """
92
+ computes relative radiation in each valid sample point by emitting rays from that point in the sky:
93
+ the radiation is 1.0f if all rays reach the sky not hitting the terrain;
94
+ the radiation is 0.0f if all rays do not reach the sky because they are intercepted by the terrain;
95
+ \\param outSkyRays - optional output bitset where for every valid sample #i its rays are stored at indices [i*numPatches; (i+1)*numPatches),
96
+ 0s for occluded rays (hitting the terrain) and 1s for the ones which don't hit anything and reach the sky
97
+ \\param outIntersections - optional output vector of MeshIntersectionResult for every valid sample point
98
+ """
99
+ def distanceMapFromContours(polyline: meshlib.mrmeshpy.Polyline2, params: meshlib.mrmeshpy.ContourToDistanceMapParams) -> meshlib.mrmeshpy.DistanceMap:
100
+ """
101
+ Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when withSign==false)
102
+ """
103
+ def distanceMapFromContoursHeapBytes(polyline: meshlib.mrmeshpy.Polyline2, params: meshlib.mrmeshpy.ContourToDistanceMapParams) -> int:
104
+ """
105
+ Computes memory consumption of distanceMapFromContours function
106
+ """
107
+ def findSkyRays(terrain: meshlib.mrmeshpy.Mesh, samples: meshlib.mrmeshpy.VertCoords, validSamples: meshlib.mrmeshpy.VertBitSet, skyPatches: meshlib.mrmeshpy.std_vector_SkyPatch, outIntersections: meshlib.mrmeshpy.std_vector_MeshIntersectionResult = None) -> meshlib.mrmeshpy.BitSet:
108
+ """
109
+ In each valid sample point tests the rays from that point in the sky;
110
+ \\return bitset where for every valid sample #i its rays are stored at indices [i*numPatches; (i+1)*numPatches),
111
+ 0s for occluded rays (hitting the terrain) and 1s for the ones which don't hit anything and reach the sky
112
+ \\param outIntersections - optional output vector of MeshIntersectionResult for every valid sample point
113
+ """
114
+ def getCudaAvailableMemory() -> int:
115
+ """
116
+ Returns available GPU memory in bytes
117
+ """
118
+ def isCudaAvailable(driverVersion: meshlib.mrmeshpy.int_output = None, runtimeVersion: meshlib.mrmeshpy.int_output = None, computeMajor: meshlib.mrmeshpy.int_output = None, computeMinor: meshlib.mrmeshpy.int_output = None) -> bool:
119
+ """
120
+ Returns true if Cuda is present on this GPU
121
+ optional out maximum driver supported version
122
+ optional out current runtime version
123
+ optional out compute capability major version
124
+ optional out compute capability minor version
125
+ """
126
+ def negatePicture(image: meshlib.mrmeshpy.Image) -> None:
127
+ """
128
+ This function inverts Color value (255 - value in each channel except alpha)
129
+ """
130
+ def pointsToDistanceVolume(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.mrmeshpy.PointsToDistanceVolumeParams) -> meshlib.mrmeshpy.SimpleVolumeMinMax:
131
+ """
132
+ makes SimpleVolume filled with signed distances to points with normals
133
+ """
meshlib/mrcudapy.so ADDED
Binary file