meshlib 3.0.3.233__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_aarch64.whl → 3.0.4.121__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 (87) hide show
  1. meshlib/libpybind11nonlimitedapi_meshlib_3.10.so +0 -0
  2. meshlib/libpybind11nonlimitedapi_meshlib_3.11.so +0 -0
  3. meshlib/libpybind11nonlimitedapi_meshlib_3.12.so +0 -0
  4. meshlib/libpybind11nonlimitedapi_meshlib_3.13.so +0 -0
  5. meshlib/libpybind11nonlimitedapi_meshlib_3.8.so +0 -0
  6. meshlib/libpybind11nonlimitedapi_meshlib_3.9.so +0 -0
  7. meshlib/mrcudapy.pyi +91 -9
  8. meshlib/mrcudapy.so +0 -0
  9. meshlib/mrmeshnumpy.so +0 -0
  10. meshlib/mrmeshpy.pyi +2081 -4812
  11. meshlib/mrmeshpy.so +0 -0
  12. meshlib/mrviewerpy.pyi +0 -45
  13. meshlib/mrviewerpy.so +0 -0
  14. meshlib/resource/independent_icons/X1/Plane Import.png +0 -0
  15. meshlib/resource/independent_icons/X1/Plane XY.png +0 -0
  16. meshlib/resource/independent_icons/X1/Plane XZ.png +0 -0
  17. meshlib/resource/independent_icons/X1/Plane YZ.png +0 -0
  18. meshlib/resource/independent_icons/X3/Plane Import.png +0 -0
  19. meshlib/resource/independent_icons/X3/Plane XY.png +0 -0
  20. meshlib/resource/independent_icons/X3/Plane XZ.png +0 -0
  21. meshlib/resource/independent_icons/X3/Plane YZ.png +0 -0
  22. meshlib/resource/object_icons/X1/AngleMeasurementObject.png +0 -0
  23. meshlib/resource/object_icons/X1/CircleObject.png +0 -0
  24. meshlib/resource/object_icons/X1/ConeObject.png +0 -0
  25. meshlib/resource/object_icons/X1/CylinderObject.png +0 -0
  26. meshlib/resource/object_icons/X1/DistanceMeasurementObject.png +0 -0
  27. meshlib/resource/object_icons/X1/LineObject.png +0 -0
  28. meshlib/resource/object_icons/X1/Object.png +0 -0
  29. meshlib/resource/object_icons/X1/ObjectDistanceMap.png +0 -0
  30. meshlib/resource/object_icons/X1/ObjectGcode.png +0 -0
  31. meshlib/resource/object_icons/X1/ObjectLabel.png +0 -0
  32. meshlib/resource/object_icons/X1/ObjectLines.png +0 -0
  33. meshlib/resource/object_icons/X1/ObjectMesh.png +0 -0
  34. meshlib/resource/object_icons/X1/ObjectPoints.png +0 -0
  35. meshlib/resource/object_icons/X1/ObjectVoxels.png +0 -0
  36. meshlib/resource/object_icons/X1/Object_open.png +0 -0
  37. meshlib/resource/object_icons/X1/PlaneObject.png +0 -0
  38. meshlib/resource/object_icons/X1/PointObject.png +0 -0
  39. meshlib/resource/object_icons/X1/RadiusMeasurementObject.png +0 -0
  40. meshlib/resource/object_icons/X1/SphereObject.png +0 -0
  41. meshlib/resource/object_icons/X3/AngleMeasurementObject.png +0 -0
  42. meshlib/resource/object_icons/X3/CircleObject.png +0 -0
  43. meshlib/resource/object_icons/X3/ConeObject.png +0 -0
  44. meshlib/resource/object_icons/X3/CylinderObject.png +0 -0
  45. meshlib/resource/object_icons/X3/DistanceMeasurementObject.png +0 -0
  46. meshlib/resource/object_icons/X3/LineObject.png +0 -0
  47. meshlib/resource/object_icons/X3/Object.png +0 -0
  48. meshlib/resource/object_icons/X3/ObjectDistanceMap.png +0 -0
  49. meshlib/resource/object_icons/X3/ObjectGcode.png +0 -0
  50. meshlib/resource/object_icons/X3/ObjectLabel.png +0 -0
  51. meshlib/resource/object_icons/X3/ObjectLines.png +0 -0
  52. meshlib/resource/object_icons/X3/ObjectMesh.png +0 -0
  53. meshlib/resource/object_icons/X3/ObjectPoints.png +0 -0
  54. meshlib/resource/object_icons/X3/ObjectVoxels.png +0 -0
  55. meshlib/resource/object_icons/X3/Object_open.png +0 -0
  56. meshlib/resource/object_icons/X3/PlaneObject.png +0 -0
  57. meshlib/resource/object_icons/X3/PointObject.png +0 -0
  58. meshlib/resource/object_icons/X3/RadiusMeasurementObject.png +0 -0
  59. meshlib/resource/object_icons/X3/SphereObject.png +0 -0
  60. meshlib/resource/textures/controller_cube_default.png +0 -0
  61. meshlib/resource/textures/controller_cube_edges.png +0 -0
  62. meshlib/resource/textures/controller_cube_sides.png +0 -0
  63. {meshlib-3.0.3.233.dist-info → meshlib-3.0.4.121.dist-info}/METADATA +1 -1
  64. meshlib-3.0.4.121.dist-info/RECORD +149 -0
  65. {meshlib-3.0.3.233.dist-info → meshlib-3.0.4.121.dist-info}/WHEEL +1 -1
  66. meshlib.libs/libE57Format-ea142626.so.3.2.0 +0 -0
  67. meshlib.libs/{libMRCuda-9971a41a.so → libMRCuda-7513725c.so} +0 -0
  68. meshlib.libs/libMRIOExtras-060d347d.so +0 -0
  69. meshlib.libs/{libMRMesh-b82b4ce3.so → libMRMesh-04ed1113.so} +0 -0
  70. meshlib.libs/libMRPython-c37a2047.so +0 -0
  71. meshlib.libs/{libMRSymbolMesh-77999842.so → libMRSymbolMesh-517da4e6.so} +0 -0
  72. meshlib.libs/{libMRViewer-45e96600.so → libMRViewer-96241a45.so} +0 -0
  73. meshlib.libs/{libMRVoxels-4ec1c361.so → libMRVoxels-8ccf38ed.so} +0 -0
  74. meshlib.libs/libcpr-4c7e1bca.so.1.8.1 +0 -0
  75. meshlib.libs/{libcrypto-58b32a5c.so.1.1 → libcrypto-7f78e54a.so.1.1} +0 -0
  76. meshlib.libs/libcurl-99035041.so +0 -0
  77. meshlib.libs/{libfreetype-fb8e6785.so.6.17.1 → libfreetype-87a8a749.so.6.17.1} +0 -0
  78. meshlib.libs/libgdcmCommon-aa79ffa3.so.3.0.5 +0 -0
  79. meshlib.libs/{libimgui-7d3f40b7.so → libimgui-02397b87.so} +0 -0
  80. meshlib.libs/libssl-278540b3.so.1.1 +0 -0
  81. meshlib.libs/libzip-5f10f33e.so.5.0 +0 -0
  82. meshlib-3.0.3.233.dist-info/RECORD +0 -100
  83. meshlib.libs/libE57Format-5d24dabf.so.3.2.0 +0 -0
  84. meshlib.libs/libMRIOExtras-c9e69d28.so +0 -0
  85. meshlib.libs/libMRPython-884622be.so +0 -0
  86. {meshlib-3.0.3.233.dist-info → meshlib-3.0.4.121.dist-info}/LICENSE +0 -0
  87. {meshlib-3.0.3.233.dist-info → meshlib-3.0.4.121.dist-info}/top_level.txt +0 -0
