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

Public Member Functions

 ComputePointsToDistanceVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ComputePointsToDistanceVolume ()
 ComputePointsToDistanceVolume (meshlib.cuda.ComputePointsToDistanceVolume _other)
meshlib.cuda.ComputePointsToDistanceVolume assignFromAnother (meshlib.cuda.ComputePointsToDistanceVolume _other)
boolean canCompute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.SimpleVolumeMinMax compute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
void computeByParts (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params, meshlib.std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int addPart, int layerOverlap)
meshlib.IComputePointsToDistanceVolume upcastToIComputePointsToDistanceVolume ()
meshlib.IComputePointsToDistanceVolumeByParts upcastToIComputePointsToDistanceVolumeByParts ()
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.ComputePointsToDistanceVolume staticDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.cuda.ComputePointsToDistanceVolume dynamicDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.cuda.ComputePointsToDistanceVolume staticDowncastFromIComputePointsToDistanceVolumeByParts (meshlib.IComputePointsToDistanceVolumeByParts object)
static meshlib.cuda.ComputePointsToDistanceVolume dynamicDowncastFromIComputePointsToDistanceVolumeByParts (meshlib.IComputePointsToDistanceVolumeByParts 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 implementation of IComputePointsToDistanceVolumeByParts Generated from class MR::Cuda::ComputePointsToDistanceVolume. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolumeByParts Indirect: (non-virtual) MR::IComputePointsToDistanceVolume

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

Constructor & Destructor Documentation

◆ ComputePointsToDistanceVolume() [1/3]

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

◆ ComputePointsToDistanceVolume() [2/3]

meshlib.cuda.ComputePointsToDistanceVolume.ComputePointsToDistanceVolume ( )

Constructs an empty (default-constructed) instance.

Calls MR_Cuda_ComputePointsToDistanceVolume_DefaultConstruct().

◆ ComputePointsToDistanceVolume() [3/3]

meshlib.cuda.ComputePointsToDistanceVolume.ComputePointsToDistanceVolume ( meshlib.cuda.ComputePointsToDistanceVolume _other)

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

Calls MR_Cuda_ComputePointsToDistanceVolume_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.cuda.ComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.assignFromAnother ( meshlib.cuda.ComputePointsToDistanceVolume _other)

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

Calls MR_Cuda_ComputePointsToDistanceVolume_AssignFromAnother().

◆ canCompute()

boolean meshlib.cuda.ComputePointsToDistanceVolume.canCompute ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

see methods' descriptions in the MR::IComputePointsToDistanceVolume interfaces both compute() and computeByParts() upload the same data and process the grid in chunks sized to the free GPU memory, so this answers for either of them Generated from method MR::Cuda::ComputePointsToDistanceVolume::canCompute.

Calls MR_Cuda_ComputePointsToDistanceVolume_canCompute().

◆ compute()

meshlib.SimpleVolumeMinMax meshlib.cuda.ComputePointsToDistanceVolume.compute ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

Generated from method MR::Cuda::ComputePointsToDistanceVolume::compute.

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

◆ computeByParts()

void meshlib.cuda.ComputePointsToDistanceVolume.computeByParts ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params,
meshlib.std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int addPart,
int layerOverlap )

Generated from method MR::Cuda::ComputePointsToDistanceVolume::computeByParts.

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

◆ dynamicDowncastFromIComputePointsToDistanceVolume()

meshlib.cuda.ComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.dynamicDowncastFromIComputePointsToDistanceVolume ( meshlib.IComputePointsToDistanceVolume object)
static

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ dynamicDowncastFromIComputePointsToDistanceVolumeByParts()

meshlib.cuda.ComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.dynamicDowncastFromIComputePointsToDistanceVolumeByParts ( meshlib.IComputePointsToDistanceVolumeByParts object)
static

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolumeByParts().

◆ staticDowncastFromIComputePointsToDistanceVolume()

meshlib.cuda.ComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.staticDowncastFromIComputePointsToDistanceVolume ( meshlib.IComputePointsToDistanceVolume object)
static

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ staticDowncastFromIComputePointsToDistanceVolumeByParts()

meshlib.cuda.ComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.staticDowncastFromIComputePointsToDistanceVolumeByParts ( meshlib.IComputePointsToDistanceVolumeByParts object)
static

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolumeByParts().

◆ upcastToIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolume meshlib.cuda.ComputePointsToDistanceVolume.upcastToIComputePointsToDistanceVolume ( )

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume().

◆ upcastToIComputePointsToDistanceVolumeByParts()

meshlib.IComputePointsToDistanceVolumeByParts meshlib.cuda.ComputePointsToDistanceVolume.upcastToIComputePointsToDistanceVolumeByParts ( )

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

Calls MR_Cuda_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolumeByParts().


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