MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::IComputePointsToDistanceFunctionVolume Class Referenceabstract

#include <MRVoxels/MRPointsToDistanceVolume.h>

Inheritance diagram for MR::IComputePointsToDistanceFunctionVolume:

Public Member Functions

virtual FunctionVolume computeFunctionVolume (const PointCloud &cloud, const PointsToDistanceVolumeParams &params) const =0
 makes a volume evaluated on demand; it is valid as long as cloud and params are alive
Public Member Functions inherited from MR::IComputePointsToDistanceVolume
 IComputePointsToDistanceVolume ()=default
 explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated because it has a user-provided destructor
 IComputePointsToDistanceVolume (const IComputePointsToDistanceVolume &)=default
 IComputePointsToDistanceVolume (IComputePointsToDistanceVolume &&) noexcept=default
IComputePointsToDistanceVolume & operator= (const IComputePointsToDistanceVolume &)=default
IComputePointsToDistanceVolume & operator= (IComputePointsToDistanceVolume &&) noexcept=default
virtual ~IComputePointsToDistanceVolume ()=default
virtual bool canCompute (const PointCloud &cloud, const PointsToDistanceVolumeParams &params) const =0
 whether this implementation can process given input, e.g. it fits in GPU memory
virtual Expected< SimpleVolumeMinMax > compute (const PointCloud &cloud, const PointsToDistanceVolumeParams &params) const =0

Detailed Description

complements IComputePointsToDistanceVolume with a lazily evaluated volume, which needs the least memory since the consumer evaluates only the voxels it reads


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