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