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

Public Member Functions

 ComputePointsToDistanceVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ComputePointsToDistanceVolume ()
 ComputePointsToDistanceVolume (meshlib.ComputePointsToDistanceVolume _other)
meshlib.ComputePointsToDistanceVolume assignFromAnother (meshlib.ComputePointsToDistanceVolume _other)
boolean canCompute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.SimpleVolumeMinMax compute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.FunctionVolume computeFunctionVolume (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params)
meshlib.IComputePointsToDistanceVolume upcastToIComputePointsToDistanceVolume ()
meshlib.IComputePointsToDistanceFunctionVolume upcastToIComputePointsToDistanceFunctionVolume ()
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.ComputePointsToDistanceVolume staticDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.ComputePointsToDistanceVolume dynamicDowncastFromIComputePointsToDistanceVolume (meshlib.IComputePointsToDistanceVolume object)
static meshlib.ComputePointsToDistanceVolume staticDowncastFromIComputePointsToDistanceFunctionVolume (meshlib.IComputePointsToDistanceFunctionVolume object)
static meshlib.ComputePointsToDistanceVolume dynamicDowncastFromIComputePointsToDistanceFunctionVolume (meshlib.IComputePointsToDistanceFunctionVolume 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

CPU implementation of IComputePointsToDistanceVolume, used by pointsToMeshFusion when no other one is given; prefer its lazy computeFunctionVolume over compute, which materializes the whole volume in memory Generated from class MR::ComputePointsToDistanceVolume. Base classes: Direct: (non-virtual) MR::IComputePointsToDistanceFunctionVolume Indirect: (non-virtual) MR::IComputePointsToDistanceVolume

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

Constructor & Destructor Documentation

◆ ComputePointsToDistanceVolume() [1/3]

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

Constructs an empty (default-constructed) instance.

Calls MR_ComputePointsToDistanceVolume_DefaultConstruct().

◆ ComputePointsToDistanceVolume() [3/3]

meshlib.ComputePointsToDistanceVolume.ComputePointsToDistanceVolume ( meshlib.ComputePointsToDistanceVolume _other)

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

Calls MR_ComputePointsToDistanceVolume_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

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

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

Calls MR_ComputePointsToDistanceVolume_AssignFromAnother().

◆ canCompute()

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

see methods' descriptions in the interfaces above Generated from method MR::ComputePointsToDistanceVolume::canCompute.

Calls MR_ComputePointsToDistanceVolume_canCompute().

◆ compute()

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

Generated from method MR::ComputePointsToDistanceVolume::compute.

Calls MR_ComputePointsToDistanceVolume_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.ComputePointsToDistanceVolume.computeFunctionVolume ( meshlib.PointCloud cloud,
meshlib.PointsToDistanceVolumeParams params )

Generated from method MR::ComputePointsToDistanceVolume::computeFunctionVolume.

Calls MR_ComputePointsToDistanceVolume_computeFunctionVolume().

◆ dynamicDowncastFromIComputePointsToDistanceFunctionVolume()

meshlib.ComputePointsToDistanceVolume meshlib.ComputePointsToDistanceVolume.dynamicDowncastFromIComputePointsToDistanceFunctionVolume ( meshlib.IComputePointsToDistanceFunctionVolume object)
static

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

Calls MR_ComputePointsToDistanceVolume_MutableDynamicDowncastFrom_MR_IComputePointsToDistanceFunctionVolume().

◆ dynamicDowncastFromIComputePointsToDistanceVolume()

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

◆ staticDowncastFromIComputePointsToDistanceFunctionVolume()

meshlib.ComputePointsToDistanceVolume meshlib.ComputePointsToDistanceVolume.staticDowncastFromIComputePointsToDistanceFunctionVolume ( meshlib.IComputePointsToDistanceFunctionVolume object)
static

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

Calls MR_ComputePointsToDistanceVolume_MutableStaticDowncastFrom_MR_IComputePointsToDistanceFunctionVolume().

◆ staticDowncastFromIComputePointsToDistanceVolume()

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

◆ upcastToIComputePointsToDistanceFunctionVolume()

meshlib.IComputePointsToDistanceFunctionVolume meshlib.ComputePointsToDistanceVolume.upcastToIComputePointsToDistanceFunctionVolume ( )

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

Calls MR_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceFunctionVolume().

◆ upcastToIComputePointsToDistanceVolume()

meshlib.IComputePointsToDistanceVolume meshlib.ComputePointsToDistanceVolume.upcastToIComputePointsToDistanceVolume ( )

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

Calls MR_ComputePointsToDistanceVolume_MutableUpcastTo_MR_IComputePointsToDistanceVolume().


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