Class FixedSizeReductionAlgorithm

Inheritance Relationships

Base Type

Class Documentation

class FixedSizeReductionAlgorithm : public lvr2::ReductionAlgorithm

ReductionAlgorithm implementation that returns a point buffer with a fixed number of points with an evenly spaced selection from the original point buffer.

Public Functions

inline FixedSizeReductionAlgorithm(size_t numPoints)
Parameters:

numPoints – Number of points the original point buffer gets reduced to

inline virtual PointBufferPtr getReducedPoints()

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.