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

Public Member Functions

 PointsProjector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointsProjector ()
 PointsProjector (meshlib.cuda.PointsProjector _other)
meshlib.cuda.PointsProjector assignFromAnother (meshlib.cuda.PointsProjector _other)
void setPointCloud (meshlib.PointCloud pointCloud)
void findProjections (meshlib.std_vector_MR_PointsProjectionResult results, meshlib.VertCoords points, meshlib.FindProjectionOnPointsSettings settings)
long projectionsHeapBytes (long numProjections)
meshlib.IPointsProjector upcastToIPointsProjector ()
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 ()

Static Public Member Functions

static meshlib.cuda.PointsProjector staticDowncastFromIPointsProjector (meshlib.IPointsProjector object)
static meshlib.cuda.PointsProjector dynamicDowncastFromIPointsProjector (meshlib.IPointsProjector object)

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

CUDA-backed implementation of IPointsProjector Generated from class MR::Cuda::PointsProjector. Base classes: Direct: (non-virtual) MR::IPointsProjector

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

Constructor & Destructor Documentation

◆ PointsProjector() [1/3]

meshlib.cuda.PointsProjector.PointsProjector ( 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.

◆ PointsProjector() [2/3]

meshlib.cuda.PointsProjector.PointsProjector ( )

Constructs an empty (default-constructed) instance.

Calls MR_Cuda_PointsProjector_DefaultConstruct().

◆ PointsProjector() [3/3]

meshlib.cuda.PointsProjector.PointsProjector ( meshlib.cuda.PointsProjector _other)

Generated from constructor MR::Cuda::PointsProjector::PointsProjector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Cuda_PointsProjector_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.cuda.PointsProjector meshlib.cuda.PointsProjector.assignFromAnother ( meshlib.cuda.PointsProjector _other)

Generated from method MR::Cuda::PointsProjector::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Cuda_PointsProjector_AssignFromAnother().

◆ dynamicDowncastFromIPointsProjector()

meshlib.cuda.PointsProjector meshlib.cuda.PointsProjector.dynamicDowncastFromIPointsProjector ( meshlib.IPointsProjector object)
static

Dynamic downcast from the base class MR::IPointsProjector. Returns null if the object isn't actually a PointsProjector. The result refers to object.

Calls MR_Cuda_PointsProjector_MutableDynamicDowncastFrom_MR_IPointsProjector().

◆ findProjections()

void meshlib.cuda.PointsProjector.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::Cuda::PointsProjector::findProjections.

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

◆ projectionsHeapBytes()

long meshlib.cuda.PointsProjector.projectionsHeapBytes ( long numProjections)

Returns amount of additional memory needed to compute projections Generated from method MR::Cuda::PointsProjector::projectionsHeapBytes.

Calls MR_Cuda_PointsProjector_projectionsHeapBytes().

◆ setPointCloud()

void meshlib.cuda.PointsProjector.setPointCloud ( meshlib.PointCloud pointCloud)

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

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

◆ staticDowncastFromIPointsProjector()

meshlib.cuda.PointsProjector meshlib.cuda.PointsProjector.staticDowncastFromIPointsProjector ( meshlib.IPointsProjector object)
static

Static downcast from the base class MR::IPointsProjector. Undefined behavior if the object isn't actually a PointsProjector. The result refers to object.

Calls MR_Cuda_PointsProjector_MutableStaticDowncastFrom_MR_IPointsProjector().

◆ upcastToIPointsProjector()

meshlib.IPointsProjector meshlib.cuda.PointsProjector.upcastToIPointsProjector ( )

Upcasts to the base class MR::IPointsProjector. The result refers to this object.

Calls MR_Cuda_PointsProjector_MutableUpcastTo_MR_IPointsProjector().


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