complements IComputePointsToDistanceVolume with computation in z-slabs, which needs less memory More...
#include <MRVoxels/MRPointsToDistanceVolume.h>
Public Types | |
| using | AddPartFunc = std::function<Expected<void>( const SimpleVolumeMinMax& volume, int zOffset )> |
| gets one z-slab of the volume, starting at z-layer zOffset | |
Public Member Functions | |
| virtual Expected< void > | computeByParts (const PointCloud &cloud, const PointsToDistanceVolumeParams ¶ms, AddPartFunc addPart, int layerOverlap) const =0 |
| makes the volume by z-slabs, passing each of them in addPart with layerOverlap layers shared by neighbours | |
| 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 computation in z-slabs, which needs less memory