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