RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
rbf_field_function.h
1//
2// Created by RainSure on 2024/2/23.
3//
4
5#ifndef RSMESH_RBF_FIELD_FUNCTION_H
6#define RSMESH_RBF_FIELD_FUNCTION_H
7
8#include "isosurface/field_function.h"
9#include "interpolant.h"
10
11namespace rsmesh::isosurface {
13 public:
14 explicit rbf_field_function(interpolant& interpolant) : interpolant_(interpolant) {}
15
16 valuesd operator()(const geometry::points3d& points) const override {
17 return interpolant_.evaluate_impl(points);
18 }
19
20 void set_evaluation_bbox(const geometry::bbox3d& bbox) override {
21 interpolant_.set_evaluation_bbox_impl(bbox);
22 }
23
24 private:
25 interpolant& interpolant_;
26 };
27
28}
29
30#endif //RSMESH_RBF_FIELD_FUNCTION_H
vectors3d points3d
3维点的集合
Definition point3d.h:48
该命名空间下主要定义了等值面提取相关的类和函数