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