ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams Struct Reference

Cloud-to-mes distances computation parameters. More...

#include <DistanceComputationTools.h>

Collaboration diagram for cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams:

Public Member Functions

 Cloud2MeshDistancesComputationParams ()
 Default constructor. More...
 

Public Attributes

unsigned char octreeLevel
 
ScalarType maxSearchDist
 Max search distance (acceleration) More...
 
bool useDistanceMap
 Use distance map (acceleration) More...
 
bool signedDistances
 Whether to compute signed distances or not. More...
 
bool flipNormals
 
bool multiThread
 
int maxThreadCount
 Maximum number of threads to use (0 = max) More...
 
PointCloudCPSet
 Cloud to store the Closest Point Set. More...
 

Detailed Description

Cloud-to-mes distances computation parameters.

Definition at line 155 of file DistanceComputationTools.h.

Constructor & Destructor Documentation

◆ Cloud2MeshDistancesComputationParams()

cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::Cloud2MeshDistancesComputationParams ( )
inline

Default constructor.

Definition at line 199 of file DistanceComputationTools.h.

Member Data Documentation

◆ CPSet

PointCloud* cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::CPSet

Cloud to store the Closest Point Set.

The cloud should be initialized but empty on input. It will have the same size as the compared cloud on output.

Warning
Not compatible with maxSearchDist > 0.

Definition at line 196 of file DistanceComputationTools.h.

Referenced by cloudViewer::ICPRegistrationTools::Register().

◆ flipNormals

bool cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::flipNormals

Whether triangle normals should be computed in the 'direct' order (true) or 'indirect' (false)

Definition at line 182 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), and ccRegistrationTools::ICP().

◆ maxSearchDist

ScalarType cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::maxSearchDist

Max search distance (acceleration)

Default value: 0. If greater than 0, then the algorithm won't compute distances over this value

Definition at line 164 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), and ccRegistrationTools::ICP().

◆ maxThreadCount

int cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::maxThreadCount

Maximum number of threads to use (0 = max)

Definition at line 189 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeDistances(), and cloudViewer::ICPRegistrationTools::Register().

◆ multiThread

bool cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::multiThread

Whether to use multi-thread or single thread mode (if maxSearchDist

0, single thread mode is forced)

Definition at line 186 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), and ccRegistrationTools::ICP().

◆ octreeLevel

unsigned char cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::octreeLevel

The level of subdivision of the octree at witch to apply the algorithm

Definition at line 158 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), ccRegistrationTools::ICP(), and cloudViewer::ICPRegistrationTools::Register().

◆ signedDistances

bool cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::signedDistances

Whether to compute signed distances or not.

If true, the computed distances will be signed (in this case, the Distance Transform can't be used and therefore useDistanceMap will be ignored)

Definition at line 178 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), and ccRegistrationTools::ICP().

◆ useDistanceMap

bool cloudViewer::DistanceComputationTools::Cloud2MeshDistancesComputationParams::useDistanceMap

Use distance map (acceleration)

If true the distances will be aproximated by a Distance Transform.

Warning
Incompatible with signed distances or Closest Point Set.

Definition at line 171 of file DistanceComputationTools.h.

Referenced by ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), and ccRegistrationTools::ICP().


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