Class OctreeReductionAlgorithm
Defined in File OctreeReduction.hpp
Inheritance Relationships
Base Type
public lvr2::ReductionAlgorithm(Class ReductionAlgorithm)
Class Documentation
-
class OctreeReductionAlgorithm : public lvr2::ReductionAlgorithm
Reference implementation of an octree-based reduction algorithm.
Public Functions
-
inline OctreeReductionAlgorithm(float voxelSize, size_t minPoints, OctreeType type = RANDOM_SAMPLE)
-
inline virtual void setPointBuffer(PointBufferPtr ptr) override
Sets the Point Buffer object. Overriding classes may replace the default behavior, which just stores the internal pointer, to provided internal structures that are needed to reduce the data, e.g., Octrees.
- Parameters:
ptr – Point buffer containing the original point cloud data
-
inline virtual PointBufferPtr getReducedPoints() override
Returns a reduced version of a point buffer object The structure of the reduced point buffer depends on the implementation that provides this interface method.
-
inline OctreeReductionAlgorithm(float voxelSize, size_t minPoints, OctreeType type = RANDOM_SAMPLE)