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

Public Member Functions

 IComputePointsToDistanceFunctionVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
meshlib.FunctionVolume computeFunctionVolume (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
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.IComputePointsToDistanceFunctionVolume staticDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.IComputePointsToDistanceFunctionVolume 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 a lazily evaluated volume, which needs the least memory since the consumer evaluates only the voxels it reads Generated from class MR::IComputePointsToDistanceFunctionVolume. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceVolume Derived classes: Direct: (non-virtual) MR::ComputePointsToDistanceVolume

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

Constructor & Destructor Documentation

◆ IComputePointsToDistanceFunctionVolume()

meshlib.IComputePointsToDistanceFunctionVolume.IComputePointsToDistanceFunctionVolume ( 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.IComputePointsToDistanceFunctionVolume.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::IComputePointsToDistanceFunctionVolume::canCompute.

Calls MR_IComputePointsToDistanceFunctionVolume_canCompute().

◆ compute()

meshlib.SimpleVolumeMinMax meshlib.IComputePointsToDistanceFunctionVolume.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::IComputePointsToDistanceFunctionVolume::compute.

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

◆ computeFunctionVolume()

meshlib.FunctionVolume meshlib.IComputePointsToDistanceFunctionVolume.computeFunctionVolume ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

makes a volume evaluated on demand; it is valid as long as cloud and params are alive Generated from method MR::IComputePointsToDistanceFunctionVolume::computeFunctionVolume.

Calls MR_IComputePointsToDistanceFunctionVolume_computeFunctionVolume().

◆ dynamicDowncastFromIComputePointsToDistanceVolume()

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

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

Calls MR_IComputePointsToDistanceFunctionVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ staticDowncastFromIComputePointsToDistanceVolume()

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

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

Calls MR_IComputePointsToDistanceFunctionVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceVolume().

◆ upcastToIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolume meshlib.IComputePointsToDistanceFunctionVolume.upcastToIComputePointsToDistanceVolume ( )

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

Calls MR_IComputePointsToDistanceFunctionVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume().


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