meshlib/mrcudapy.pyi CHANGED
@@ -1,26 +1,25 @@
1
1
  from __future__ import annotations
2
2
  import meshlib.mrmeshpy
3
3
  from meshlib.mrmeshpy import func_bool_from_float
4
+ from meshlib.mrmeshpy import func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int
4
5
  from meshlib.mrmeshpy import int_output
5
6
  from meshlib.mrmeshpy import std_vector_MeshIntersectionResult
6
7
  from meshlib.mrmeshpy import std_vector_MeshProjectionResult
7
8
  from meshlib.mrmeshpy import std_vector_MeshTriPoint
9
+ from meshlib.mrmeshpy import std_vector_PointsProjectionResult
8
10
  from meshlib.mrmeshpy import std_vector_SkyPatch
9
- from meshlib.mrmeshpy import std_vector_Vector3_float
10
11
  from meshlib.mrmeshpy import std_vector_Vector3_float as std_vector_Vector3f
12
+ from meshlib.mrmeshpy import std_vector_Vector3_float
11
13
  from meshlib.mrmeshpy import std_vector_float
12
14
  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
+ __all__ = ['FastWindingNumber', 'PointsProjector', 'PointsToMeshProjector', 'computeDistanceMap', 'computeDistanceMapHeapBytes', 'computeSkyViewFactor', 'distanceMapFromContours', 'distanceMapFromContoursHeapBytes', 'findProjectionOnPoints', 'findProjectionOnPointsHeapBytes', 'findSkyRays', 'func_bool_from_float', 'func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int', 'func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int', 'getCudaAvailableMemory', 'getCudaSafeMemoryLimit', 'int_output', 'isCudaAvailable', 'loadMRCudaDll', 'maxBufferSize', 'maxBufferSizeAlignedByBlock', 'negatePicture', 'pointsToDistanceVolume', 'pointsToDistanceVolumeByParts', 'std_vector_MeshIntersectionResult', 'std_vector_MeshProjectionResult', 'std_vector_MeshTriPoint', 'std_vector_PointsProjectionResult', 'std_vector_SkyPatch', 'std_vector_Vector3_float', 'std_vector_Vector3f', 'std_vector_float']
16
+ class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber, meshlib.mrmeshpy.IFastWindingNumberByParts):
15
17
  """
16
18
  Generated from: MR::Cuda::FastWindingNumber
17
19
 
18
20
  the class for fast approximate computation of winding number for a mesh (using its AABB tree)
19
21
  \\ingroup AABBTreeGroup
20
22
  """
