RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
载入中...
搜索中...
未找到
linear_operator.h
1//
2// Created by RainSure on 2024/2/13.
3//
4
5#ifndef RSMESH_LINEAR_OPERATOR_H
6#define RSMESH_LINEAR_OPERATOR_H
7
8#include "types.h"
9
10namespace rsmesh::krylov {
12 public:
13 virtual ~linear_operator() = default;
14 linear_operator(const linear_operator&) = delete;
16 linear_operator& operator=(const linear_operator&) = delete;
17 linear_operator& operator=(linear_operator&&) = delete;
18
19 virtual valuesd operator()(const valuesd& x) const = 0;
20
21 virtual index_t size() const = 0;
22 protected:
23 linear_operator() = default;
24 };
25}
26
27#endif //RSMESH_LINEAR_OPERATOR_H