Skip to content

File PoissonSurface.h

File List > algos > pointcloud_to_mesh > PoissonSurface.h

Go to the documentation of this file

#pragma once

#include "mesh/Mesh.h"
#include "point_cloud/PointCloud.h"
#include "ISurfaceReconstructor.h"


namespace Argos {

    class PoissonSurface : public ISurfaceReconstructor {
    private:
        float detail;    
        float smoothing; 
    public:
        explicit PoissonSurface(float detail, float smoothing) : detail(detail), smoothing(smoothing) {}

        Mesh reconstruct(const PointCloud& pc) const override;

        std::string name() const override;
    };
}