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

Public Member Functions

 IPointsProjector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
void setPointCloud (meshlib.PointCloud pointCloud)
void findProjections (meshlib.std_vector_MR_PointsProjectionResult results, meshlib.VertCoords points, meshlib.FindProjectionOnPointsSettings settings)
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 for computing the closest points of point clouds Generated from class MR::IPointsProjector. Derived classes: Direct: (non-virtual) MR::Cuda::PointsProjector MR::PointsProjector

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

Constructor & Destructor Documentation

◆ IPointsProjector()

meshlib.IPointsProjector.IPointsProjector ( 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.IPointsProjector.findProjections ( meshlib.std_vector_MR_PointsProjectionResult results,
meshlib.VertCoords points,
meshlib.FindProjectionOnPointsSettings settings )

computes the closest points on point cloud to given points Generated from method MR::IPointsProjector::findProjections.

Calls MR_IPointsProjector_findProjections(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ projectionsHeapBytes()

long meshlib.IPointsProjector.projectionsHeapBytes ( long numProjections)

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

Calls MR_IPointsProjector_projectionsHeapBytes().

◆ setPointCloud()

void meshlib.IPointsProjector.setPointCloud ( meshlib.PointCloud pointCloud)

sets the reference point cloud Generated from method MR::IPointsProjector::setPointCloud.

Calls MR_IPointsProjector_setPointCloud(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


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