ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PointCloud.cpp File Reference
Include dependency graph for PointCloud.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::t
 
 cloudViewer::t::geometry
 

Macros

#define ENUM_VOXELSIZE(DEVICE, REDUCTION)
 
#define ENUM_VOXELDOWNSAMPLE_REDUCTION()    ENUM_VOXELSIZE(core::Device("CPU:0"), kReductionMean)
 

Functions

void cloudViewer::t::geometry::FromLegacyPointCloud (benchmark::State &state, const core::Device &device)
 
void cloudViewer::t::geometry::ToLegacyPointCloud (benchmark::State &state, const core::Device &device)
 
void cloudViewer::t::geometry::LegacyVoxelDownSample (benchmark::State &state, float voxel_size)
 
void cloudViewer::t::geometry::VoxelDownSample (benchmark::State &state, const core::Device &device, float voxel_size, const std::string &reduction)
 
void cloudViewer::t::geometry::LegacyUniformDownSample (benchmark::State &state, size_t k)
 
void cloudViewer::t::geometry::UniformDownSample (benchmark::State &state, const core::Device &device, size_t k)
 
void cloudViewer::t::geometry::LegacyTransform (benchmark::State &state, const int no_use)
 
void cloudViewer::t::geometry::Transform (benchmark::State &state, const core::Device &device)
 
void cloudViewer::t::geometry::SelectByIndex (benchmark::State &state, bool remove_duplicates, const core::Device &device)
 
void cloudViewer::t::geometry::LegacySelectByIndex (benchmark::State &state, const int no_use)
 
void cloudViewer::t::geometry::EstimateNormals (benchmark::State &state, const core::Device &device, const core::Dtype &dtype, const double voxel_size, const utility::optional< int > max_nn, const utility::optional< double > radius)
 
void cloudViewer::t::geometry::LegacyEstimateNormals (benchmark::State &state, const double voxel_size, const cloudViewer::geometry::KDTreeSearchParam &search_param)
 
void cloudViewer::t::geometry::RemoveRadiusOutliers (benchmark::State &state, const core::Device &device, const int nb_points, const double search_radius)
 
void cloudViewer::t::geometry::RemoveStatisticalOutliers (benchmark::State &state, const core::Device &device, const int nb_neighbors)
 
void cloudViewer::t::geometry::ComputeBoundaryPoints (benchmark::State &state, const core::Device &device, const core::Dtype &dtype, const int max_nn, const double radius)
 
void cloudViewer::t::geometry::LegacyRemoveStatisticalOutliers (benchmark::State &state, const int nb_neighbors)
 
void cloudViewer::t::geometry::LegacyRemoveRadiusOutliers (benchmark::State &state, const int nb_points, const double search_radius)
 
void cloudViewer::t::geometry::CropByAxisAlignedBox (benchmark::State &state, const core::Device &device)
 
void cloudViewer::t::geometry::CropByOrientedBox (benchmark::State &state, const core::Device &device)
 
void cloudViewer::t::geometry::LegacyCropByAxisAlignedBox (benchmark::State &state, const int no_use)
 
void cloudViewer::t::geometry::LegacyCropByOrientedBox (benchmark::State &state, const int no_use)
 
 cloudViewer::t::geometry::Unit (benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_01, core::Device("CPU:0"), 0.01, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_02, core::Device("CPU:0"), 0.08, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_04, core::Device("CPU:0"), 0.04, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_08, core::Device("CPU:0"), 0.08, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_16, core::Device("CPU:0"), 0.16, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (VoxelDownSample, kReductionMean_0_32, core::Device("CPU:0"), 0.32, kReductionMean) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (SelectByIndex, CPU(remove duplicates), true, core::Device("CPU:0")) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F32 Hybrid[0.02|30|0.06], core::Device("CPU:0"), core::Float32, 0.02, 30, 0.06) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F64 Hybrid[0.02|30|0.06], core::Device("CPU:0"), core::Float64, 0.02, 30, 0.06) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F32 KNN[0.02|30], core::Device("CPU:0"), core::Float32, 0.02, 30, utility::nullopt) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F64 KNN[0.02|30], core::Device("CPU:0"), core::Float64, 0.02, 30, utility::nullopt) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F32 Radius[0.02|0.06], core::Device("CPU:0"), core::Float32, 0.02, utility::nullopt, 0.06) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (EstimateNormals, CPU F64 Radius[0.02|0.06], core::Device("CPU:0"), core::Float64, 0.02, utility::nullopt, 0.06) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (LegacyTransform, CPU, 1) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (LegacySelectByIndex, CPU, 1) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (LegacyEstimateNormals, Legacy Hybrid[0.02|30|0.06], 0.02, cloudViewer::geometry::KDTreeSearchParamHybrid(0.06, 30)) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (LegacyEstimateNormals, Legacy KNN[0.02|30], 0.02, cloudViewer::geometry::KDTreeSearchParamKNN(30)) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (LegacyEstimateNormals, Legacy Radius[0.02|0.06], 0.02, cloudViewer::geometry::KDTreeSearchParamRadius(0.06)) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (RemoveRadiusOutliers, CPU[50|0.05], core::Device("CPU:0"), 50, 0.03) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (ComputeBoundaryPoints, CPU Float32, core::Device("CPU:0"), core::Float32, 30, 0.02) -> Unit(benchmark::kMillisecond)
 
 cloudViewer::t::geometry::BENCHMARK_CAPTURE (ComputeBoundaryPoints, CPU Float64, core::Device("CPU:0"), core::Float64, 30, 0.02) -> Unit(benchmark::kMillisecond)
 

Variables

data::PLYPointCloud cloudViewer::t::geometry::pointcloud_ply
 
static const std::string cloudViewer::t::geometry::path = pointcloud_ply.GetPath()
 
const std::string cloudViewer::t::geometry::kReductionMean = "mean"
 

Macro Definition Documentation

◆ ENUM_VOXELDOWNSAMPLE_REDUCTION

#define ENUM_VOXELDOWNSAMPLE_REDUCTION ( )     ENUM_VOXELSIZE(core::Device("CPU:0"), kReductionMean)

Definition at line 414 of file PointCloud.cpp.

◆ ENUM_VOXELSIZE

#define ENUM_VOXELSIZE (   DEVICE,
  REDUCTION 
)
Value:
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_01, DEVICE, 0.01, \
REDUCTION) \
->Unit(benchmark::kMillisecond); \
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_02, DEVICE, 0.08, \
REDUCTION) \
->Unit(benchmark::kMillisecond); \
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_04, DEVICE, 0.04, \
REDUCTION) \
->Unit(benchmark::kMillisecond); \
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_08, DEVICE, 0.08, \
REDUCTION) \
->Unit(benchmark::kMillisecond); \
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_16, DEVICE, 0.16, \
REDUCTION) \
->Unit(benchmark::kMillisecond); \
BENCHMARK_CAPTURE(VoxelDownSample, REDUCTION##_0_32, DEVICE, 0.32, \
REDUCTION) \
->Unit(benchmark::kMillisecond);
BENCHMARK_CAPTURE(ComputeBoundaryPoints, CPU Float64, core::Device("CPU:0"), core::Float64, 30, 0.02) -> Unit(benchmark::kMillisecond)
void VoxelDownSample(benchmark::State &state, const core::Device &device, float voxel_size, const std::string &reduction)
Definition: PointCloud.cpp:68

Definition at line 388 of file PointCloud.cpp.