meshlib 3.0.3.233__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_x86_64.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 +82458 -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-704e204b.so.2.0 +0 -0
  26. meshlib.libs/libE57Format-8807fd24.so.3.2.0 +0 -0
  27. meshlib.libs/libMRCuda-75a69067.so +0 -0
  28. meshlib.libs/libMRIOExtras-edaf8f24.so +0 -0
  29. meshlib.libs/libMRMesh-75459da2.so +0 -0
  30. meshlib.libs/libMRPython-ebcd3b9c.so +0 -0
  31. meshlib.libs/libMRSymbolMesh-30665c20.so +0 -0
  32. meshlib.libs/libMRViewer-eb7a81b4.so +0 -0
  33. meshlib.libs/libMRVoxels-4fcee271.so +0 -0
  34. meshlib.libs/libOpenCTM-cd530b23.so +0 -0
  35. meshlib.libs/libTKBRep-a3ddec3b.so.7.3.0 +0 -0
  36. meshlib.libs/libTKG2d-33da4fff.so.7.3.0 +0 -0
  37. meshlib.libs/libTKG3d-3d5a0171.so.7.3.0 +0 -0
  38. meshlib.libs/libTKGeomAlgo-fec06afe.so.7.3.0 +0 -0
  39. meshlib.libs/libTKGeomBase-66d1c402.so.7.3.0 +0 -0
  40. meshlib.libs/libTKMath-a9c8c9a3.so.7.3.0 +0 -0
  41. meshlib.libs/libTKMesh-3c4fb56b.so.7.3.0 +0 -0
  42. meshlib.libs/libTKSTEP-c0b51a22.so.7.3.0 +0 -0
  43. meshlib.libs/libTKSTEP209-6162b55f.so.7.3.0 +0 -0
  44. meshlib.libs/libTKSTEPAttr-b1748b4a.so.7.3.0 +0 -0
  45. meshlib.libs/libTKSTEPBase-b9e44b4d.so.7.3.0 +0 -0
  46. meshlib.libs/libTKShHealing-87a193c3.so.7.3.0 +0 -0
  47. meshlib.libs/libTKTopAlgo-932306c4.so.7.3.0 +0 -0
  48. meshlib.libs/libTKXSBase-958d3cfc.so.7.3.0 +0 -0
  49. meshlib.libs/libTKernel-8317632a.so.7.3.0 +0 -0
  50. meshlib.libs/libXau-2a883844.so.6.0.0 +0 -0
  51. meshlib.libs/libXdmcp-a65f7757.so.6.0.0 +0 -0
  52. meshlib.libs/libblosc-0d374deb.so.1.17.1 +0 -0
  53. meshlib.libs/libboost_iostreams-01822014.so.1.71.0 +0 -0
  54. meshlib.libs/libbsd-f660c0d2.so.0.10.0 +0 -0
  55. meshlib.libs/libbz2-4488544d.so.1.0.4 +0 -0
  56. meshlib.libs/libclip-628a7c41.so +0 -0
  57. meshlib.libs/libcpr-c403304a.so.1.8.1 +0 -0
  58. meshlib.libs/libcrypto-a9bc086e.so.1.1 +0 -0
  59. meshlib.libs/libcurl-6089e0fb.so +0 -0
  60. meshlib.libs/libfreetype-53ccf2d6.so.6.17.1 +0 -0
  61. meshlib.libs/libgdcmCommon-6a5411ce.so.3.0.5 +0 -0
  62. meshlib.libs/libgdcmDICT-95ca87b5.so.3.0.5 +0 -0
  63. meshlib.libs/libgdcmDSED-034e0bef.so.3.0.5 +0 -0
  64. meshlib.libs/libgdcmIOD-df508dea.so.3.0.5 +0 -0
  65. meshlib.libs/libgdcmMEXD-19c8e665.so.3.0.5 +0 -0
  66. meshlib.libs/libgdcmMSFF-21af924f.so.3.0.5 +0 -0
  67. meshlib.libs/libgdcmjpeg12-691dd590.so.3.0.5 +0 -0
  68. meshlib.libs/libgdcmjpeg16-35ab71eb.so.3.0.5 +0 -0
  69. meshlib.libs/libgdcmjpeg8-83b575a3.so.3.0.5 +0 -0
  70. meshlib.libs/libglad-1d8cce03.so +0 -0
  71. meshlib.libs/libglfw-ec8282c5.so.3.3 +0 -0
  72. meshlib.libs/libhidapi-hidraw-4c76b24a.so.0.0.0 +0 -0
  73. meshlib.libs/libhpdf-2-19c577a9.3.0.so +0 -0
  74. meshlib.libs/libimgui-3c72d9ad.so +0 -0
  75. meshlib.libs/libjbig-0f1087b4.so.0 +0 -0
  76. meshlib.libs/libjpeg-55cb507f.so.8.2.2 +0 -0
  77. meshlib.libs/libjson-c-3768995f.so.4.0.0 +0 -0
  78. meshlib.libs/libjsoncpp-7f755907.so.1.7.4 +0 -0
  79. meshlib.libs/liblazperf-015c2a89.so +0 -0
  80. meshlib.libs/liblz4-d6574e34.so.1.9.2 +0 -0
  81. meshlib.libs/liblzma-79a1dbc7.so.5.2.4 +0 -0
  82. meshlib.libs/libopenjp2-711390ff.so.2.3.1 +0 -0
  83. meshlib.libs/libopenvdb-059dcfcf.so.9.1.0 +0 -0
  84. meshlib.libs/libpng16-4a697b98.so.16.37.0 +0 -0
  85. meshlib.libs/libpybind11nonlimitedapi_stubs-5734e26d.so +0 -0
  86. meshlib.libs/libsnappy-e38178cf.so.1.1.8 +0 -0
  87. meshlib.libs/libsocket++-f4ccdf1c.so.1.0.2 +0 -0
  88. meshlib.libs/libspdlog-69ea12a6.so.1.5.0 +0 -0
  89. meshlib.libs/libssl-5ca16b9d.so.1.1 +0 -0
  90. meshlib.libs/libtbb-26115b1a.so.2 +0 -0
  91. meshlib.libs/libtbbmalloc-14147fcf.so.2 +0 -0
  92. meshlib.libs/libtiff-688daa34.so.5.5.0 +0 -0
  93. meshlib.libs/libtinyxml2-a1be9bbe.so.6.2.0 +0 -0
  94. meshlib.libs/libturbojpeg-ce9777a9.so.0.2.0 +0 -0
  95. meshlib.libs/libudev-e8fd959b.so.1.6.17 +0 -0
  96. meshlib.libs/libuuid-5255c400.so.1.3.0 +0 -0
  97. meshlib.libs/libwebp-702eed9c.so.6.0.2 +0 -0
  98. meshlib.libs/libxcb-29965900.so.1.1.0 +0 -0
  99. meshlib.libs/libzip-9c23ab55.so.5.0 +0 -0
  100. meshlib.libs/libzstd-9edef536.so.1.4.4 +0 -0
