cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
point_utils.hpp File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <future>
#include <iterator>
#include <random>
#include <thread>
#include <vector>
#include <cpp-toolbox/cpp-toolbox_export.hpp>
#include <cpp-toolbox/logger/thread_logger.hpp>
#include <cpp-toolbox/types/minmax.hpp>
#include <cpp-toolbox/types/point.hpp>
#include <cpp-toolbox/concurrent/parallel.hpp>
#include <Eigen/Core>
Include dependency graph for point_utils.hpp:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::types
 

Functions

template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::generate_random_points (const std::size_t &num_points, const minmax_t< point_t< T > > &minmax) -> std::vector< point_t< T > >
 在给定边界内顺序生成随机点 / Generates random points within given bounds sequentially
 
template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::generate_random_points_parallel (const std::size_t &num_points, const minmax_t< point_t< T > > &minmax) -> std::vector< point_t< T > >
 在给定边界内并行生成随机点 / Generates random points within given bounds in parallel
 
template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::transform_point_cloud (const point_cloud_t< T > &cloud, const Eigen::Matrix< T, 4, 4 > &transform) -> point_cloud_t< T >
 对点云应用变换矩阵(顺序版本)/ Apply transformation matrix to point cloud (sequential version)
 
template<typename T >
CPP_TOOLBOX_EXPORT auto toolbox::types::transform_point_cloud_parallel (const point_cloud_t< T > &cloud, const Eigen::Matrix< T, 4, 4 > &transform) -> point_cloud_t< T >
 对点云应用变换矩阵(并行版本)/ Apply transformation matrix to point cloud (parallel version)
 
template<typename T >
CPP_TOOLBOX_EXPORT void toolbox::types::transform_point_cloud_inplace (point_cloud_t< T > &cloud, const Eigen::Matrix< T, 4, 4 > &transform)
 原地变换点云(顺序版本)/ Transform point cloud in-place (sequential version)
 
template<typename T >
CPP_TOOLBOX_EXPORT void toolbox::types::transform_point_cloud_inplace_parallel (point_cloud_t< T > &cloud, const Eigen::Matrix< T, 4, 4 > &transform)
 原地变换点云(并行版本)/ Transform point cloud in-place (parallel version)