Lagrange
ReconstructionOptions Struct Reference

Option struct for Poisson surface reconstruction. More...

#include <lagrange/poisson/mesh_from_oriented_points.h>

Inherits CommonOptions.

Public Attributes

std::string_view input_normals
 Input normal attribute name. If empty, uses the first attribute with usage Normal.
 
float interpolation_weight = 2.f
 Point interpolation weight (lambda)
 
bool use_normal_length_as_confidence = false
 Use normal length as confidence.
 
bool use_dirichlet_boundary = false
 Use dirichlet boundary conditions.
 
std::string_view interpolated_attribute_name
 Attribute name of data to be interpolated at the vertices.
 
std::string_view output_vertex_depth_attribute_name
 Output density attribute name. More...
 
- Public Attributes inherited from CommonOptions
unsigned int octree_depth = 0
 Maximum octree depth. (If the value is zero then the minimum of 8 and log base 4 of the point count is used.)
 
float samples_per_node = 1.5f
 Numer of samples per node.
 
bool verbose = false
 Output logging information (directly printed to std::cout)
 

Detailed Description

Option struct for Poisson surface reconstruction.

Member Data Documentation

◆ output_vertex_depth_attribute_name

std::string_view output_vertex_depth_attribute_name

Output density attribute name.

We use a point's target octree depth as a measure of the sampling density. A lower number means a low sampling density, and can be used to prune low-confidence regions as a post-process.


The documentation for this struct was generated from the following file: