CCCoreLib 31 May 2022
CloudCompare Core algorithms
|
Cloud-to-mesh distances computation parameters. More...
#include <DistanceComputationTools.h>
Public Member Functions | |
Cloud2MeshDistancesComputationParams () | |
Default constructor. | |
Public Attributes | |
unsigned char | octreeLevel |
The level of subdivision of the octree at witch to apply the algorithm. | |
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 |
Whether triangle normals should be computed in the 'direct' order (true) or 'indirect' (false) | |
bool | multiThread |
Whether to use multi-thread or single thread mode (if maxSearchDist > 0, single thread mode is forced) | |
int | maxThreadCount |
Maximum number of threads to use (0 = max) | |
PointCloud * | CPSet |
Cloud to store the Closest Point Set. More... | |
Cloud-to-mesh distances computation parameters.
PointCloud* CCCoreLib::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.
ScalarType CCCoreLib::DistanceComputationTools::Cloud2MeshDistancesComputationParams::maxSearchDist |
Max search distance (acceleration)
Default value: 0. If greater than 0, then the algorithm won't compute distances over this value
bool CCCoreLib::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)
bool CCCoreLib::DistanceComputationTools::Cloud2MeshDistancesComputationParams::useDistanceMap |
Use distance map (acceleration)
If true the distances will be aproximated by a Distance Transform.