Easy3D 2.5.3
PointCloudNormals Class Reference

Estimate point cloud normals. It also allows to reorients the point cloud normals based on a minimum spanning tree algorithm. More...

#include <easy3d/algo/point_cloud_normals.h>

Static Public Member Functions

static bool estimate (PointCloud *cloud, unsigned int k=16, bool compute_curvature=false)
 Estimates the point cloud normals using PCA. More...
 
static bool reorient (PointCloud *cloud, unsigned int k=16)
 Reorients the point cloud normals. This method implements the normal reorientation method described in Hoppe et al. Surface reconstruction from unorganized points. SIGGRAPH 1992. More...
 

Detailed Description

Estimate point cloud normals. It also allows to reorients the point cloud normals based on a minimum spanning tree algorithm.

Member Function Documentation

◆ estimate()

bool estimate ( PointCloud cloud,
unsigned int  k = 16,
bool  compute_curvature = false 
)
static

Estimates the point cloud normals using PCA.

Parameters
cloudThe input point cloud.
kthe number of neighboring points to construct the covariance matrix.
compute_curvaturealso computes the curvature?

◆ reorient()

bool reorient ( PointCloud cloud,
unsigned int  k = 16 
)
static

Reorients the point cloud normals. This method implements the normal reorientation method described in Hoppe et al. Surface reconstruction from unorganized points. SIGGRAPH 1992.

Parameters
cloudThe input point cloud.
kthe number of neighboring points to construct the graph.

The documentation for this class was generated from the following files: