ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
downsample.hpp File Reference
#include "reusex/types.hpp"
#include <cstdint>
#include <vector>
Include dependency graph for downsample.hpp:

Go to the source code of this file.

Classes

struct  reusex::geometry::VoxelAssignment
 Per-input-point assignment to an output voxel bucket. More...

Namespaces

namespace  reusex
namespace  reusex::geometry

Functions

VoxelAssignment reusex::geometry::voxel_assignment (const Cloud &cloud, float leaf_size)
 Build a voxel assignment for cloud at the given leaf size.
CloudPtr reusex::geometry::downsample (const Cloud &cloud, const VoxelAssignment &a)
 Downsample cloud using the precomputed assignment.
CloudNPtr reusex::geometry::downsample (const CloudN &cloud, const VoxelAssignment &a)
 Downsample a parallel normals cloud using the same assignment that was built from a sibling XYZRGB cloud.