Class ReductionAlgorithm
Defined in File ReductionAlgorithm.hpp
Inheritance Relationships
Derived Types
public lvr2::AllReductionAlgorithm(Class AllReductionAlgorithm)public lvr2::FixedSizeReductionAlgorithm(Class FixedSizeReductionAlgorithm)public lvr2::NoReductionAlgorithm(Class NoReductionAlgorithm)public lvr2::OctreeReductionAlgorithm(Class OctreeReductionAlgorithm)public lvr2::PercentageReductionAlgorithm(Class PercentageReductionAlgorithm)
Class Documentation
-
class ReductionAlgorithm
Interface defintion for algorithms that reduce point buffer objects.
Subclassed by lvr2::AllReductionAlgorithm, lvr2::FixedSizeReductionAlgorithm, lvr2::NoReductionAlgorithm, lvr2::OctreeReductionAlgorithm, lvr2::PercentageReductionAlgorithm
Public Functions
-
virtual PointBufferPtr getReducedPoints() = 0
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 virtual void setPointBuffer(PointBufferPtr ptr)
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
Protected Attributes
-
PointBufferPtr m_pointBuffer
-
virtual PointBufferPtr getReducedPoints() = 0