RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
domain.h
1//
2// Created by RainSure on 2024/2/18.
3//
4
5#ifndef RSMESH_DOMAIN_H
6#define RSMESH_DOMAIN_H
7
8#include "geometry/bbox3d.h"
9#include "types.h"
10#include <vector>
11
12namespace rsmesh::preconditioner {
13 class domain_divider;
14 class domain {
15 public:
16 std::vector<index_t> point_indices;
17 std::vector<index_t> grad_point_indices;
18 std::vector<bool> inner_point;
19 std::vector<bool> inner_grad_point;
20
21 index_t size() const;
22 index_t grad_size() const;
23 index_t mixed_size() const;
24
25 private:
26 friend class domain_divider;
27
28 void merge_poly_points(const std::vector<index_t>& poly_point_idcs);
29
30 geometry::bbox3d bbox_;
31 };
32} // namespace rsmesh::preconditioner
33
34#endif //RSMESH_DOMAIN_H
该命名空间下主要定义了关于krylov子空间方法的预处理相关的类和函数