MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.IPointsToMeshProjector Class Reference
Inheritance diagram for meshlib.IPointsToMeshProjector:

Public Member Functions

 IPointsToMeshProjector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
void updateMeshData (meshlib.Mesh mesh)
void findProjections (meshlib.std_vector_MR_MeshProjectionResult result, meshlib.VertCoords points, meshlib.AffineXf3f worldXf, meshlib.AffineXf3f worldRefXf, java.lang.Float upDistLimitSq, java.lang.Float loDistLimitSq)
long projectionsHeapBytes (long numProjections)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions must be implemented Generated from class MR::IPointsToMeshProjector. Derived classes: Direct: (non-virtual) MR::Cuda::PointsToMeshProjector MR::PointsToMeshProjector

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ IPointsToMeshProjector()

meshlib.IPointsToMeshProjector.IPointsToMeshProjector ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

Member Function Documentation

◆ findProjections()

void meshlib.IPointsToMeshProjector.findProjections ( meshlib.std_vector_MR_MeshProjectionResult result,
meshlib.VertCoords points,
meshlib.AffineXf3f worldXf,
meshlib.AffineXf3f worldRefXf,
java.lang.Float upDistLimitSq,
java.lang.Float loDistLimitSq )

Computes the closest point on mesh to each of given points Generated from method MR::IPointsToMeshProjector::findProjections.

Calls MR_IPointsToMeshProjector_findProjections().

◆ projectionsHeapBytes()

long meshlib.IPointsToMeshProjector.projectionsHeapBytes ( long numProjections)

Returns amount of memory needed to compute projections Generated from method MR::IPointsToMeshProjector::projectionsHeapBytes.

Calls MR_IPointsToMeshProjector_projectionsHeapBytes().

◆ updateMeshData()

void meshlib.IPointsToMeshProjector.updateMeshData ( meshlib.Mesh mesh)

Updates all data related to the referencing mesh Generated from method MR::IPointsToMeshProjector::updateMeshData.

Calls MR_IPointsToMeshProjector_updateMeshData().


The documentation for this class was generated from the following file: