27#ifndef EASY3D_ALGO_POISSON_RECONSTRUCTION_H
28#define EASY3D_ALGO_POISSON_RECONSTRUCTION_H
70 const std::string &density_attr_name,
71 float trim_value,
float area_ratio,
bool triangulate
78 void set_cg_depth(
int v) { cgDepth_ = v; }
79 void set_scale(
float v) { scale_ = v; }
80 void set_point_weight(
float v) { pointWeight_ = v; }
81 void set_gs_iter(
int v) { gsIter_ = v; }
82 void set_verbose(
bool v) { verbose_ = v; }
108 float samples_per_node_;
110 bool triangulate_mesh_;
A data structure for point clouds.
Definition: point_cloud.h:45
Poisson surface reconstruction.
Definition: point_cloud_poisson_reconstruction.h:41
void set_full_depth(int v)
Other parameters for Poisson surface reconstruction algorithm. These parameters are usually not neede...
Definition: point_cloud_poisson_reconstruction.h:77
void set_samples_per_node(float s)
Set the minimum number of samples. This floating point value specifies the minimum number of sample p...
Definition: point_cloud_poisson_reconstruction.h:62
void set_depth(int d)
Set reconstruction depth. This integer is the maximum depth of the tree that will be used for surface...
Definition: point_cloud_poisson_reconstruction.h:53
static SurfaceMesh * trim(SurfaceMesh *mesh, const std::string &density_attr_name, float trim_value, float area_ratio, bool triangulate)
Trim the reconstructed surface model based on the density attribute.
Definition: point_cloud_poisson_reconstruction.cpp:488
SurfaceMesh * apply(const PointCloud *cloud, const std::string &density_attr_name="v:density") const
reconstruction
Definition: point_cloud_poisson_reconstruction.cpp:193
A halfedge data structure for polygonal meshes of 2-manifold.
Definition: surface_mesh.h:52
Definition: collider.cpp:182