meshlib/mrmeshpy.so ADDED
Binary file
meshlib/mrviewerpy.pyi ADDED
@@ -0,0 +1,614 @@
1
+ from __future__ import annotations
2
+ import meshlib.mrmeshpy
3
+ import typing
4
+ __all__ = ['KeyMod', 'MouseButton', 'UiEntry', 'UiEntryType', 'UiValueInt', 'UiValueReal', 'UiValueString', 'UiValueUint', 'Viewer', 'ViewerLaunchParams', 'ViewerLaunchParamsMode', 'ViewerSetup', 'Viewport', 'ViewportFitDataParams', 'ViewportFitMode', 'addDistanceMapToScene', 'addLinesToScene', 'addMeshToScene', 'addPointCloudToScene', 'addVoxelsToScene', 'clearScene', 'getSelectedDistanceMaps', 'getSelectedMeshEdges', 'getSelectedMeshFaces', 'getSelectedMeshes', 'getSelectedObjects', 'getSelectedPointCloudPoints', 'getSelectedPointClouds', 'getSelectedPolylines', 'getSelectedVoxels', 'launch', 'modifySelectedMesh', 'selectByName', 'selectByType', 'setSelectedMeshEdges', 'setSelectedMeshFaces', 'setSelectedPointCloudPoints', 'uiListEntries', 'uiPressButton', 'uiReadValueInt', 'uiReadValueReal', 'uiReadValueString', 'uiReadValueUint', 'uiWriteValueInt', 'uiWriteValueReal', 'uiWriteValueString', 'uiWriteValueUint', 'unselectAll']
5
+ class KeyMod:
6
+ """
7
+ Members:
8
+
9
+ Empty
10
+
11
+ Ctrl
12
+
13
+ Shift
14
+
15
+ Alt
16
+ """
17
+ Alt: typing.ClassVar[KeyMod] # value = <KeyMod.Alt: 4>
18
+ Ctrl: typing.ClassVar[KeyMod] # value = <KeyMod.Ctrl: 2>
19
+ Empty: typing.ClassVar[KeyMod] # value = <KeyMod.Empty: 0>
20
+ Shift: typing.ClassVar[KeyMod] # value = <KeyMod.Shift: 1>
21
+ __members__: typing.ClassVar[dict[str, KeyMod]] # value = {'Empty': <KeyMod.Empty: 0>, 'Ctrl': <KeyMod.Ctrl: 2>, 'Shift': <KeyMod.Shift: 1>, 'Alt': <KeyMod.Alt: 4>}
22
+ @staticmethod
23
+ def _pybind11_conduit_v1_(*args, **kwargs):
24
+ ...
25
+ def __and__(self, arg0: KeyMod) -> KeyMod:
26
+ ...
27
+ def __eq__(self, other: typing.Any) -> bool:
28
+ ...
29
+ def __getstate__(self) -> int:
30
+ ...
31
+ def __hash__(self) -> int:
32
+ ...
33
+ def __index__(self) -> int:
34
+ ...
35
+ def __init__(self, value: int) -> None:
36
+ ...
37
+ def __int__(self) -> int:
38
+ ...
39
+ def __invert__(self) -> KeyMod:
40
+ ...
41
+ def __ne__(self, other: typing.Any) -> bool:
42
+ ...
43
+ def __or__(self, arg0: KeyMod) -> KeyMod:
44
+ ...
45
+ def __repr__(self) -> str:
46
+ ...
47
+ def __setstate__(self, state: int) -> None:
48
+ ...
49
+ def __str__(self) -> str:
50
+ ...
51
+ @property
52
+ def name(self) -> str:
53
+ ...
54
+ @property
55
+ def value(self) -> int:
56
+ ...
57
+ class MouseButton:
58
+ """
59
+ Members:
60
+
61
+ Left
62
+
63
+ Right
64
+
65
+ Middle
66
+ """
67
+ Left: typing.ClassVar[MouseButton] # value = <MouseButton.Left: 0>
68
+ Middle: typing.ClassVar[MouseButton] # value = <MouseButton.Middle: 2>
69
+ Right: typing.ClassVar[MouseButton] # value = <MouseButton.Right: 1>
70
+ __members__: typing.ClassVar[dict[str, MouseButton]] # value = {'Left': <MouseButton.Left: 0>, 'Right': <MouseButton.Right: 1>, 'Middle': <MouseButton.Middle: 2>}
71
+ @staticmethod
72
+ def _pybind11_conduit_v1_(*args, **kwargs):
73
+ ...
74
+ def __eq__(self, other: typing.Any) -> bool:
75
+ ...
76
+ def __getstate__(self) -> int:
77
+ ...
78
+ def __hash__(self) -> int:
79
+ ...
80
+ def __index__(self) -> int:
81
+ ...
82
+ def __init__(self, value: int) -> None:
83
+ ...
84
+ def __int__(self) -> int:
85
+ ...
86
+ def __ne__(self, other: typing.Any) -> bool:
87
+ ...
88
+ def __repr__(self) -> str:
89
+ ...
90
+ def __setstate__(self, state: int) -> None:
91
+ ...
92
+ def __str__(self) -> str:
93
+ ...
94
+ @property
95
+ def name(self) -> str:
96
+ ...
97
+ @property
98
+ def value(self) -> int:
99
+ ...
100
+ class UiEntry:
101
+ @staticmethod
102
+ def _pybind11_conduit_v1_(*args, **kwargs):
103
+ ...
104
+ def __repr__(self) -> str:
105
+ ...
106
+ @property
107
+ def name(self) -> str:
108
+ ...
109
+ @property
110
+ def type(self) -> UiEntryType:
111
+ ...
112
+ class UiEntryType:
113
+ """
114
+ UI entry type enum.
115
+
116
+ Members:
117
+
118
+ button
119
+
120
+ group
121
+
122
+ valueInt
123
+
124
+ valueUint
125
+
126
+ valueReal
127
+
128
+ valueString
129
+
130
+ other
131
+ """
132
+ __members__: typing.ClassVar[dict[str, UiEntryType]] # value = {'button': <UiEntryType.button: 0>, 'group': <UiEntryType.group: 1>, 'valueInt': <UiEntryType.valueInt: 2>, 'valueUint': <UiEntryType.valueUint: 3>, 'valueReal': <UiEntryType.valueReal: 4>, 'valueString': <UiEntryType.valueString: 5>, 'other': <UiEntryType.other: 6>}
133
+ button: typing.ClassVar[UiEntryType] # value = <UiEntryType.button: 0>
134
+ group: typing.ClassVar[UiEntryType] # value = <UiEntryType.group: 1>
135
+ other: typing.ClassVar[UiEntryType] # value = <UiEntryType.other: 6>
136
+ valueInt: typing.ClassVar[UiEntryType] # value = <UiEntryType.valueInt: 2>
137
+ valueReal: typing.ClassVar[UiEntryType] # value = <UiEntryType.valueReal: 4>
138
+ valueString: typing.ClassVar[UiEntryType] # value = <UiEntryType.valueString: 5>
139
+ valueUint: typing.ClassVar[UiEntryType] # value = <UiEntryType.valueUint: 3>
140
+ @staticmethod
141
+ def _pybind11_conduit_v1_(*args, **kwargs):
142
+ ...
143
+ def __eq__(self, other: typing.Any) -> bool:
144
+ ...
145
+ def __getstate__(self) -> int:
146
+ ...
147
+ def __hash__(self) -> int:
148
+ ...
149
+ def __index__(self) -> int:
150
+ ...
151
+ def __init__(self, value: int) -> None:
152
+ ...
153
+ def __int__(self) -> int:
154
+ ...
155
+ def __ne__(self, other: typing.Any) -> bool:
156
+ ...
157
+ def __repr__(self) -> str:
158
+ ...
159
+ def __setstate__(self, state: int) -> None:
160
+ ...
161
+ def __str__(self) -> str:
162
+ ...
163
+ @property
164
+ def name(self) -> str:
165
+ ...
166
+ @property
167
+ def value(self) -> int:
168
+ ...
169
+ class UiValueInt:
170
+ @staticmethod
171
+ def _pybind11_conduit_v1_(*args, **kwargs):
172
+ ...
173
+ @property
174
+ def max(self) -> int:
175
+ ...
176
+ @property
177
+ def min(self) -> int:
178
+ ...
179
+ @property
180
+ def value(self) -> int:
181
+ ...
182
+ class UiValueReal:
183
+ @staticmethod
184
+ def _pybind11_conduit_v1_(*args, **kwargs):
185
+ ...
186
+ @property
187
+ def max(self) -> float:
188
+ ...
189
+ @property
190
+ def min(self) -> float:
191
+ ...
192
+ @property
193
+ def value(self) -> float:
194
+ ...
195
+ class UiValueString:
196
+ @staticmethod
197
+ def _pybind11_conduit_v1_(*args, **kwargs):
198
+ ...
199
+ @property
200
+ def allowed(self) -> list[str] | None:
201
+ ...
202
+ @property
203
+ def value(self) -> str:
204
+ ...
205
+ class UiValueUint:
206
+ @staticmethod
207
+ def _pybind11_conduit_v1_(*args, **kwargs):
208
+ ...
209
+ @property
210
+ def max(self) -> int:
211
+ ...
212
+ @property
213
+ def min(self) -> int:
214
+ ...
215
+ @property
216
+ def value(self) -> int:
217
+ ...
218
+ class Viewer:
219
+ """
220
+ GLFW-based mesh viewer
221
+ """
222
+ @staticmethod
223
+ def _pybind11_conduit_v1_(*args, **kwargs):
224
+ ...
225
+ def __init__(self) -> None:
226
+ ...
227
+ def captureScreenShot(self, path: str) -> None:
228
+ """
229
+ Captures part of window (redraw 3d scene over UI (without redrawing UI))
230
+ """
231
+ def captureUIScreenShot(self, path: str) -> None:
232
+ """
233
+ Captures full window screenshot with UI
234
+ """
235
+ def getMousePos(self) -> meshlib.mrmeshpy.Vector2f:
236
+ """
237
+ Get the current mouse position.
238
+ """
239
+ def incrementForceRedrawFrames(self, num: int = 1, swapOnLastOnly: bool = False) -> None:
240
+ """
241
+ Increment number of forced frames to redraw in event loop
242
+ if `swapOnLastOnly` only last forced frame will be present on screen and all previous will not
243
+ """
244
+ def mouseDown(self, button: MouseButton, modifier: KeyMod = ...) -> None:
245
+ """
246
+ Simulate mouse down event.
247
+ """
248
+ def mouseMove(self, x: int, y: int) -> None:
249
+ """
250
+ Simulate mouse move event.
251
+ NOTE: Some plugins need at least TWO `mouseMove()`s in a row (possibly with the same position). If you're having issues, try sending two events.
252
+ """
253
+ def mouseUp(self, button: MouseButton, modifier: KeyMod = ...) -> None:
254
+ """
255
+ Simulate mouse up event.
256
+ """
257
+ def preciseFitDataViewport(self, vpList: meshlib.mrmeshpy.ViewportMask = ..., params: ViewportFitDataParams = ...) -> None:
258
+ """
259
+ Calls fitData and change FOV to match the screen size then
260
+ params - params fit data
261
+ """
262
+ def showSceneTree(self, show: bool) -> None:
263
+ """
264
+ Shows or hide scene tree
265
+ """
266
+ def shutdown(self) -> None:
267
+ """
268
+ sets stop event loop flag (this flag is glfwShouldWindowClose equivalent)
269
+ """
270
+ def skipFrames(self, frames: int) -> None:
271
+ ...
272
+ def viewport(self, viewportId: meshlib.mrmeshpy.ViewportId = ...) -> Viewport:
273
+ """
274
+ Return the current viewport, or the viewport corresponding to a given unique identifier
275
+ viewportId - unique identifier corresponding to the desired viewport (current viewport if 0)
276
+ """
277
+ def viewportToScreen(self, arg0: meshlib.mrmeshpy.Vector3f, arg1: meshlib.mrmeshpy.ViewportId) -> meshlib.mrmeshpy.Vector3f:
278
+ """
279
+ Convert viewport coordinates to to screen coordinates
280
+ """
281
+ class ViewerLaunchParams:
282
+ """
283
+ This struct contains rules for viewer launch
284
+ """
285
+ height: int
286
+ width: int
287
+ windowMode: ViewerLaunchParamsMode
288
+ @staticmethod
289
+ def _pybind11_conduit_v1_(*args, **kwargs):
290
+ ...
291
+ def __init__(self) -> None:
292
+ ...
293
+ @property
294
+ def animationMaxFps(self) -> int:
295
+ """
296
+ max fps if animating
297
+ """
298
+ @animationMaxFps.setter
299
+ def animationMaxFps(self, arg0: int) -> None:
300
+ ...
301
+ @property
302
+ def fullscreen(self) -> bool:
303
+ """
304
+ if true starts fullscreen
305
+ """
306
+ @fullscreen.setter
307
+ def fullscreen(self, arg0: bool) -> None:
308
+ ...
309
+ @property
310
+ def isAnimating(self) -> bool:
311
+ """
312
+ if true - calls render without system events
313
+ """
314
+ @isAnimating.setter
315
+ def isAnimating(self, arg0: bool) -> None:
316
+ ...
317
+ @property
318
+ def name(self) -> str:
319
+ """
320
+ Window name
321
+ """
322
+ @name.setter
323
+ def name(self, arg0: str) -> None:
324
+ ...
325
+ class ViewerLaunchParamsMode:
326
+ """
327
+ Members:
328
+
329
+ Hide : Don't show window
330
+
331
+ HideInit : Show window after init
332
+
333
+ Show : Show window immediately
334
+
335
+ TryHidden : Launches in "Hide" mode if OpenGL is present and "NoWindow" if it is not
336
+
337
+ NoWindow : Don't initialize GL window (don't call GL functions)(force `isAnimating`)
338
+ """
339
+ Hide: typing.ClassVar[ViewerLaunchParamsMode] # value = <ViewerLaunchParamsMode.Hide: 2>
340
+ HideInit: typing.ClassVar[ViewerLaunchParamsMode] # value = <ViewerLaunchParamsMode.HideInit: 1>
341
+ NoWindow: typing.ClassVar[ViewerLaunchParamsMode] # value = <ViewerLaunchParamsMode.NoWindow: 4>
342
+ Show: typing.ClassVar[ViewerLaunchParamsMode] # value = <ViewerLaunchParamsMode.Show: 0>
343
+ TryHidden: typing.ClassVar[ViewerLaunchParamsMode] # value = <ViewerLaunchParamsMode.TryHidden: 3>
344
+ __members__: typing.ClassVar[dict[str, ViewerLaunchParamsMode]] # value = {'Hide': <ViewerLaunchParamsMode.Hide: 2>, 'HideInit': <ViewerLaunchParamsMode.HideInit: 1>, 'Show': <ViewerLaunchParamsMode.Show: 0>, 'TryHidden': <ViewerLaunchParamsMode.TryHidden: 3>, 'NoWindow': <ViewerLaunchParamsMode.NoWindow: 4>}
345
+ @staticmethod
346
+ def _pybind11_conduit_v1_(*args, **kwargs):
347
+ ...
348
+ def __eq__(self, other: typing.Any) -> bool:
349
+ ...
350
+ def __getstate__(self) -> int:
351
+ ...
352
+ def __hash__(self) -> int:
353
+ ...
354
+ def __index__(self) -> int:
355
+ ...
356
+ def __init__(self, value: int) -> None:
357
+ ...
358
+ def __int__(self) -> int:
359
+ ...
360
+ def __ne__(self, other: typing.Any) -> bool:
361
+ ...
362
+ def __repr__(self) -> str:
363
+ ...
364
+ def __setstate__(self, state: int) -> None:
365
+ ...
366
+ def __str__(self) -> str:
367
+ ...
368
+ @property
369
+ def name(self) -> str:
370
+ ...
371
+ @property
372
+ def value(self) -> int:
373
+ ...
374
+ class ViewerSetup:
375
+ @staticmethod
376
+ def _pybind11_conduit_v1_(*args, **kwargs):
377
+ ...
378
+ def __init__(self) -> None:
379
+ ...
380
+ class Viewport:
381
+ """
382
+ Viewport is a rectangular area, in which the objects of interest are going to be rendered.
383
+ An application can have a number of viewports each with its own ID.
384
+ """
385
+ @staticmethod
386
+ def _pybind11_conduit_v1_(*args, **kwargs):
387
+ ...
388
+ def cameraLookAlong(self, dir: meshlib.mrmeshpy.Vector3f, up: meshlib.mrmeshpy.Vector3f) -> None:
389
+ """
390
+ Set camera look direction and up direction (they should be perpendicular)
391
+ this function changes camera position and do not change camera spot (0,0,0) by default
392
+ to change camera position use setCameraTranslation after this function
393
+ """
394
+ def cameraRotateAround(self, axis: meshlib.mrmeshpy.Line3f, angle: float) -> None:
395
+ """
396
+ Rotates camera around axis +direction applied to axis point
397
+ note: this can make camera clip objects (as far as distance to scene center is not fixed)
398
+ """
399
+ def projectToViewportSpace(self, arg0: meshlib.mrmeshpy.Vector3f) -> meshlib.mrmeshpy.Vector3f:
400
+ """
401
+ Project world space point to viewport coordinates (in pixels), (0,0) will be at the top-left corner of the viewport.
402
+ """
403
+ @property
404
+ def id(self) -> meshlib.mrmeshpy.ViewportId:
405
+ ...
406
+ class ViewportFitDataParams:
407
+ @staticmethod
408
+ def _pybind11_conduit_v1_(*args, **kwargs):
409
+ ...
410
+ def __init__(self) -> None:
411
+ ...
412
+ @property
413
+ def factor(self) -> float:
414
+ """
415
+ part of the screen for scene location
416
+ """
417
+ @factor.setter
418
+ def factor(self, arg0: float) -> None:
419
+ ...
420
+ @property
421
+ def mode(self) -> ViewportFitMode:
422
+ """
423
+ fit mode
424
+ """
425
+ @mode.setter
426
+ def mode(self, arg0: ViewportFitMode) -> None:
427
+ ...
428
+ @property
429
+ def snapView(self) -> bool:
430
+ """
431
+ snapView - to snap camera angle to closest canonical quaternion
432
+ """
433
+ @snapView.setter
434
+ def snapView(self, arg0: bool) -> None:
435
+ ...
436
+ class ViewportFitMode:
437
+ """
438
+ Fit mode ( types of objects for which the fit is applied )
439
+
440
+ Members:
441
+
442
+ Visible : fit all visible objects
443
+
444
+ SelectedObjects : fit only selected objects
445
+
446
+ SelectedPrimitives : fit only selected primitives
447
+ """
448
+ SelectedObjects: typing.ClassVar[ViewportFitMode] # value = <ViewportFitMode.SelectedObjects: 2>
449
+ SelectedPrimitives: typing.ClassVar[ViewportFitMode] # value = <ViewportFitMode.SelectedPrimitives: 1>
450
+ Visible: typing.ClassVar[ViewportFitMode] # value = <ViewportFitMode.Visible: 0>
451
+ __members__: typing.ClassVar[dict[str, ViewportFitMode]] # value = {'Visible': <ViewportFitMode.Visible: 0>, 'SelectedObjects': <ViewportFitMode.SelectedObjects: 2>, 'SelectedPrimitives': <ViewportFitMode.SelectedPrimitives: 1>}
452
+ @staticmethod
453
+ def _pybind11_conduit_v1_(*args, **kwargs):
454
+ ...
455
+ def __eq__(self, other: typing.Any) -> bool:
456
+ ...
457
+ def __getstate__(self) -> int:
458
+ ...
459
+ def __hash__(self) -> int:
460
+ ...
461
+ def __index__(self) -> int:
462
+ ...
463
+ def __init__(self, value: int) -> None:
464
+ ...
465
+ def __int__(self) -> int:
466
+ ...
467
+ def __ne__(self, other: typing.Any) -> bool:
468
+ ...
469
+ def __repr__(self) -> str:
470
+ ...
471
+ def __setstate__(self, state: int) -> None:
472
+ ...
473
+ def __str__(self) -> str:
474
+ ...
475
+ @property
476
+ def name(self) -> str:
477
+ ...
478
+ @property
479
+ def value(self) -> int:
480
+ ...
481
+ def addDistanceMapToScene(distancemap: meshlib.mrmeshpy.DistanceMap, name: str, dmap_to_local_xf: meshlib.mrmeshpy.AffineXf3f) -> None:
482
+ """
483
+ Add given distance map to scene tree.
484
+ """
485
+ def addLinesToScene(lines: meshlib.mrmeshpy.Polyline3, name: str) -> None:
486
+ """
487
+ Add given lines to scene tree.
488
+ """
489
+ def addMeshToScene(mesh: meshlib.mrmeshpy.Mesh, name: str) -> None:
490
+ """
491
+ Add given mesh to scene tree.
492
+ """
493
+ def addPointCloudToScene(points: meshlib.mrmeshpy.PointCloud, name: str) -> None:
494
+ """
495
+ Add given point cloud to scene tree.
496
+ """
497
+ def addVoxelsToScene(voxels: meshlib.mrmeshpy.VdbVolume, name: str) -> None:
498
+ """
499
+ Add given voxels to scene tree.
500
+ """
501
+ def clearScene() -> None:
502
+ """
503
+ remove all objects from scene tree
504
+ """
505
+ def getSelectedDistanceMaps() -> meshlib.mrmeshpy.std_vector_DistanceMap:
506
+ """
507
+ Get copies of all selected voxel grids in the scene.
508
+ """
509
+ def getSelectedMeshEdges() -> meshlib.mrmeshpy.std_vector_TaggedBitSet_UndirectedEdgeTag:
510
+ """
511
+ Get selected edge bitsets of the selected mesh objects.
512
+ """
513
+ def getSelectedMeshFaces() -> meshlib.mrmeshpy.std_vector_TaggedBitSet_FaceTag:
514
+ """
515
+ Get selected face bitsets of the selected mesh objects.
516
+ """
517
+ def getSelectedMeshes() -> meshlib.mrmeshpy.std_vector_Mesh:
518
+ """
519
+ Get copies of all selected meshes in the scene.
520
+ """
521
+ def getSelectedObjects() -> meshlib.mrmeshpy.std_vector_std_shared_ptr_Object:
522
+ ...
523
+ def getSelectedPointCloudPoints() -> meshlib.mrmeshpy.std_vector_TaggedBitSet_VertTag:
524
+ """
525
+ Get selected point bitsets of the selected point cloud objects.
526
+ """
527
+ def getSelectedPointClouds() -> meshlib.mrmeshpy.std_vector_PointCloud:
528
+ """
529
+ Get copies of all selected point clouds in the scene.
530
+ """
531
+ def getSelectedPolylines() -> meshlib.mrmeshpy.std_vector_Polyline_Vector3_float:
532
+ """
533
+ Get copies of all selected polylines in the scene.
534
+ """
535
+ def getSelectedVoxels() -> meshlib.mrmeshpy.std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid:
536
+ """
537
+ Get copies of all selected voxel grids in the scene.
538
+ """
539
+ def launch(params: ViewerLaunchParams = ..., setup: ViewerSetup = ...) -> None:
540
+ """
541
+ starts default viewer with given params and setup
542
+ """
543
+ def modifySelectedMesh(mesh: meshlib.mrmeshpy.Mesh) -> None:
544
+ """
545
+ Assign a new mesh to the selected mesh object. Exactly one object must be selected.
546
+ """
547
+ def selectByName(objectName: str) -> None:
548
+ """
549
+ select objects in scene tree with given name, unselect others
550
+ """
551
+ def selectByType(typeName: str) -> None:
552
+ """
553
+ string typeName: {"Meshes", "Points", "Voxels"}
554
+ objects in scene tree with given type, unselect others
555
+ """
556
+ def setSelectedMeshEdges(arg0: meshlib.mrmeshpy.std_vector_TaggedBitSet_UndirectedEdgeTag) -> None:
557
+ """
558
+ Set selected edge bitsets of the selected mesh objects.
559
+ """
560
+ def setSelectedMeshFaces(arg0: meshlib.mrmeshpy.std_vector_TaggedBitSet_FaceTag) -> None:
561
+ """
562
+ Set selected face bitsets of the selected mesh objects.
563
+ """
564
+ def setSelectedPointCloudPoints(arg0: meshlib.mrmeshpy.std_vector_TaggedBitSet_VertTag) -> None:
565
+ """
566
+ Set selected point bitsets of the selected point cloud objects.
567
+ """
568
+ def uiListEntries(arg0: list[str]) -> list[UiEntry]:
569
+ """
570
+ List existing UI entries at the specified path.
571
+ Pass an empty list to see top-level groups.
572
+ Add group name to the end of the vector to see its contents.
573
+ When you find the button you need, pass it to `uiPressButton()`.
574
+ """
575
+ def uiPressButton(arg0: list[str]) -> None:
576
+ """
577
+ Simulate a button click. Use `uiListEntries()` to find button names.
578
+ """
579
+ def uiReadValueInt(arg0: list[str]) -> UiValueInt:
580
+ """
581
+ Read a value from a drag/slider widget. This overload is for signed integers.
582
+ """
583
+ def uiReadValueReal(arg0: list[str]) -> UiValueReal:
584
+ """
585
+ Read a value from a drag/slider widget. This overload is for real numbers.
586
+ """
587
+ def uiReadValueString(arg0: list[str]) -> UiValueString:
588
+ """
589
+ Read a value from a drag/slider widget. This overload is for strings.
590
+ """
591
+ def uiReadValueUint(arg0: list[str]) -> UiValueUint:
592
+ """
593
+ Read a value from a drag/slider widget. This overload is for unsigned integers.
594
+ """
595
+ def uiWriteValueInt(arg0: list[str], arg1: int) -> None:
596
+ """
597
+ Write a value to a drag/slider widget. This overload is for signed integers.
598
+ """
599
+ def uiWriteValueReal(arg0: list[str], arg1: float) -> None:
600
+ """
601
+ Write a value to a drag/slider widget. This overload is for real numbers.
602
+ """
603
+ def uiWriteValueString(arg0: list[str], arg1: str) -> None:
604
+ """
605
+ Write a value to a drag/slider widget. This overload is for strings.
606
+ """
607
+ def uiWriteValueUint(arg0: list[str], arg1: int) -> None:
608
+ """
609
+ Write a value to a drag/slider widget. This overload is for unsigned integers.
610
+ """
611
+ def unselectAll() -> None:
612
+ """
613
+ unselect all objects in scene tree
614
+ """
meshlib/mrviewerpy.so ADDED
Binary file