Program Listing for File DMCPointHandle.hpp

Return to documentation for file (include/lvr2/reconstruction/DMCPointHandle.hpp)

/*
 * DMCPointHandle.hpp
 *
 *  @date 22.01.2019
 *  @author Benedikt Schumacher
 */

#ifndef DMCPointHandle_H_
#define DMCPointHandle_H_

#include <vector>
using std::vector;

namespace lvr2
{

template<typename BaseVecT>
class DMCPointHandle
{
public:

    // =======================================================================
    // Pure virtual methods (need to be implemented)
    // =======================================================================

    virtual vector<coord<float>*> getContainedPoints(int index) = 0;

    virtual void split(int index,
        vector<coord<float>*> splittedPoints[8],
        bool dual) = 0;

    virtual void clear() = 0;

};

} // namespace lvr2

#endif /* DMCPointHandle_H_ */