ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qM3C2Normals Class Reference

M3C2 normals computation related tools. More...

#include <qM3C2Tools.h>

Public Types

enum  ComputationMode {
  DEFAULT_MODE = 0 , USE_CLOUD1_NORMALS = 1 , MULTI_SCALE_MODE = 2 , VERT_MODE = 3 ,
  HORIZ_MODE = 4 , USE_CORE_POINTS_NORMALS = 5
}
 Normals computation mode. More...
 

Static Public Member Functions

static bool ComputeCorePointsNormals (cloudViewer::GenericIndexedCloud *corePoints, NormsIndexesTableType *corePointsNormals, ccGenericPointCloud *sourceCloud, const std::vector< PointCoordinateType > &sortedRadii, bool &invalidNormals, int maxThreadCount=0, ccScalarField *normalScale=nullptr, cloudViewer::GenericProgressCallback *progressCb=nullptr, cloudViewer::DgmOctree *inputOctree=nullptr)
 Computes normals on core points only. More...
 
static bool UpdateNormalOrientationsWithCloud (cloudViewer::GenericIndexedCloud *normCloud, NormsIndexesTableType &normsCodes, cloudViewer::GenericIndexedCloud *orientationCloud, int maxThreadCount=0, cloudViewer::GenericProgressCallback *progressCb=nullptr)
 
static void MakeNormalsHorizontal (NormsIndexesTableType &normsCodes)
 Makes all normals horizontal. More...
 

Detailed Description

M3C2 normals computation related tools.

Definition at line 22 of file qM3C2Tools.h.

Member Enumeration Documentation

◆ ComputationMode

Normals computation mode.

Warning
Don't change the associated values! (for parameter files)
Enumerator
DEFAULT_MODE 
USE_CLOUD1_NORMALS 
MULTI_SCALE_MODE 
VERT_MODE 
HORIZ_MODE 
USE_CORE_POINTS_NORMALS 

Definition at line 27 of file qM3C2Tools.h.

Member Function Documentation

◆ ComputeCorePointsNormals()

◆ MakeNormalsHorizontal()

◆ UpdateNormalOrientationsWithCloud()


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