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

Public Member Functions

 IComputePointsToDistanceVolumeByParts (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
void computeByParts (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params, meshlib.std_function_expected_void_std_string_from_const_MR_SimpleVolumeMinMax_ref_int addPart, int layerOverlap)
boolean canCompute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.SimpleVolumeMinMax compute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.IComputePointsToDistanceVolume upcastToIComputePointsToDistanceVolume ()
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.IComputePointsToDistanceVolumeByParts staticDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.IComputePointsToDistanceVolumeByParts dynamicDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume 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

complements IComputePointsToDistanceVolume with computation in z-slabs, which needs less memory Generated from class MR::IComputePointsToDistanceVolumeByParts. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolume Derived classes: Direct: (non-virtual) MR::Cuda::ComputePointsToDistanceVolume

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

Constructor & Destructor Documentation

◆ IComputePointsToDistanceVolumeByParts()

meshlib.IComputePointsToDistanceVolumeByParts.IComputePointsToDistanceVolumeByParts ( 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

◆ canCompute()

boolean meshlib.IComputePointsToDistanceVolumeByParts.canCompute ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

whether this implementation can process given input, e.g. it fits in GPU memory Generated from method MR::IComputePointsToDistanceVolumeByParts::canCompute.

Calls MR_IComputePointsToDistanceVolumeByParts_canCompute().

◆ compute()

meshlib.SimpleVolumeMinMax meshlib.IComputePointsToDistanceVolumeByParts.compute ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

makes the whole volume at once, which needs the entire grid in memory; the derived interfaces below offer cheaper ways to obtain the same data Generated from method MR::IComputePointsToDistanceVolumeByParts::compute.

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

◆ computeByParts()

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

makes the volume by z-slabs, passing each of them in addPart with layerOverlap layers shared by neighbours Generated from method MR::IComputePointsToDistanceVolumeByParts::computeByParts.

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

◆ dynamicDowncastFromIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolumeByParts meshlib.IComputePointsToDistanceVolumeByParts.dynamicDowncastFromIComputePointsToDistanceVolume ( meshlib.IComputePointsToDistanceVolume object)
static

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

Calls MR_IComputePointsToDistanceVolumeByParts_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ staticDowncastFromIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolumeByParts meshlib.IComputePointsToDistanceVolumeByParts.staticDowncastFromIComputePointsToDistanceVolume ( meshlib.IComputePointsToDistanceVolume object)
static

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

Calls MR_IComputePointsToDistanceVolumeByParts_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ upcastToIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolume meshlib.IComputePointsToDistanceVolumeByParts.upcastToIComputePointsToDistanceVolume ( )

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

Calls MR_IComputePointsToDistanceVolumeByParts_MutableUpcastTo_MR_IComputePointsToDistanceVolume().


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