TreeUtils.hpp
Go to the documentation of this file.
1 
34 #ifndef TREEUTILS_HPP_
35 #define TREEUTILS_HPP_
36 
38 
39 namespace lvr2
40 {
41 
55 int splitPoints(Vector3f* points, int n, int axis, double splitValue);
56 
67 int octreeReduce(Vector3f* points, int n, double voxelSize, int maxLeafSize);
68 
69 } /* namespace lvr2 */
70 
71 #endif /* TREEUTILS_HPP_ */
int splitPoints(Vector3f *points, int n, int axis, double splitValue)
Sorts a Point array so that all Points smaller than splitValue are on the left.
Definition: TreeUtils.cpp:47
int octreeReduce(Vector3f *points, int n, double voxelSize, int maxLeafSize)
Reduces a Point Cloud using an Octree with a minimum Voxel size.
Definition: TreeUtils.cpp:130
Eigen::Vector3f Vector3f
Eigen 3D vector, single precision.


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:09