Class BaseReader
Defined in File base_reader.h
Inheritance Relationships
Derived Type
public zmesh::io::ObjReader(Class ObjReader)
Class Documentation
-
class BaseReader
所有Reader的基类
Subclassed by zmesh::io::ObjReader
Public Functions
-
virtual bool read(Mesh &mesh, const std::filesystem::path &file, const io_options &options) = 0
根据io选项, 从文件读入网格
- 参数
输出网格 -- [out]
输入文件 -- [in]
io选项 -- [in]
-
virtual std::string extension() const = 0
返回文件拓展名
-
virtual bool read(Mesh &mesh, const std::filesystem::path &file, const io_options &options) = 0