RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
sdf_data_generator.h
1//
2// Created by RainSure on 2023/11/8.
3//
4
5#ifndef RSMESH_SDF_DATA_GENERATOR_H
6#define RSMESH_SDF_DATA_GENERATOR_H
7
8#include "geometry/point3d.h"
9#include "types.h"
10
11namespace rsmesh {
12 namespace point_cloud {
13
15 public:
16 sdf_data_generator(const geometry::points3d& points, const geometry::vectors3d& normals,
17 double min_distance, double max_distance, double multiplication = 2.0);
18
19 [[nodiscard]] const geometry::points3d& sdf_points() const;
20 [[nodiscard]] const valuesd& sdf_values() const;
21
22 private:
23 geometry::points3d sdf_points_;
24 valuesd sdf_values_;
25 };
26
27 } // rsmesh
28} // point_cloud
29
30#endif //RSMESH_SDF_DATA_GENERATOR_H
Eigen::Matrix< double, Eigen::Dynamic, 3, Eigen::RowMajor > vectors3d
3维向量的集合
Definition point3d.h:44
vectors3d points3d
3维点的集合
Definition point3d.h:48
本系统的主命名空间,包含了common, examples, fmm, geometry, numeric, point_cloud等子命名空间