RSMesh
1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
include
interpolation
rbf_fitter.h
1
//
2
// Created by RainSure on 2024/1/31.
3
//
4
5
#ifndef RSMESH_RBF_FITTER_H
6
#define RSMESH_RBF_FITTER_H
7
8
#include "geometry/point3d.h"
9
#include "model.h"
10
#include "types.h"
11
12
namespace
rsmesh::interpolation
{
13
class
rbf_fitter
{
14
public
:
15
rbf_fitter
(
const
model
&
model
,
const
geometry::points3d
& points);
16
17
[[nodiscard]] valuesd fit(
const
valuesd& values,
double
absolute_tolerance,
int
max_iter)
const
;
18
19
private
:
20
const
model
& model_;
21
const
geometry::points3d
& points_;
22
};
23
}
24
25
#endif
//RSMESH_RBF_FITTER_H
rsmesh::interpolation::rbf_fitter
Definition
rbf_fitter.h:13
rsmesh::model
描述了一个插值模型
Definition
model.h:21
rsmesh::geometry::points3d
vectors3d points3d
3维点的集合
Definition
point3d.h:48
rsmesh::interpolation
该命名空间下主要定义了插值相关的类和函数
制作者
1.10.0