meshlib 3.0.3.233__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_aarch64.whl → 3.0.5.213__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.
- meshlib/libpybind11nonlimitedapi_meshlib_3.10.so +0 -0
- meshlib/libpybind11nonlimitedapi_meshlib_3.11.so +0 -0
- meshlib/libpybind11nonlimitedapi_meshlib_3.12.so +0 -0
- meshlib/libpybind11nonlimitedapi_meshlib_3.13.so +0 -0
- meshlib/libpybind11nonlimitedapi_meshlib_3.8.so +0 -0
- meshlib/libpybind11nonlimitedapi_meshlib_3.9.so +0 -0
- meshlib/mrcudapy.pyi +95 -9
- meshlib/mrcudapy.so +0 -0
- meshlib/mrmeshnumpy.so +0 -0
- meshlib/mrmeshpy.pyi +5075 -5490
- meshlib/mrmeshpy.so +0 -0
- meshlib/mrviewerpy.pyi +0 -45
- meshlib/mrviewerpy.so +0 -0
- meshlib/resource/independent_icons/X1/Plane Import.png +0 -0
- meshlib/resource/independent_icons/X1/Plane XY.png +0 -0
- meshlib/resource/independent_icons/X1/Plane XZ.png +0 -0
- meshlib/resource/independent_icons/X1/Plane YZ.png +0 -0
- meshlib/resource/independent_icons/X3/Plane Import.png +0 -0
- meshlib/resource/independent_icons/X3/Plane XY.png +0 -0
- meshlib/resource/independent_icons/X3/Plane XZ.png +0 -0
- meshlib/resource/independent_icons/X3/Plane YZ.png +0 -0
- meshlib/resource/object_icons/X1/AngleMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X1/CircleObject.png +0 -0
- meshlib/resource/object_icons/X1/ConeObject.png +0 -0
- meshlib/resource/object_icons/X1/CylinderObject.png +0 -0
- meshlib/resource/object_icons/X1/DistanceMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X1/LineObject.png +0 -0
- meshlib/resource/object_icons/X1/Object.png +0 -0
- meshlib/resource/object_icons/X1/ObjectDistanceMap.png +0 -0
- meshlib/resource/object_icons/X1/ObjectGcode.png +0 -0
- meshlib/resource/object_icons/X1/ObjectLabel.png +0 -0
- meshlib/resource/object_icons/X1/ObjectLines.png +0 -0
- meshlib/resource/object_icons/X1/ObjectMesh.png +0 -0
- meshlib/resource/object_icons/X1/ObjectPoints.png +0 -0
- meshlib/resource/object_icons/X1/ObjectVoxels.png +0 -0
- meshlib/resource/object_icons/X1/Object_open.png +0 -0
- meshlib/resource/object_icons/X1/PlaneObject.png +0 -0
- meshlib/resource/object_icons/X1/PointObject.png +0 -0
- meshlib/resource/object_icons/X1/RadiusMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X1/SphereObject.png +0 -0
- meshlib/resource/object_icons/X3/AngleMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X3/CircleObject.png +0 -0
- meshlib/resource/object_icons/X3/ConeObject.png +0 -0
- meshlib/resource/object_icons/X3/CylinderObject.png +0 -0
- meshlib/resource/object_icons/X3/DistanceMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X3/LineObject.png +0 -0
- meshlib/resource/object_icons/X3/Object.png +0 -0
- meshlib/resource/object_icons/X3/ObjectDistanceMap.png +0 -0
- meshlib/resource/object_icons/X3/ObjectGcode.png +0 -0
- meshlib/resource/object_icons/X3/ObjectLabel.png +0 -0
- meshlib/resource/object_icons/X3/ObjectLines.png +0 -0
- meshlib/resource/object_icons/X3/ObjectMesh.png +0 -0
- meshlib/resource/object_icons/X3/ObjectPoints.png +0 -0
- meshlib/resource/object_icons/X3/ObjectVoxels.png +0 -0
- meshlib/resource/object_icons/X3/Object_open.png +0 -0
- meshlib/resource/object_icons/X3/PlaneObject.png +0 -0
- meshlib/resource/object_icons/X3/PointObject.png +0 -0
- meshlib/resource/object_icons/X3/RadiusMeasurementObject.png +0 -0
- meshlib/resource/object_icons/X3/SphereObject.png +0 -0
- meshlib/resource/textures/controller_cube_default.png +0 -0
- meshlib/resource/textures/controller_cube_edges.png +0 -0
- meshlib/resource/textures/controller_cube_sides.png +0 -0
- {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/METADATA +57 -32
- meshlib-3.0.5.213.dist-info/RECORD +149 -0
- {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/WHEEL +1 -1
- meshlib.libs/libE57Format-ea142626.so.3.2.0 +0 -0
- meshlib.libs/{libMRCuda-9971a41a.so → libMRCuda-f0a9f4cc.so} +0 -0
- meshlib.libs/libMRIOExtras-24af0399.so +0 -0
- meshlib.libs/{libMRMesh-b82b4ce3.so → libMRMesh-d200ed90.so} +0 -0
- meshlib.libs/libMRPython-c37a2047.so +0 -0
- meshlib.libs/{libMRSymbolMesh-77999842.so → libMRSymbolMesh-cc7287d3.so} +0 -0
- meshlib.libs/{libMRViewer-45e96600.so → libMRViewer-cacd6268.so} +0 -0
- meshlib.libs/{libMRVoxels-4ec1c361.so → libMRVoxels-2667e79e.so} +0 -0
- meshlib.libs/{libOpenCTM-519ce32c.so → libOpenCTM-bd84ca8b.so} +0 -0
- meshlib.libs/{libclip-94471f76.so → libclip-096f534c.so} +0 -0
- meshlib.libs/libcpr-4c7e1bca.so.1.8.1 +0 -0
- meshlib.libs/{libcrypto-58b32a5c.so.1.1 → libcrypto-7f78e54a.so.1.1} +0 -0
- meshlib.libs/libcurl-99035041.so +0 -0
- meshlib.libs/{libfreetype-fb8e6785.so.6.17.1 → libfreetype-87a8a749.so.6.17.1} +0 -0
- meshlib.libs/libgdcmCommon-aa79ffa3.so.3.0.5 +0 -0
- meshlib.libs/libimgui-f441e40f.so +0 -0
- meshlib.libs/libssl-278540b3.so.1.1 +0 -0
- meshlib.libs/libzip-5f10f33e.so.5.0 +0 -0
- meshlib-3.0.3.233.dist-info/RECORD +0 -100
- meshlib.libs/libE57Format-5d24dabf.so.3.2.0 +0 -0
- meshlib.libs/libMRIOExtras-c9e69d28.so +0 -0
- meshlib.libs/libMRPython-884622be.so +0 -0
- meshlib.libs/libimgui-7d3f40b7.so +0 -0
- {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info/licenses}/LICENSE +0 -0
- {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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,54 @@ 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 projectionsHeapBytes(self, numProjections: int) -> int:
|
|
70
|
+
"""
|
|
71
|
+
Returns amount of additional memory needed to compute projections
|
|
72
|
+
"""
|
|
73
|
+
def setPointCloud(self, pointCloud: meshlib.mrmeshpy.PointCloud) -> None:
|
|
74
|
+
"""
|
|
75
|
+
sets the reference point cloud
|
|
76
|
+
"""
|
|
44
77
|
class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
|
|
45
78
|
"""
|
|
46
79
|
Generated from: MR::Cuda::PointsToMeshProjector
|
|
47
80
|
|
|
48
81
|
Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
|
|
49
82
|
"""
|
|
50
|
-
@staticmethod
|
|
51
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
52
|
-
...
|
|
53
83
|
@typing.overload
|
|
54
84
|
def __init__(self) -> None:
|
|
55
85
|
...
|
|
@@ -78,6 +108,28 @@ class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
|
|
|
78
108
|
"""
|
|
79
109
|
update all data related to the referencing mesh
|
|
80
110
|
"""
|
|
111
|
+
class func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int:
|
|
112
|
+
def __bool__(self) -> bool:
|
|
113
|
+
...
|
|
114
|
+
def __call__(self, arg0: meshlib.mrmeshpy.SimpleVolumeMinMax, arg1: int) -> None:
|
|
115
|
+
...
|
|
116
|
+
@typing.overload
|
|
117
|
+
def __init__(self) -> None:
|
|
118
|
+
...
|
|
119
|
+
@typing.overload
|
|
120
|
+
def __init__(self, arg0: None) -> None:
|
|
121
|
+
...
|
|
122
|
+
@typing.overload
|
|
123
|
+
def __init__(self, arg0: func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int) -> None:
|
|
124
|
+
...
|
|
125
|
+
def can_be_created_from_python(self) -> bool:
|
|
126
|
+
"""
|
|
127
|
+
If false, this function type can't hold a Python function, and can only be created from C++.
|
|
128
|
+
"""
|
|
129
|
+
def holds_cpp_function(self) -> bool:
|
|
130
|
+
"""
|
|
131
|
+
Does this object currentlyhold a C++ function? As opposed to a Python one.
|
|
132
|
+
"""
|
|
81
133
|
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
134
|
"""
|
|
83
135
|
computes distance (height) map for given projection parameters
|
|
@@ -104,6 +156,14 @@ def distanceMapFromContoursHeapBytes(polyline: meshlib.mrmeshpy.Polyline2, param
|
|
|
104
156
|
"""
|
|
105
157
|
Computes memory consumption of distanceMapFromContours function
|
|
106
158
|
"""
|
|
159
|
+
def findProjectionOnPoints(pointCloud: meshlib.mrmeshpy.PointCloud, points: meshlib.mrmeshpy.std_vector_Vector3_float, settings: meshlib.mrmeshpy.FindProjectionOnPointsSettings = '{}') -> meshlib.mrmeshpy.std_vector_PointsProjectionResult:
|
|
160
|
+
"""
|
|
161
|
+
computes the closest points on point cloud to given points
|
|
162
|
+
"""
|
|
163
|
+
def findProjectionOnPointsHeapBytes(pointCloud: meshlib.mrmeshpy.PointCloud, pointsCount: int) -> int:
|
|
164
|
+
"""
|
|
165
|
+
returns the minimal amount of free GPU memory required for \\ref MR::Cuda::findProjectionOnPoints
|
|
166
|
+
"""
|
|
107
167
|
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
168
|
"""
|
|
109
169
|
In each valid sample point tests the rays from that point in the sky;
|
|
@@ -115,6 +175,10 @@ def getCudaAvailableMemory() -> int:
|
|
|
115
175
|
"""
|
|
116
176
|
Returns available GPU memory in bytes
|
|
117
177
|
"""
|
|
178
|
+
def getCudaSafeMemoryLimit() -> int:
|
|
179
|
+
"""
|
|
180
|
+
Returns maximum safe amount of free GPU memory that will be used for dynamic-sized buffers
|
|
181
|
+
"""
|
|
118
182
|
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
183
|
"""
|
|
120
184
|
Returns true if Cuda is present on this GPU
|
|
@@ -123,6 +187,23 @@ def isCudaAvailable(driverVersion: meshlib.mrmeshpy.int_output = None, runtimeVe
|
|
|
123
187
|
optional out compute capability major version
|
|
124
188
|
optional out compute capability minor version
|
|
125
189
|
"""
|
|
190
|
+
def loadMRCudaDll() -> None:
|
|
191
|
+
"""
|
|
192
|
+
call this function to load MRCuda shared library
|
|
193
|
+
"""
|
|
194
|
+
def maxBufferSize(availableBytes: int, elementCount: int, elementBytes: int) -> int:
|
|
195
|
+
"""
|
|
196
|
+
Returns maximum buffer size in elements that can be allocated with given memory limit
|
|
197
|
+
"""
|
|
198
|
+
@typing.overload
|
|
199
|
+
def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector2i, elementBytes: int) -> int:
|
|
200
|
+
"""
|
|
201
|
+
Returns maximum buffer size in elements that can be allocated with given memory limit
|
|
202
|
+
The size is aligned to the block dimensions
|
|
203
|
+
"""
|
|
204
|
+
@typing.overload
|
|
205
|
+
def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector3i, elementBytes: int) -> int:
|
|
206
|
+
...
|
|
126
207
|
def negatePicture(image: meshlib.mrmeshpy.Image) -> None:
|
|
127
208
|
"""
|
|
128
209
|
This function inverts Color value (255 - value in each channel except alpha)
|
|
@@ -131,3 +212,8 @@ def pointsToDistanceVolume(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.m
|
|
|
131
212
|
"""
|
|
132
213
|
makes SimpleVolume filled with signed distances to points with normals
|
|
133
214
|
"""
|
|
215
|
+
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:
|
|
216
|
+
"""
|
|
217
|
+
makes SimpleVolume filled with signed distances to points with normals
|
|
218
|
+
populate the volume by parts to the given callback
|
|
219
|
+
"""
|
meshlib/mrcudapy.so
CHANGED
|
Binary file
|
meshlib/mrmeshnumpy.so
CHANGED
|
Binary file
|