#include <MRVoxels/MRPointsToDistanceVolume.h>
Public Member Functions | |
| virtual FunctionVolume | computeFunctionVolume (const PointCloud &cloud, const PointsToDistanceVolumeParams ¶ms) 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 ¶ms) 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 ¶ms) const =0 |
complements IComputePointsToDistanceVolume with a lazily evaluated volume, which needs the least memory since the consumer evaluates only the voxels it reads