Public Member Functions | |
| IComputePointsToDistanceVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| boolean | canCompute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params) |
| meshlib.SimpleVolumeMinMax | compute (meshlib.PointCloud cloud, meshlib.PointsToDistanceVolumeParams params) |
| 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 () |
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) | |
abstract class for computing a volume of signed distances to points with normals Generated from class MR::IComputePointsToDistanceVolume. Derived classes: Direct: (non-virtual) MR::IComputePointsToDistanceFunctionVolume MR::IComputePointsToDistanceVolumeByParts Indirect: (non-virtual) MR::ComputePointsToDistanceVolume MR::Cuda::ComputePointsToDistanceVolume
Instances created here own their C++ objects, see CppObject.
| meshlib.IComputePointsToDistanceVolume.IComputePointsToDistanceVolume | ( | 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.
| boolean meshlib.IComputePointsToDistanceVolume.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::IComputePointsToDistanceVolume::canCompute.
Calls MR_IComputePointsToDistanceVolume_canCompute().
| meshlib.SimpleVolumeMinMax meshlib.IComputePointsToDistanceVolume.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::IComputePointsToDistanceVolume::compute.
Calls MR_IComputePointsToDistanceVolume_compute(). The C++ function returns expected<MR::SimpleVolumeMinMax, std::string>: the value is returned and an error is thrown as UnexpectedResultException.