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_ */
lvr2::octreeReduce
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
lvr2::Vector3f
Eigen::Vector3f Vector3f
Eigen 3D vector, single precision.
Definition: MatrixTypes.hpp:118
MatrixTypes.hpp
lvr2::splitPoints
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
lvr2
Definition: BaseBufferManipulators.hpp:39


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 Wed Mar 2 2022 00:37:25