27#ifndef EASY3D_ALGO_POISSON_RECONSTRUCTION_H
28#define EASY3D_ALGO_POISSON_RECONSTRUCTION_H
96 const std::string &density_attr_name =
"v:density"
160 float samples_per_node_;
162 bool triangulate_mesh_;
A data structure for point clouds.
Definition point_cloud.h:45
~PoissonReconstruction()
Destructor.
void set_cg_depth(int v)
Set the conjugate gradient depth.
Definition point_cloud_poisson_reconstruction.h:112
void set_scale(float v)
Set the scale factor.
Definition point_cloud_poisson_reconstruction.h:117
void set_point_weight(float v)
Set the point weight.
Definition point_cloud_poisson_reconstruction.h:124
void set_full_depth(int v)
Set the full depth of the octree.
Definition point_cloud_poisson_reconstruction.h:107
void set_verbose(bool v)
Set the verbosity of the reconstruction process.
Definition point_cloud_poisson_reconstruction.h:134
void set_samples_per_node(float s)
Set the minimum number of samples.
Definition point_cloud_poisson_reconstruction.h:72
static SurfaceMesh * trim(SurfaceMesh *mesh, float trim_value, float area_ratio, bool triangulate, const std::string &density_attr_name="v:density")
Trim the reconstructed surface model based on the density attribute.
Definition point_cloud_poisson_reconstruction.cpp:488
PoissonReconstruction()
Constructor.
Definition point_cloud_poisson_reconstruction.cpp:94
void set_depth(int d)
Set reconstruction depth.
Definition point_cloud_poisson_reconstruction.h:62
SurfaceMesh * apply(const PointCloud *cloud, const std::string &density_attr_name="v:density") const
Perform Poisson surface reconstruction.
Definition point_cloud_poisson_reconstruction.cpp:193
void set_gs_iter(int v)
Set the number of Gauss-Seidel iterations.
Definition point_cloud_poisson_reconstruction.h:129
A halfedge data structure for polygonal meshes of 2-manifold.
Definition surface_mesh.h:51
Definition collider.cpp:182