28class TileSphereHashTable;
43 void setPointSets(
const std::vector<ml::Vector3>& pointCloud1,
const std::vector<ml::Vector3>& pointCloud2);
85 size_t _size1, _size2;
87 unsigned int _sphereIndex;
103 int _entries, _partition;
106 TileSphere* generateTree(
float* pointSet,
size_t size);
109 void getBB(
float* pointSet,
size_t size,
float& minX,
float& maxX,
float& minY,
float& maxY,
float& minZ,
float& maxZ);
#define MLPOINTCLOUDUTILS_EXPORT
void setParams(int entries, int partition)
Sets fix values for both objects for _entries and _partition.
void computeDistance(ml::Vector3 &point1, ml::Vector3 &point2)
void computeDistance(float *&point1, float *&point2)
void setFirstPointSet(const std::vector< ml::Vector3 > &pointCloud)
void setNumEntries(int entries)
void setPointSets(const std::vector< ml::Vector3 > &pointCloud1, const std::vector< ml::Vector3 > &pointCloud2)
This method passes the two point clouds in the form of two standard vectors.
void setError(float error)
Describes the maintainable error. 0 = 0% and 1 = 100%. The default value is 0.
MinimalDistancePointClouds()
Constructor.
void setFirstSinglePoint(const ml::Vector3 &point)
int getUniqueIndex()
Returns a unique index for each tile sphere.
TileSphereHashTable * getHashTable()
Returns a pointer to the hash table.
virtual ~MinimalDistancePointClouds()
Destructor.
void verbose(bool onOff)
Dumps the console with additional debugging info.
Tvec3< MLdouble > Vector3
A vector with three components of type double.