21
- @staticmethod
22
- def _pybind11_conduit_v1_(*args, **kwargs):
23
- ...
24
23
  @typing.overload
25
24
  def __init__(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
26
25
  """
@@ -33,23 +32,50 @@ class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber):
33
32
  """
34
33
  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
34
  ...
35
+ def calcFromGridByParts(self, resFunc: meshlib.mrmeshpy.func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, beta: float, layerOverlap: int, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
36
+ """
37
+ see methods' descriptions in IFastWindingNumberByParts
38
+ """
36
39
  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
40
  ...
41
+ def calcFromGridWithDistancesByParts(self, resFunc: meshlib.mrmeshpy.func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, options: meshlib.mrmeshpy.DistanceToMeshOptions, layerOverlap: int, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
42
+ ...
38
43
  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
44
  """
40
45
  see methods' descriptions in IFastWindingNumber
41
46
  """
42
47
  def calcSelfIntersections(self, res: meshlib.mrmeshpy.FaceBitSet, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
43
48
  ...
49
+ class PointsProjector(meshlib.mrmeshpy.IPointsProjector):
50
+ """
51
+ Generated from: MR::Cuda::PointsProjector
52
+
53
+ CUDA-backed implementation of IPointsProjector
54
+ """
55
+ @typing.overload
56
+ def __init__(self) -> None:
57
+ """
58
+ Implicit default constructor.
59
+ """
60
+ @typing.overload
61
+ def __init__(self, arg0: PointsProjector) -> None:
62
+ """
63
+ Implicit copy constructor.
64
+ """
65
+ def findProjections(self, results: meshlib.mrmeshpy.std_vector_PointsProjectionResult, points: meshlib.mrmeshpy.std_vector_Vector3_float, settings: meshlib.mrmeshpy.FindProjectionOnPointsSettings) -> None:
66
+ """
67
+ computes the closest points on point cloud to given points
68
+ """
69
+ def setPointCloud(self, pointCloud: meshlib.mrmeshpy.PointCloud) -> None:
70
+ """
71
+ sets the reference point cloud
72
+ """
44
73
  class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
45
74
  """
46
75
  Generated from: MR::Cuda::PointsToMeshProjector
47
76
 
48
77
  Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
49
78
  """
50
- @staticmethod
51
- def _pybind11_conduit_v1_(*args, **kwargs):
52
- ...
53
79
  @typing.overload
54
80
  def __init__(self) -> None:
55
81
  ...
@@ -78,6 +104,28 @@ class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
78
104
  """
79
105
  update all data related to the referencing mesh
80
106
  """
107
+ class func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int:
108
+ def __bool__(self) -> bool:
109
+ ...
110
+ def __call__(self, arg0: meshlib.mrmeshpy.SimpleVolumeMinMax, arg1: int) -> None:
111
+ ...
112
+ @typing.overload
113
+ def __init__(self) -> None:
114
+ ...
115
+ @typing.overload
116
+ def __init__(self, arg0: None) -> None:
117
+ ...
118
+ @typing.overload
119
+ def __init__(self, arg0: func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int) -> None:
120
+ ...
121
+ def can_be_created_from_python(self) -> bool:
122
+ """
123
+ If false, this function type can't hold a Python function, and can only be created from C++.
124
+ """
125
+ def holds_cpp_function(self) -> bool:
126
+ """
127
+ Does this object currentlyhold a C++ function? As opposed to a Python one.
128
+ """
81
129
  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
130
  """
83
131
  computes distance (height) map for given projection parameters
@@ -104,6 +152,14 @@ def distanceMapFromContoursHeapBytes(polyline: meshlib.mrmeshpy.Polyline2, param
104
152
  """
105
153
  Computes memory consumption of distanceMapFromContours function
106
154
  """
155
+ def findProjectionOnPoints(pointCloud: meshlib.mrmeshpy.PointCloud, points: meshlib.mrmeshpy.std_vector_Vector3_float, settings: meshlib.mrmeshpy.FindProjectionOnPointsSettings = '{}') -> meshlib.mrmeshpy.std_vector_PointsProjectionResult:
156
+ """
157
+ computes the closest points on point cloud to given points
158
+ """
159
+ def findProjectionOnPointsHeapBytes(pointCloud: meshlib.mrmeshpy.PointCloud, pointsCount: int) -> int:
160
+ """
161
+ returns the minimal amount of free GPU memory required for \\ref MR::Cuda::findProjectionOnPoints
162
+ """
107
163
  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
164
  """
109
165
  In each valid sample point tests the rays from that point in the sky;
@@ -115,6 +171,10 @@ def getCudaAvailableMemory() -> int:
115
171
  """
116
172
  Returns available GPU memory in bytes
117
173
  """
174
+ def getCudaSafeMemoryLimit() -> int:
175
+ """
176
+ Returns maximum safe amount of free GPU memory that will be used for dynamic-sized buffers
177
+ """
118
178
  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
179
  """
120
180
  Returns true if Cuda is present on this GPU
@@ -123,6 +183,23 @@ def isCudaAvailable(driverVersion: meshlib.mrmeshpy.int_output = None, runtimeVe
123
183
  optional out compute capability major version
124
184
  optional out compute capability minor version
125
185
  """
186
+ def loadMRCudaDll() -> None:
187
+ """
188
+ call this function to load MRCuda shared library
189
+ """
190
+ def maxBufferSize(availableBytes: int, elementCount: int, elementBytes: int) -> int:
191
+ """
192
+ Returns maximum buffer size in elements that can be allocated with given memory limit
193
+ """
194
+ @typing.overload
195
+ def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector2i, elementBytes: int) -> int:
196
+ """
197
+ Returns maximum buffer size in elements that can be allocated with given memory limit
198
+ The size is aligned to the block dimensions
199
+ """
200
+ @typing.overload
201
+ def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector3i, elementBytes: int) -> int:
202
+ ...
126
203
  def negatePicture(image: meshlib.mrmeshpy.Image) -> None:
127
204
  """
128
205
  This function inverts Color value (255 - value in each channel except alpha)
@@ -131,3 +208,8 @@ def pointsToDistanceVolume(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.m
131
208
  """
132
209
  makes SimpleVolume filled with signed distances to points with normals
133
210
  """
211
+ def pointsToDistanceVolumeByParts(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.mrmeshpy.PointsToDistanceVolumeParams, addPart: func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int, layerOverlap: int) -> None:
212
+ """
213
+ makes SimpleVolume filled with signed distances to points with normals
214
+ populate the volume by parts to the given callback
215
+ """
meshlib/mrcudapy.so CHANGED
Binary file
meshlib/mrmeshnumpy.so CHANGED
Binary file