MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstComputePointsToDistanceVolume Class Reference
Inheritance diagram for mrmeshpy.ConstComputePointsToDistanceVolume:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool canCompute (self, ConstPointCloud cloud, ConstPointsToDistanceVolumeParams params)
SimpleVolumeMinMax compute (self, ConstPointCloud cloud, ConstPointsToDistanceVolumeParams params)
FunctionVolume computeFunctionVolume (self, ConstPointCloud cloud, ConstPointsToDistanceVolumeParams params)

Detailed Description

Generated from:  MR::ComputePointsToDistanceVolume

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstComputePointsToDistanceVolume.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstComputePointsToDistanceVolume) -> None

2. __init__(self: meshlib.mrmeshpy.ConstComputePointsToDistanceVolume, arg0: meshlib.mrmeshpy.ConstComputePointsToDistanceVolume) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstComputePointsToDistanceVolume, : meshlib.mrmeshpy.ConstComputePointsToDistanceVolume) -> None

Member Function Documentation

◆ canCompute()

bool mrmeshpy.ConstComputePointsToDistanceVolume.canCompute ( self,
ConstPointCloud cloud,
ConstPointsToDistanceVolumeParams params )
see methods' descriptions in the interfaces above

Reimplemented from mrmeshpy.ConstIComputePointsToDistanceVolume.

◆ compute()

SimpleVolumeMinMax mrmeshpy.ConstComputePointsToDistanceVolume.compute ( self,
ConstPointCloud cloud,
ConstPointsToDistanceVolumeParams 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

Reimplemented from mrmeshpy.ConstIComputePointsToDistanceVolume.

◆ computeFunctionVolume()

FunctionVolume mrmeshpy.ConstComputePointsToDistanceVolume.computeFunctionVolume ( self,
ConstPointCloud cloud,
ConstPointsToDistanceVolumeParams params )
makes a volume evaluated on demand; it is valid as long as cloud and params are alive

Reimplemented from mrmeshpy.ConstIComputePointsToDistanceFunctionVolume.


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