Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, PointsToMeshProjector arg0) |
None | findProjections (self, meshlib.mrmeshpy.std_vector_MeshProjectionResult res, meshlib.mrmeshpy.std_vector_Vector3_float points, meshlib.mrmeshpy.AffineXf3f objXf, meshlib.mrmeshpy.AffineXf3f refObjXf, float upDistLimitSq, float loDistLimitSq) |
int | projectionsHeapBytes (self, int numProjections) |
None | updateMeshData (self, meshlib.mrmeshpy.Mesh mesh) |
Generated from: MR::Cuda::PointsToMeshProjector Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
None meshlib.mrcudapy.PointsToMeshProjector.__init__ | ( | self | ) |
None meshlib.mrcudapy.PointsToMeshProjector.__init__ | ( | self, | |
PointsToMeshProjector | arg0 ) |
Implicit copy constructor.
None meshlib.mrcudapy.PointsToMeshProjector.findProjections | ( | self, | |
meshlib.mrmeshpy.std_vector_MeshProjectionResult | res, | ||
meshlib.mrmeshpy.std_vector_Vector3_float | points, | ||
meshlib.mrmeshpy.AffineXf3f | objXf, | ||
meshlib.mrmeshpy.AffineXf3f | refObjXf, | ||
float | upDistLimitSq, | ||
float | loDistLimitSq ) |
<summary> Computes the closest point on mesh to each of given points </summary> <param name="res">vector pf projections</param> <param name="points">vector of points to project</param> <param name="objXf">transform applied to points</param> <param name="refObjXf">transform applied to referencing mesh</param> <param name="upDistLimitSq">maximal squared distance from point to mesh</param> <param name="loDistLimitSq">minimal squared distance from point to mesh</param>
Reimplemented from meshlib.mrmeshpy.IPointsToMeshProjector.
int meshlib.mrcudapy.PointsToMeshProjector.projectionsHeapBytes | ( | self, | |
int | numProjections ) |
Returns amount of additional memory needed to compute projections
Reimplemented from meshlib.mrmeshpy.IPointsToMeshProjector.
None meshlib.mrcudapy.PointsToMeshProjector.updateMeshData | ( | self, | |
meshlib.mrmeshpy.Mesh | mesh ) |
update all data related to the referencing mesh
Reimplemented from meshlib.mrmeshpy.IPointsToMeshProjector.